aclrtCreateGroupInfo

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

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.

This API cannot be called in the Ascend EP of Atlas inference products.

Prototype

aclrtGroupInfo *aclrtCreateGroupInfo()

Parameters

None

Returns

Pointer to data of the aclrtGroupInfo type. If there is no group or groups are not supported, nullptr is returned.