aclrtCreateGroupInfo

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

The Atlas Training Series Product does not support this API.

Description

Creates contiguous memory blocks of the aclrtGroupInfo type based on the number of supported groups and returns the corresponding pointer.

For details about how to destroy data of type aclrtGroupInfo, see aclrtDestroyGroupInfo.

Prototype

aclrtGroupInfo *aclrtCreateGroupInfo()

Parameters

None

Returns

Pointer to data of the aclrtGroupInfo type. If there is no compute-capable group, nullptr is returned.