aclrtCreateGroupInfo

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

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

Prototype

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