aclrtGetAllGroupInfo

Description

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

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 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

0 on success; else, failure.