aclrtGetGroupCount

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

The Atlas Training Series Product does not support this API.

Description

Queries the number of compute-capable groups in the current context.

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

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