aclrtCreateGroupInfo

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

☓

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

☓

Function

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 form of Atlas inference products.

Prototype

1
aclrtGroupInfo *aclrtCreateGroupInfo()

Parameters

None

Returns

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