aclrtDevAttr

Data Formats

Description

ACL_DEV_ATTR_AICPU_CORE_NUM = 1

Number of AI CPUs.

ACL_DEV_ATTR_AICORE_CORE_NUM = 101

Number of AI Cores.

ACL_DEV_ATTR_VECTOR_CORE_NUM = 201

Number of vector cores.

ACL_DEV_ATTR_WARP_SIZE = 202

Number of threads in a warp. In the Single Instruction Multiple Thread (SIMT) programming model, a warp is a set of threads that execute the same instruction.

Only Atlas 350 Accelerator Card supports this type. Other models do not support this type.

ACL_DEV_ATTR_MAX_THREAD_PER_VECTOR_CORE = 203

Maximum number of threads that can reside on each Vector Core at the same time.

Only Atlas 350 Accelerator Card supports this type. Other models do not support this type.

ACL_DEV_ATTR_LOCAL_MEM_PER_VECTOR_CORE = 204

Maximum local memory that can be used on each Vector Core, in bytes.

Only Atlas 350 Accelerator Card supports this type. Other models do not support this type.

ACL_DEV_ATTR_TOTAL_GLOBAL_MEM_SIZE = 301

Total available memory on the device, in bytes.

ACL_DEV_ATTR_L2_CACHE_SIZE = 302

L2 cache size, in bytes.

ACL_DEV_ATTR_SMP_ID = 401

Symmetric multiprocessing (SMP) ID, which is used to identify whether devices run on the same operating system.

ACL_DEV_ATTR_PHY_CHIP_ID = 402

Physical chip ID.

ACL_DEV_ATTR_SUPER_POD_DEVICE_ID = 403

SuperPOD device ID, which indicates the device ID in the supernode product.

ACL_DEV_ATTR_SUPER_POD_SERVER_ID = 404

SuperPOD server ID, which indicates the server ID in the supernode product.

ACL_DEV_ATTR_SUPER_POD_ID = 405

SuperPOD ID, which indicates the supernode ID in the cluster.

ACL_DEV_ATTR_CUST_OP_PRIVILEGE = 406

Whether the custom operator can execute more system call permissions.

The options are as follows:

  • 0: The custom operator has limited system call permissions (for example, the Write operation cannot be performed).
  • 1: The custom operator can execute more system call permissions.

The Atlas 350 Accelerator Card does not support this option.

ACL_DEV_ATTR_MAINBOARD_ID = 407

Mainboard ID.

ACL_DEV_ATTR_IS_VIRTUAL = 501

Whether the is used.

  • 0: A physical machine, instead of the , is used.
  • 1: The is used, which may be a VM or container.