aclrtSetGroup
The
The
Description
Sets the compute group. This API must be called after the context is specified.
Prototype
aclError aclrtSetGroup(int32_t groupId)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
groupId |
Input |
Compute group ID. Call aclrtGetGroupInfoDetail to obtain the group ID in advance. |
Returns
The value 0 indicates success, and other values indicate failure. For details, see aclError.
Parent topic: Group Management