aclrtLaunchKernelAttrId/aclrtLaunchKernelAttrValue
Data Format |
Description |
|---|---|
ACL_RT_LAUNCH_KERNEL_ATTR_SCHEM_MODE = 1 |
Scheduling mode. The options are as follows:
|
ACL_RT_LAUNCH_KERNEL_ATTR_DYN_UBUF_SIZE = 2 |
Size of the dynamic Unified Buffer (UB) required for executing the Single Instruction Multiple Threads (SIMT) operator, in bytes. For pure SIMD operators, this parameter can only be set to 0. Only the |
ACL_RT_LAUNCH_KERNEL_ATTR_ENGINE_TYPE = 3 |
Operator execution engine. For details about the values, see aclrtEngineType. Only the This option does not take effect for the following products:
|
ACL_RT_LAUNCH_KERNEL_ATTR_BLOCKDIM_OFFSET |
numBlocks offset.
Only the This parameter is not supported by the following products:
|
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. The options are as follows:
|
ACL_RT_LAUNCH_KERNEL_ATTR_DATA_DUMP |
Whether to enable dump. The options are as follows:
|
ACL_RT_LAUNCH_KERNEL_ATTR_TIMEOUT |
Timeout interval for the task scheduler to wait for task execution. This parameter applies only to the scenario where the AI CPU or AI Core operator is executed. The options are as follows:
|