aclrtSetGroup

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

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.