aclrtLaunchKernelAttrId

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
typedef enum aclrtLaunchKernelAttrId {
    ACL_RT_LAUNCH_KERNEL_ATTR_SCHEM_MODE = 1,        // Scheduling mode
    ACL_RT_LAUNCH_KERNEL_ATTR_DYN_UBUF_SIZE = 2, // Size of the dynamic UB required for executing the SIMT operator
    ACL_RT_LAUNCH_KERNEL_ATTR_ENGINE_TYPE = 3,       // Operator execution engine
    ACL_RT_LAUNCH_KERNEL_ATTR_BLOCKDIM_OFFSET,       // numBlocks offset
    ACL_RT_LAUNCH_KERNEL_ATTR_BLOCK_TASK_PREFETCH,   // Whether to block hardware from prefetching the information of the current task when the task is delivered
    ACL_RT_LAUNCH_KERNEL_ATTR_DATA_DUMP,             // Whether to enable dump
    ACL_RT_LAUNCH_KERNEL_ATTR_TIMEOUT,               // Timeout interval for the task scheduler to wait for task execution, in seconds
    ACL_RT_LAUNCH_KERNEL_ATTR_TIMEOUT_US = 8,        // Timeout interval for the task scheduler to wait for task execution, in microseconds
} aclrtLaunchKernelAttrId;