aclrtGetAllGroupInfo

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

The Atlas Training Series Product does not support this API.

Description

Obtains the compute capability details about all compute-capable groups in the current context.

Prototype

aclError aclrtGetAllGroupInfo(aclrtGroupInfo *groupInfo)

Parameters

Parameter

Input/Output

Description

groupInfo

Output

Pointer to the compute capability details about all compute-capable groups.

Call aclrtCreateGroupInfo to create data of the aclrtGroupInfo type in advance.

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.