---
title: aclrtAllocatorCreateDesc
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/runtimeapi/aclcppdevg_03_1666.html
sourcePath: /source/zh/canncommercial/900/API/runtimeapi/aclcppdevg_03_1666.html
indexId: ecb134536ae86100117273eee20ccd79f376fa1045b050cc851b06ca6347fd7c68
---
# aclrtAllocatorCreateDesc

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas 350 加速卡 | √ |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | √ |
| Atlas 200I/500 A2 推理产品 | √ |
| Atlas 推理系列产品 | √ |
| Atlas 训练系列产品 | √ |


#### 功能说明

创建aclrtAllocatorDesc类型的数据，表示Allocator描述信息，主要用于注册回调函数。


#### 函数原型

```
aclrtAllocatorDesc aclrtAllocatorCreateDesc()
```


#### 返回值说明

- 返回aclrtAllocatorDesc类型的指针，表示成功。
- 返回NULL，表示失败。
