aclrtLaunchKernelAttrId/aclrtLaunchKernelAttrValue
Data Format |
Description |
|---|---|
ACL_RT_LAUNCH_KERNEL_ATTR_SCHEM_MODE = 1 |
Scheduling mode. The values are as follows:
|
localMemorySize |
Size of the internal UB buffer of the Vector Core required for executing the Single Instruction Multiple Thread (SIMT) operator, in bytes. Currently, this parameter is not supported. |
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 |
Block dimension offset.
Only the This option does not take effect for 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 values are as follows:
|
ACL_RT_LAUNCH_KERNEL_ATTR_DATA_DUMP |
Whether to enable dump. The values 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 values are as follows:
|