aclrtSetGroup

Description

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.

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

0 on success; else, failure.