aclmdlRITaskParams
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | typedef struct aclmdlRITaskParams { aclmdlRITaskType type; uint32_t rsv0[3]; aclrtTaskGrp taskGrp; void* opInfoPtr; size_t opInfoSize; uint8_t rsv1[32]; union { uint8_t rsv2[128]; struct aclmdlRIKernelTaskParams kernelTaskParams; struct aclmdlRIEventRecordTaskParams eventRecordTaskParams; struct aclmdlRIEventWaitTaskParams eventWaitTaskParams; struct aclmdlRIEventResetTaskParams eventResetTaskParams; struct aclmdlRIValueWriteTaskParams valueWriteTaskParams; struct aclmdlRIValueWaitTaskParams valueWaitTaskParams; }; } aclmdlRITaskParams; |
Member |
Description |
|---|---|
type |
Task type. For details about the type definition, see aclmdlRITaskType. |
rsv0 |
Reserved. |
taskGrp |
Handle to a task group. For details about the type definition, see aclrtTaskGrp. This parameter is used as the output of the query API, so you do not need to pay attention to it when setting the API. |
opInfoPtr |
Pointer to the operator shape information. |
rsv1 |
Reserved. |
rsv2 |
Reserved. |
kernelTaskParams |
Operator task parameters. For details about the type definition, see aclmdlRIKernelTaskParams. |
eventRecordTaskParams |
Parameters of the event record task (usually corresponding to the task delivered by aclrtRecordEvent). For details about the type definition, see aclmdlRIEventRecordTaskParams. This parameter is used as the output of the query API, so you do not need to pay attention to it when setting the API. |
eventWaitTaskParams |
Parameters of the event wait task (usually corresponding to the task delivered by aclrtStreamWaitEvent or aclrtStreamWaitEventWithTimeout). For details about the type definition, see aclmdlRIEventWaitTaskParams. This parameter is used as the output of the query API, so you do not need to pay attention to it when setting the API. |
eventResetTaskParams |
Parameters of the event reset task (usually corresponding to the task delivered by aclrtResetEvent). For details about the type definition, see aclmdlRIEventResetTaskParams. This parameter is used as the output of the query API, so you do not need to pay attention to it when setting the API. |
valueWriteTaskParams |
Parameters of the value write task (usually corresponding to the task delivered by aclrtValueWrite). For details about the type definition, see aclmdlRIValueWriteTaskParams. |
valueWaitTaskParams |
Parameters of the value wait task (usually corresponding to the task delivered by aclrtValueWait). For details about the type definition, see aclmdlRIValueWaitTaskParams. |