Sets the compute group. This API must be called after the context is specified.
The Ascend 310 AI Processor does not support this API in the current version.
The Ascend 910 AI Processor does not support this API in the current version.
The Ascend 310P AI Processor does not support this API in the current version.
aclError aclrtSetGroup(int32_t groupId)
Parameter |
Input/Output |
Description |
|---|---|---|
groupId |
Input |
Compute group ID. Call aclrtGetGroupInfoDetail to obtain the group ID in advance. |
0 on success; else, failure.