aclrtGetGroupCount

Description

Queries the number of 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 aclrtGetGroupCount(uint32_t *count)

Parameters

Parameter

Input/Output

Description

count

Output

Pointer to the number of available groups in the current context.

Returns

0 on success; else, failure.