已合并
docs(api-ref): normalize heading levels and fix markdown links #1606
shi-qiong创建于 4月15日
docs(api-ref): normalize heading levels and fix markdown links #1606
已合并
共 40 个文件变更+684-670
| @@ -63,47 +63,47 @@ CANN支持以下几类显式同步,调用此类接口后,主机线程会阻 | |||
| 63 | ## 废弃接口&返回码列表 | 63 | ## 废弃接口&返回码列表 |
| 64 | ### 接口 | 64 | ### 接口 |
| 65 | 65 | ||
| 66 | -- [aclGetDataBufferSize](aclGetDataBufferSize(废弃).md)接口 | 66 | +- [aclGetDataBufferSize](25_数据类型及其操作接口.md#aclGetDataBufferSize(废弃))接口 |
| 67 | 67 | ||
| 68 | 此接口后续版本会废弃,请使用[aclGetDataBufferSizeV2](25_数据类型及其操作接口.md#aclGetDataBufferSizeV2)接口。 | 68 | 此接口后续版本会废弃,请使用[aclGetDataBufferSizeV2](25_数据类型及其操作接口.md#aclGetDataBufferSizeV2)接口。 |
| 69 | 69 | ||
| 70 | -- [aclrtQueryEvent](aclrtQueryEvent(废弃).md)接口 | 70 | +- [aclrtQueryEvent](07_Event管理.md#aclrtQueryEvent(废弃))接口 |
| 71 | 71 | ||
| 72 | 此接口后续版本会废弃,请使用[aclrtQueryEventStatus](07_Event管理.md#aclrtQueryEventStatus)接口。 | 72 | 此接口后续版本会废弃,请使用[aclrtQueryEventStatus](07_Event管理.md#aclrtQueryEventStatus)接口。 |
| 73 | 73 | ||
| 74 | ### 返回码 | 74 | ### 返回码 |
| 75 | 75 | ||
| 76 | -- [ACL\_ERROR\_NONE](aclError.md#table1323834101720)返回码 | 76 | +- [ACL\_ERROR\_NONE](25_数据类型及其操作接口.md#aclError)返回码 |
| 77 | 77 | ||
| 78 | - 此返回码后续版本会废弃,请使用[ACL\_SUCCESS](aclError.md#table1323834101720)返回码。 | 78 | + 此返回码后续版本会废弃,请使用[ACL\_SUCCESS](25_数据类型及其操作接口.md#aclError)返回码。 |
| 79 | 79 | ||
| 80 | -- [ACL\_ERROR\_NOT\_STATIC\_AIPP](aclError.md#table1323834101720) | 80 | +- [ACL\_ERROR\_NOT\_STATIC\_AIPP](25_数据类型及其操作接口.md#aclError) |
| 81 | 81 | ||
| 82 | - 此返回码后续版本会废弃,请使用[ACL\_ERROR\_GE\_AIPP\_NOT\_EXIST](aclError.md#table153902340461)返回码。 | 82 | + 此返回码后续版本会废弃,请使用[ACL\_ERROR\_GE\_AIPP\_NOT\_EXIST](25_数据类型及其操作接口.md#aclError)返回码。 |
| 83 | 83 | ||
| 84 | -- [ACL\_ERROR\_STREAM\_NOT\_SUBSCRIBE](aclError.md#table1323834101720) | 84 | +- [ACL\_ERROR\_STREAM\_NOT\_SUBSCRIBE](25_数据类型及其操作接口.md#aclError) |
| 85 | 85 | ||
| 86 | - 此返回码后续版本会废弃,请使用[ACL\_ERROR\_RT\_STREAM\_NO\_CB\_REG](aclError.md#table1089051917356)返回码。 | 86 | + 此返回码后续版本会废弃,请使用[ACL\_ERROR\_RT\_STREAM\_NO\_CB\_REG](25_数据类型及其操作接口.md#aclError)返回码。 |
| 87 | 87 | ||
| 88 | -- [ACL\_ERROR\_THREAD\_NOT\_SUBSCRIBE](aclError.md#table1323834101720) | 88 | +- [ACL\_ERROR\_THREAD\_NOT\_SUBSCRIBE](25_数据类型及其操作接口.md#aclError) |
| 89 | 89 | ||
| 90 | - 此返回码后续版本会废弃,请使用[ACL\_ERROR\_RT\_THREAD\_SUBSCRIBE](aclError.md#table1089051917356)返回码。 | 90 | + 此返回码后续版本会废弃,请使用[ACL\_ERROR\_RT\_THREAD\_SUBSCRIBE](25_数据类型及其操作接口.md#aclError)返回码。 |
| 91 | 91 | ||
| 92 | -- [ACL\_ERROR\_WAIT\_CALLBACK\_TIMEOUT](aclError.md#table1323834101720) | 92 | +- [ACL\_ERROR\_WAIT\_CALLBACK\_TIMEOUT](25_数据类型及其操作接口.md#aclError) |
| 93 | 93 | ||
| 94 | - 此返回码后续版本会废弃,请使用[ACL\_ERROR\_RT\_REPORT\_TIMEOUT](aclError.md#table1089051917356)返回码。 | 94 | + 此返回码后续版本会废弃,请使用[ACL\_ERROR\_RT\_REPORT\_TIMEOUT](25_数据类型及其操作接口.md#aclError)返回码。 |
| 95 | 95 | ||
| 96 | -- [ACL\_ERROR\_INVALID\_DEVICE](aclError.md#table1323834101720) | 96 | +- [ACL\_ERROR\_INVALID\_DEVICE](25_数据类型及其操作接口.md#aclError) |
| 97 | 97 | ||
| 98 | - 此返回码后续版本会废弃,请使用[ACL\_ERROR\_RT\_INVALID\_DEVICEID](aclError.md#table1089051917356)返回码。 | 98 | + 此返回码后续版本会废弃,请使用[ACL\_ERROR\_RT\_INVALID\_DEVICEID](25_数据类型及其操作接口.md#aclError)返回码。 |
| 99 | 99 | ||
| 100 | -- [ACL\_ERROR\_GROUP\_NOT\_SET](aclError.md#table1323834101720) | 100 | +- [ACL\_ERROR\_GROUP\_NOT\_SET](25_数据类型及其操作接口.md#aclError) |
| 101 | 101 | ||
| 102 | - 此返回码后续版本会废弃,请使用[ACL\_ERROR\_RT\_GROUP\_NOT\_SET](aclError.md#table1089051917356)返回码。 | 102 | + 此返回码后续版本会废弃,请使用[ACL\_ERROR\_RT\_GROUP\_NOT\_SET](25_数据类型及其操作接口.md#aclError)返回码。 |
| 103 | 103 | ||
| 104 | -- [ACL\_ERROR\_GROUP\_NOT\_CREATE](aclError.md#table1323834101720) | 104 | +- [ACL\_ERROR\_GROUP\_NOT\_CREATE](25_数据类型及其操作接口.md#aclError) |
| 105 | 105 | ||
| 106 | - 此返回码后续版本会废弃,请使用[ACL\_ERROR\_RT\_GROUP\_NOT\_CREATE](aclError.md#table1089051917356)返回码。 | 106 | + 此返回码后续版本会废弃,请使用[ACL\_ERROR\_RT\_GROUP\_NOT\_CREATE](25_数据类型及其操作接口.md#aclError)返回码。 |
| 107 | 107 | ||
| 108 | --- | 108 | --- |
| 109 | 109 | ||
| @@ -13,7 +13,7 @@ | |||
| 13 | 13 | ||
| 14 | <a id="aclInit"></a> | 14 | <a id="aclInit"></a> |
| 15 | 15 | ||
| 16 | -# aclInit | 16 | +## aclInit |
| 17 | 17 | ||
| 18 | ```c | 18 | ```c |
| 19 | aclError aclInit(const char *configPath) | 19 | aclError aclInit(const char *configPath) |
| @@ -482,7 +482,7 @@ event\_mode参数取值范围:0为默认值,表示内存模式,即Event资 | |||
| 482 | 482 | ||
| 483 | <a id="aclFinalize"></a> | 483 | <a id="aclFinalize"></a> |
| 484 | 484 | ||
| 485 | -# aclFinalize | 485 | +## aclFinalize |
| 486 | 486 | ||
| 487 | ```c | 487 | ```c |
| 488 | aclError aclFinalize() | 488 | aclError aclFinalize() |
| @@ -526,7 +526,7 @@ aclError aclFinalize() | |||
| 526 | 526 | ||
| 527 | <a id="aclFinalizeReference"></a> | 527 | <a id="aclFinalizeReference"></a> |
| 528 | 528 | ||
| 529 | -# aclFinalizeReference | 529 | +## aclFinalizeReference |
| 530 | 530 | ||
| 531 | ```c | 531 | ```c |
| 532 | aclError aclFinalizeReference(uint64_t *refCount) | 532 | aclError aclFinalizeReference(uint64_t *refCount) |
| @@ -573,7 +573,7 @@ aclFinalizeReference接口内部涉及引用计数的实现,aclInit接口每 | |||
| 573 | 573 | ||
| 574 | <a id="aclInitCallbackRegister"></a> | 574 | <a id="aclInitCallbackRegister"></a> |
| 575 | 575 | ||
| 576 | -# aclInitCallbackRegister | 576 | +## aclInitCallbackRegister |
| 577 | 577 | ||
| 578 | ```c | 578 | ```c |
| 579 | aclError aclInitCallbackRegister(aclRegisterCallbackType type, aclInitCallbackFunc cbFunc, void *userData) | 579 | aclError aclInitCallbackRegister(aclRegisterCallbackType type, aclInitCallbackFunc cbFunc, void *userData) |
| @@ -616,7 +616,7 @@ aclError aclInitCallbackRegister(aclRegisterCallbackType type, aclInitCallbackFu | |||
| 616 | 616 | ||
| 617 | <a id="aclInitCallbackUnRegister"></a> | 617 | <a id="aclInitCallbackUnRegister"></a> |
| 618 | 618 | ||
| 619 | -# aclInitCallbackUnRegister | 619 | +## aclInitCallbackUnRegister |
| 620 | 620 | ||
| 621 | ```c | 621 | ```c |
| 622 | aclError aclInitCallbackUnRegister(aclRegisterCallbackType type, aclInitCallbackFunc cbFunc) | 622 | aclError aclInitCallbackUnRegister(aclRegisterCallbackType type, aclInitCallbackFunc cbFunc) |
| @@ -656,7 +656,7 @@ aclError aclInitCallbackUnRegister(aclRegisterCallbackType type, aclInitCallback | |||
| 656 | 656 | ||
| 657 | <a id="aclFinalizeCallbackRegister"></a> | 657 | <a id="aclFinalizeCallbackRegister"></a> |
| 658 | 658 | ||
| 659 | -# aclFinalizeCallbackRegister | 659 | +## aclFinalizeCallbackRegister |
| 660 | 660 | ||
| 661 | ```c | 661 | ```c |
| 662 | aclError aclFinalizeCallbackRegister(aclRegisterCallbackType type, aclFinalizeCallbackFunc cbFunc, void *userData) | 662 | aclError aclFinalizeCallbackRegister(aclRegisterCallbackType type, aclFinalizeCallbackFunc cbFunc, void *userData) |
| @@ -699,7 +699,7 @@ aclError aclFinalizeCallbackRegister(aclRegisterCallbackType type, aclFinalizeCa | |||
| 699 | 699 | ||
| 700 | <a id="aclFinalizeCallbackUnRegister"></a> | 700 | <a id="aclFinalizeCallbackUnRegister"></a> |
| 701 | 701 | ||
| 702 | -# aclFinalizeCallbackUnRegister | 702 | +## aclFinalizeCallbackUnRegister |
| 703 | 703 | ||
| 704 | ```c | 704 | ```c |
| 705 | aclError aclFinalizeCallbackUnRegister(aclRegisterCallbackType type, aclFinalizeCallbackFunc cbFunc) | 705 | aclError aclFinalizeCallbackUnRegister(aclRegisterCallbackType type, aclFinalizeCallbackFunc cbFunc) |
| @@ -728,4 +728,4 @@ aclError aclFinalizeCallbackUnRegister(aclRegisterCallbackType type, aclFinalize | |||
| 728 | 728 | ||
| 729 | ### 返回值说明 | 729 | ### 返回值说明 |
| 730 | 730 | ||
| 731 | -返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 | 731 | +返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 |
| @@ -17,7 +17,7 @@ | |||
| 17 | 17 | ||
| 18 | <a id="aclrtSetSysParamOpt"></a> | 18 | <a id="aclrtSetSysParamOpt"></a> |
| 19 | 19 | ||
| 20 | -# aclrtSetSysParamOpt | 20 | +## aclrtSetSysParamOpt |
| 21 | 21 | ||
| 22 | ```c | 22 | ```c |
| 23 | aclError aclrtSetSysParamOpt(aclSysParamOpt opt, int64_t value) | 23 | aclError aclrtSetSysParamOpt(aclSysParamOpt opt, int64_t value) |
| @@ -59,7 +59,7 @@ aclError aclrtSetSysParamOpt(aclSysParamOpt opt, int64_t value) | |||
| 59 | 59 | ||
| 60 | <a id="aclrtGetSysParamOpt"></a> | 60 | <a id="aclrtGetSysParamOpt"></a> |
| 61 | 61 | ||
| 62 | -# aclrtGetSysParamOpt | 62 | +## aclrtGetSysParamOpt |
| 63 | 63 | ||
| 64 | ```c | 64 | ```c |
| 65 | aclError aclrtGetSysParamOpt(aclSysParamOpt opt, int64_t *value) | 65 | aclError aclrtGetSysParamOpt(aclSysParamOpt opt, int64_t *value) |
| @@ -101,7 +101,7 @@ aclError aclrtGetSysParamOpt(aclSysParamOpt opt, int64_t *value) | |||
| 101 | 101 | ||
| 102 | <a id="aclrtGetDeviceResLimit"></a> | 102 | <a id="aclrtGetDeviceResLimit"></a> |
| 103 | 103 | ||
| 104 | -# aclrtGetDeviceResLimit | 104 | +## aclrtGetDeviceResLimit |
| 105 | 105 | ||
| 106 | ```c | 106 | ```c |
| 107 | aclError aclrtGetDeviceResLimit(int32_t deviceId, aclrtDevResLimitType type, uint32_t* value) | 107 | aclError aclrtGetDeviceResLimit(int32_t deviceId, aclrtDevResLimitType type, uint32_t* value) |
| @@ -144,7 +144,7 @@ aclError aclrtGetDeviceResLimit(int32_t deviceId, aclrtDevResLimitType type, uin | |||
| 144 | 144 | ||
| 145 | <a id="aclrtSetDeviceResLimit"></a> | 145 | <a id="aclrtSetDeviceResLimit"></a> |
| 146 | 146 | ||
| 147 | -# aclrtSetDeviceResLimit | 147 | +## aclrtSetDeviceResLimit |
| 148 | 148 | ||
| 149 | ```c | 149 | ```c |
| 150 | aclError aclrtSetDeviceResLimit(int32_t deviceId, aclrtDevResLimitType type, uint32_t value) | 150 | aclError aclrtSetDeviceResLimit(int32_t deviceId, aclrtDevResLimitType type, uint32_t value) |
| @@ -195,7 +195,7 @@ Device资源限制的优先级为:Stream级别的Device资源限制 \> 进程 | |||
| 195 | 195 | ||
| 196 | <a id="aclrtResetDeviceResLimit"></a> | 196 | <a id="aclrtResetDeviceResLimit"></a> |
| 197 | 197 | ||
| 198 | -# aclrtResetDeviceResLimit | 198 | +## aclrtResetDeviceResLimit |
| 199 | 199 | ||
| 200 | ```c | 200 | ```c |
| 201 | aclError aclrtResetDeviceResLimit(int32_t deviceId) | 201 | aclError aclrtResetDeviceResLimit(int32_t deviceId) |
| @@ -234,7 +234,7 @@ aclError aclrtResetDeviceResLimit(int32_t deviceId) | |||
| 234 | 234 | ||
| 235 | <a id="aclrtGetStreamResLimit"></a> | 235 | <a id="aclrtGetStreamResLimit"></a> |
| 236 | 236 | ||
| 237 | -# aclrtGetStreamResLimit | 237 | +## aclrtGetStreamResLimit |
| 238 | 238 | ||
| 239 | ```c | 239 | ```c |
| 240 | aclError aclrtGetStreamResLimit(aclrtStream stream, aclrtDevResLimitType type, uint32_t *value) | 240 | aclError aclrtGetStreamResLimit(aclrtStream stream, aclrtDevResLimitType type, uint32_t *value) |
| @@ -277,7 +277,7 @@ aclError aclrtGetStreamResLimit(aclrtStream stream, aclrtDevResLimitType type, u | |||
| 277 | 277 | ||
| 278 | <a id="aclrtSetStreamResLimit"></a> | 278 | <a id="aclrtSetStreamResLimit"></a> |
| 279 | 279 | ||
| 280 | -# aclrtSetStreamResLimit | 280 | +## aclrtSetStreamResLimit |
| 281 | 281 | ||
| 282 | ```c | 282 | ```c |
| 283 | aclError aclrtSetStreamResLimit(aclrtStream stream, aclrtDevResLimitType type, uint32_t value) | 283 | aclError aclrtSetStreamResLimit(aclrtStream stream, aclrtDevResLimitType type, uint32_t value) |
| @@ -322,7 +322,7 @@ aclError aclrtSetStreamResLimit(aclrtStream stream, aclrtDevResLimitType type, u | |||
| 322 | 322 | ||
| 323 | <a id="aclrtResetStreamResLimit"></a> | 323 | <a id="aclrtResetStreamResLimit"></a> |
| 324 | 324 | ||
| 325 | -# aclrtResetStreamResLimit | 325 | +## aclrtResetStreamResLimit |
| 326 | 326 | ||
| 327 | ```c | 327 | ```c |
| 328 | aclError aclrtResetStreamResLimit(aclrtStream stream) | 328 | aclError aclrtResetStreamResLimit(aclrtStream stream) |
| @@ -361,7 +361,7 @@ aclError aclrtResetStreamResLimit(aclrtStream stream) | |||
| 361 | 361 | ||
| 362 | <a id="aclrtUseStreamResInCurrentThread"></a> | 362 | <a id="aclrtUseStreamResInCurrentThread"></a> |
| 363 | 363 | ||
| 364 | -# aclrtUseStreamResInCurrentThread | 364 | +## aclrtUseStreamResInCurrentThread |
| 365 | 365 | ||
| 366 | ```c | 366 | ```c |
| 367 | aclError aclrtUseStreamResInCurrentThread([aclrtStream](25_数据类型及其操作接口.md#aclrtStream) stream) | 367 | aclError aclrtUseStreamResInCurrentThread([aclrtStream](25_数据类型及其操作接口.md#aclrtStream) stream) |
| @@ -400,7 +400,7 @@ aclError aclrtUseStreamResInCurrentThread([aclrtStream](25_数据类型及其操 | |||
| 400 | 400 | ||
| 401 | <a id="aclrtUnuseStreamResInCurrentThread"></a> | 401 | <a id="aclrtUnuseStreamResInCurrentThread"></a> |
| 402 | 402 | ||
| 403 | -# aclrtUnuseStreamResInCurrentThread | 403 | +## aclrtUnuseStreamResInCurrentThread |
| 404 | 404 | ||
| 405 | ```c | 405 | ```c |
| 406 | aclError aclrtUnuseStreamResInCurrentThread(aclrtStream stream) | 406 | aclError aclrtUnuseStreamResInCurrentThread(aclrtStream stream) |
| @@ -439,7 +439,7 @@ aclError aclrtUnuseStreamResInCurrentThread(aclrtStream stream) | |||
| 439 | 439 | ||
| 440 | <a id="aclrtGetResInCurrentThread"></a> | 440 | <a id="aclrtGetResInCurrentThread"></a> |
| 441 | 441 | ||
| 442 | -# aclrtGetResInCurrentThread | 442 | +## aclrtGetResInCurrentThread |
| 443 | 443 | ||
| 444 | ```c | 444 | ```c |
| 445 | aclError aclrtGetResInCurrentThread(aclrtDevResLimitType type, uint32_t *value) | 445 | aclError aclrtGetResInCurrentThread(aclrtDevResLimitType type, uint32_t *value) |
| @@ -1,4 +1,4 @@ | |||
| 1 | -# 4. Device管理 | 1 | +# 4. Device管理 |
| 2 | 2 | ||
| 3 | 本章节描述 CANN Runtime 的设备管理接口,用于设备的设置、重置、查询、同步及 P2P 访问等操作。 | 3 | 本章节描述 CANN Runtime 的设备管理接口,用于设备的设置、重置、查询、同步及 P2P 访问等操作。 |
| 4 | 4 | ||
| @@ -39,7 +39,7 @@ | |||
| 39 | 39 | ||
| 40 | <a id="aclrtSetDevice"></a> | 40 | <a id="aclrtSetDevice"></a> |
| 41 | 41 | ||
| 42 | -# aclrtSetDevice | 42 | +## aclrtSetDevice |
| 43 | 43 | ||
| 44 | ```c | 44 | ```c |
| 45 | aclError aclrtSetDevice(int32_t deviceId) | 45 | aclError aclrtSetDevice(int32_t deviceId) |
| @@ -93,7 +93,7 @@ aclError aclrtSetDevice(int32_t deviceId) | |||
| 93 | 93 | ||
| 94 | <a id="aclrtResetDevice"></a> | 94 | <a id="aclrtResetDevice"></a> |
| 95 | 95 | ||
| 96 | -# aclrtResetDevice | 96 | +## aclrtResetDevice |
| 97 | 97 | ||
| 98 | ```c | 98 | ```c |
| 99 | aclError aclrtResetDevice(int32_t deviceId) | 99 | aclError aclrtResetDevice(int32_t deviceId) |
| @@ -142,7 +142,7 @@ aclrtResetDevice接口内部涉及引用计数的实现,建议aclrtResetDevice | |||
| 142 | 142 | ||
| 143 | <a id="aclrtResetDeviceForce"></a> | 143 | <a id="aclrtResetDeviceForce"></a> |
| 144 | 144 | ||
| 145 | -# aclrtResetDeviceForce | 145 | +## aclrtResetDeviceForce |
| 146 | 146 | ||
| 147 | ```c | 147 | ```c |
| 148 | aclError aclrtResetDeviceForce(int32_t deviceId) | 148 | aclError aclrtResetDeviceForce(int32_t deviceId) |
| @@ -164,10 +164,10 @@ aclError aclrtResetDeviceForce(int32_t deviceId) | |||
| 164 | aclrtResetDeviceForce接口可与aclrtSetDevice接口配对使用,也可不与aclrtSetDevice接口配对使用,若不配对使用,一个进程中,针对同一个Device,调用一次或多次aclrtSetDevice接口后,仅需调用一次aclrtResetDeviceForce接口可释放Device上的资源。 | 164 | aclrtResetDeviceForce接口可与aclrtSetDevice接口配对使用,也可不与aclrtSetDevice接口配对使用,若不配对使用,一个进程中,针对同一个Device,调用一次或多次aclrtSetDevice接口后,仅需调用一次aclrtResetDeviceForce接口可释放Device上的资源。 |
| 165 | 165 | ||
| 166 | ``` | 166 | ``` |
| 167 | -## 与aclrtSetDevice接口配对使用: | 167 | +### 与aclrtSetDevice接口配对使用: |
| 168 | aclrtSetDevice(1) -> aclrtResetDeviceForce(1) -> aclrtSetDevice(1) -> aclrtResetDeviceForce(1) | 168 | aclrtSetDevice(1) -> aclrtResetDeviceForce(1) -> aclrtSetDevice(1) -> aclrtResetDeviceForce(1) |
| 169 | 169 | ||
| 170 | -## 与aclrtSetDevice接口不配对使用: | 170 | +### 与aclrtSetDevice接口不配对使用: |
| 171 | aclrtSetDevice(1) -> aclrtSetDevice(1) -> aclrtResetDeviceForce(1) | 171 | aclrtSetDevice(1) -> aclrtSetDevice(1) -> aclrtResetDeviceForce(1) |
| 172 | ``` | 172 | ``` |
| 173 | 173 | ||
| @@ -225,7 +225,7 @@ aclrtSetDevice(1) -> aclrtSetDevice(1) -> aclrtResetDeviceForce(1) | |||
| 225 | 225 | ||
| 226 | <a id="aclrtGetDevice"></a> | 226 | <a id="aclrtGetDevice"></a> |
| 227 | 227 | ||
| 228 | -# aclrtGetDevice | 228 | +## aclrtGetDevice |
| 229 | 229 | ||
| 230 | ```c | 230 | ```c |
| 231 | aclError aclrtGetDevice(int32_t *deviceId) | 231 | aclError aclrtGetDevice(int32_t *deviceId) |
| @@ -268,7 +268,7 @@ aclError aclrtGetDevice(int32_t *deviceId) | |||
| 268 | 268 | ||
| 269 | <a id="aclrtGetRunMode"></a> | 269 | <a id="aclrtGetRunMode"></a> |
| 270 | 270 | ||
| 271 | -# aclrtGetRunMode | 271 | +## aclrtGetRunMode |
| 272 | 272 | ||
| 273 | ```c | 273 | ```c |
| 274 | aclError aclrtGetRunMode(aclrtRunMode *runMode) | 274 | aclError aclrtGetRunMode(aclrtRunMode *runMode) |
| @@ -307,7 +307,7 @@ aclError aclrtGetRunMode(aclrtRunMode *runMode) | |||
| 307 | 307 | ||
| 308 | <a id="aclrtSetTsDevice"></a> | 308 | <a id="aclrtSetTsDevice"></a> |
| 309 | 309 | ||
| 310 | -# aclrtSetTsDevice | 310 | +## aclrtSetTsDevice |
| 311 | 311 | ||
| 312 | ```c | 312 | ```c |
| 313 | aclError aclrtSetTsDevice(aclrtTsId tsId) | 313 | aclError aclrtSetTsDevice(aclrtTsId tsId) |
| @@ -346,7 +346,7 @@ aclError aclrtSetTsDevice(aclrtTsId tsId) | |||
| 346 | 346 | ||
| 347 | <a id="aclrtGetDeviceCount"></a> | 347 | <a id="aclrtGetDeviceCount"></a> |
| 348 | 348 | ||
| 349 | -# aclrtGetDeviceCount | 349 | +## aclrtGetDeviceCount |
| 350 | 350 | ||
| 351 | ```c | 351 | ```c |
| 352 | aclError aclrtGetDeviceCount(uint32_t *count) | 352 | aclError aclrtGetDeviceCount(uint32_t *count) |
| @@ -385,7 +385,7 @@ aclError aclrtGetDeviceCount(uint32_t *count) | |||
| 385 | 385 | ||
| 386 | <a id="aclrtGetDeviceUtilizationRate"></a> | 386 | <a id="aclrtGetDeviceUtilizationRate"></a> |
| 387 | 387 | ||
| 388 | -# aclrtGetDeviceUtilizationRate | 388 | +## aclrtGetDeviceUtilizationRate |
| 389 | 389 | ||
| 390 | ```c | 390 | ```c |
| 391 | aclError aclrtGetDeviceUtilizationRate(int32_t deviceId, aclrtUtilizationInfo *utilizationInfo) | 391 | aclError aclrtGetDeviceUtilizationRate(int32_t deviceId, aclrtUtilizationInfo *utilizationInfo) |
| @@ -432,7 +432,7 @@ aclError aclrtGetDeviceUtilizationRate(int32_t deviceId, aclrtUtilizationInfo *u | |||
| 432 | 432 | ||
| 433 | <a id="aclrtQueryDeviceStatus"></a> | 433 | <a id="aclrtQueryDeviceStatus"></a> |
| 434 | 434 | ||
| 435 | -# aclrtQueryDeviceStatus | 435 | +## aclrtQueryDeviceStatus |
| 436 | 436 | ||
| 437 | ```c | 437 | ```c |
| 438 | aclError aclrtQueryDeviceStatus(int32_t deviceId, aclrtDeviceStatus *deviceStatus) | 438 | aclError aclrtQueryDeviceStatus(int32_t deviceId, aclrtDeviceStatus *deviceStatus) |
| @@ -472,7 +472,7 @@ aclError aclrtQueryDeviceStatus(int32_t deviceId, aclrtDeviceStatus *deviceStatu | |||
| 472 | 472 | ||
| 473 | <a id="aclrtGetSocName"></a> | 473 | <a id="aclrtGetSocName"></a> |
| 474 | 474 | ||
| 475 | -# aclrtGetSocName | 475 | +## aclrtGetSocName |
| 476 | 476 | ||
| 477 | ```c | 477 | ```c |
| 478 | const char *aclrtGetSocName() | 478 | const char *aclrtGetSocName() |
| @@ -508,7 +508,7 @@ const char *aclrtGetSocName() | |||
| 508 | 508 | ||
| 509 | <a id="aclrtSetDeviceSatMode"></a> | 509 | <a id="aclrtSetDeviceSatMode"></a> |
| 510 | 510 | ||
| 511 | -# aclrtSetDeviceSatMode | 511 | +## aclrtSetDeviceSatMode |
| 512 | 512 | ||
| 513 | ```c | 513 | ```c |
| 514 | aclError aclrtSetDeviceSatMode(aclrtFloatOverflowMode mode) | 514 | aclError aclrtSetDeviceSatMode(aclrtFloatOverflowMode mode) |
| @@ -549,7 +549,7 @@ aclError aclrtSetDeviceSatMode(aclrtFloatOverflowMode mode) | |||
| 549 | 549 | ||
| 550 | <a id="aclrtGetDeviceSatMode"></a> | 550 | <a id="aclrtGetDeviceSatMode"></a> |
| 551 | 551 | ||
| 552 | -# aclrtGetDeviceSatMode | 552 | +## aclrtGetDeviceSatMode |
| 553 | 553 | ||
| 554 | ```c | 554 | ```c |
| 555 | aclError aclrtGetDeviceSatMode(aclrtFloatOverflowMode *mode) | 555 | aclError aclrtGetDeviceSatMode(aclrtFloatOverflowMode *mode) |
| @@ -588,7 +588,7 @@ aclError aclrtGetDeviceSatMode(aclrtFloatOverflowMode *mode) | |||
| 588 | 588 | ||
| 589 | <a id="aclrtDeviceCanAccessPeer"></a> | 589 | <a id="aclrtDeviceCanAccessPeer"></a> |
| 590 | 590 | ||
| 591 | -# aclrtDeviceCanAccessPeer | 591 | +## aclrtDeviceCanAccessPeer |
| 592 | 592 | ||
| 593 | ```c | 593 | ```c |
| 594 | aclError aclrtDeviceCanAccessPeer(int32_t *canAccessPeer, int32_t deviceId, int32_t peerDeviceId) | 594 | aclError aclrtDeviceCanAccessPeer(int32_t *canAccessPeer, int32_t deviceId, int32_t peerDeviceId) |
| @@ -636,7 +636,7 @@ aclError aclrtDeviceCanAccessPeer(int32_t *canAccessPeer, int32_t deviceId, int3 | |||
| 636 | 636 | ||
| 637 | <a id="aclrtDeviceEnablePeerAccess"></a> | 637 | <a id="aclrtDeviceEnablePeerAccess"></a> |
| 638 | 638 | ||
| 639 | -# aclrtDeviceEnablePeerAccess | 639 | +## aclrtDeviceEnablePeerAccess |
| 640 | 640 | ||
| 641 | ```c | 641 | ```c |
| 642 | aclError aclrtDeviceEnablePeerAccess(int32_t peerDeviceId, uint32_t flags) | 642 | aclError aclrtDeviceEnablePeerAccess(int32_t peerDeviceId, uint32_t flags) |
| @@ -680,7 +680,7 @@ aclError aclrtDeviceEnablePeerAccess(int32_t peerDeviceId, uint32_t flags) | |||
| 680 | 680 | ||
| 681 | <a id="aclrtDeviceDisablePeerAccess"></a> | 681 | <a id="aclrtDeviceDisablePeerAccess"></a> |
| 682 | 682 | ||
| 683 | -# aclrtDeviceDisablePeerAccess | 683 | +## aclrtDeviceDisablePeerAccess |
| 684 | 684 | ||
| 685 | ```c | 685 | ```c |
| 686 | aclError aclrtDeviceDisablePeerAccess(int32_t peerDeviceId) | 686 | aclError aclrtDeviceDisablePeerAccess(int32_t peerDeviceId) |
| @@ -721,7 +721,7 @@ aclError aclrtDeviceDisablePeerAccess(int32_t peerDeviceId) | |||
| 721 | 721 | ||
| 722 | <a id="aclrtDevicePeerAccessStatus"></a> | 722 | <a id="aclrtDevicePeerAccessStatus"></a> |
| 723 | 723 | ||
| 724 | -# aclrtDevicePeerAccessStatus | 724 | +## aclrtDevicePeerAccessStatus |
| 725 | 725 | ||
| 726 | ```c | 726 | ```c |
| 727 | aclError aclrtDevicePeerAccessStatus(int32_t deviceId, int32_t peerDeviceId, int32_t *status) | 727 | aclError aclrtDevicePeerAccessStatus(int32_t deviceId, int32_t peerDeviceId, int32_t *status) |
| @@ -762,7 +762,7 @@ aclError aclrtDevicePeerAccessStatus(int32_t deviceId, int32_t peerDeviceId, int | |||
| 762 | 762 | ||
| 763 | <a id="aclrtGetOverflowStatus"></a> | 763 | <a id="aclrtGetOverflowStatus"></a> |
| 764 | 764 | ||
| 765 | -# aclrtGetOverflowStatus | 765 | +## aclrtGetOverflowStatus |
| 766 | 766 | ||
| 767 | ```c | 767 | ```c |
| 768 | aclError aclrtGetOverflowStatus(void *outputAddr, size_t outputSize, aclrtStream stream) | 768 | aclError aclrtGetOverflowStatus(void *outputAddr, size_t outputSize, aclrtStream stream) |
| @@ -811,7 +811,7 @@ aclError aclrtGetOverflowStatus(void *outputAddr, size_t outputSize, aclrtStream | |||
| 811 | 811 | ||
| 812 | <a id="aclrtResetOverflowStatus"></a> | 812 | <a id="aclrtResetOverflowStatus"></a> |
| 813 | 813 | ||
| 814 | -# aclrtResetOverflowStatus | 814 | +## aclrtResetOverflowStatus |
| 815 | 815 | ||
| 816 | ```c | 816 | ```c |
| 817 | aclError aclrtResetOverflowStatus(aclrtStream stream) | 817 | aclError aclrtResetOverflowStatus(aclrtStream stream) |
| @@ -858,7 +858,7 @@ aclError aclrtResetOverflowStatus(aclrtStream stream) | |||
| 858 | 858 | ||
| 859 | <a id="aclrtSynchronizeDevice"></a> | 859 | <a id="aclrtSynchronizeDevice"></a> |
| 860 | 860 | ||
| 861 | -# aclrtSynchronizeDevice | 861 | +## aclrtSynchronizeDevice |
| 862 | 862 | ||
| 863 | ```c | 863 | ```c |
| 864 | aclError aclrtSynchronizeDevice(void) | 864 | aclError aclrtSynchronizeDevice(void) |
| @@ -894,7 +894,7 @@ aclError aclrtSynchronizeDevice(void) | |||
| 894 | 894 | ||
| 895 | <a id="aclrtSynchronizeDeviceWithTimeout"></a> | 895 | <a id="aclrtSynchronizeDeviceWithTimeout"></a> |
| 896 | 896 | ||
| 897 | -# aclrtSynchronizeDeviceWithTimeout | 897 | +## aclrtSynchronizeDeviceWithTimeout |
| 898 | 898 | ||
| 899 | ```c | 899 | ```c |
| 900 | aclError aclrtSynchronizeDeviceWithTimeout(int32_t timeout) | 900 | aclError aclrtSynchronizeDeviceWithTimeout(int32_t timeout) |
| @@ -935,7 +935,7 @@ aclError aclrtSynchronizeDeviceWithTimeout(int32_t timeout) | |||
| 935 | 935 | ||
| 936 | <a id="aclrtGetDeviceInfo"></a> | 936 | <a id="aclrtGetDeviceInfo"></a> |
| 937 | 937 | ||
| 938 | -# aclrtGetDeviceInfo | 938 | +## aclrtGetDeviceInfo |
| 939 | 939 | ||
| 940 | ```c | 940 | ```c |
| 941 | aclError aclrtGetDeviceInfo(uint32_t deviceId, aclrtDevAttr attr, int64_t *value) | 941 | aclError aclrtGetDeviceInfo(uint32_t deviceId, aclrtDevAttr attr, int64_t *value) |
| @@ -976,7 +976,7 @@ aclError aclrtGetDeviceInfo(uint32_t deviceId, aclrtDevAttr attr, int64_t *value | |||
| 976 | 976 | ||
| 977 | <a id="aclrtDeviceGetStreamPriorityRange"></a> | 977 | <a id="aclrtDeviceGetStreamPriorityRange"></a> |
| 978 | 978 | ||
| 979 | -# aclrtDeviceGetStreamPriorityRange | 979 | +## aclrtDeviceGetStreamPriorityRange |
| 980 | 980 | ||
| 981 | ```c | 981 | ```c |
| 982 | aclError aclrtDeviceGetStreamPriorityRange(int32_t *leastPriority, int32_t *greatestPriority) | 982 | aclError aclrtDeviceGetStreamPriorityRange(int32_t *leastPriority, int32_t *greatestPriority) |
| @@ -1016,7 +1016,7 @@ aclError aclrtDeviceGetStreamPriorityRange(int32_t *leastPriority, int32_t *grea | |||
| 1016 | 1016 | ||
| 1017 | <a id="aclrtGetDeviceCapability"></a> | 1017 | <a id="aclrtGetDeviceCapability"></a> |
| 1018 | 1018 | ||
| 1019 | -# aclrtGetDeviceCapability | 1019 | +## aclrtGetDeviceCapability |
| 1020 | 1020 | ||
| 1021 | ```c | 1021 | ```c |
| 1022 | aclError aclrtGetDeviceCapability(int32_t deviceId, aclrtDevFeatureType devFeatureType, int32_t *value) | 1022 | aclError aclrtGetDeviceCapability(int32_t deviceId, aclrtDevFeatureType devFeatureType, int32_t *value) |
| @@ -1057,7 +1057,7 @@ aclError aclrtGetDeviceCapability(int32_t deviceId, aclrtDevFeatureType devFeatu | |||
| 1057 | 1057 | ||
| 1058 | <a id="aclrtGetDevicesTopo"></a> | 1058 | <a id="aclrtGetDevicesTopo"></a> |
| 1059 | 1059 | ||
| 1060 | -# aclrtGetDevicesTopo | 1060 | +## aclrtGetDevicesTopo |
| 1061 | 1061 | ||
| 1062 | ```c | 1062 | ```c |
| 1063 | aclError aclrtGetDevicesTopo(uint32_t deviceId, uint32_t otherDeviceId, uint64_t *value) | 1063 | aclError aclrtGetDevicesTopo(uint32_t deviceId, uint32_t otherDeviceId, uint64_t *value) |
| @@ -1098,7 +1098,7 @@ aclError aclrtGetDevicesTopo(uint32_t deviceId, uint32_t otherDeviceId, uint64_t | |||
| 1098 | 1098 | ||
| 1099 | <a id="aclrtRegDeviceStateCallback"></a> | 1099 | <a id="aclrtRegDeviceStateCallback"></a> |
| 1100 | 1100 | ||
| 1101 | -# aclrtRegDeviceStateCallback | 1101 | +## aclrtRegDeviceStateCallback |
| 1102 | 1102 | ||
| 1103 | ```c | 1103 | ```c |
| 1104 | aclError aclrtRegDeviceStateCallback(const char *regName, aclrtDeviceStateCallback callback, void *args) | 1104 | aclError aclrtRegDeviceStateCallback(const char *regName, aclrtDeviceStateCallback callback, void *args) |
| @@ -1141,7 +1141,7 @@ aclError aclrtRegDeviceStateCallback(const char *regName, aclrtDeviceStateCallba | |||
| 1141 | 1141 | ||
| 1142 | <a id="aclrtGetLogicDevIdByUserDevId"></a> | 1142 | <a id="aclrtGetLogicDevIdByUserDevId"></a> |
| 1143 | 1143 | ||
| 1144 | -# aclrtGetLogicDevIdByUserDevId | 1144 | +## aclrtGetLogicDevIdByUserDevId |
| 1145 | 1145 | ||
| 1146 | ```c | 1146 | ```c |
| 1147 | aclError aclrtGetLogicDevIdByUserDevId(const int32_t userDevid, int32_t *const logicDevId) | 1147 | aclError aclrtGetLogicDevIdByUserDevId(const int32_t userDevid, int32_t *const logicDevId) |
| @@ -1191,7 +1191,7 @@ aclError aclrtGetLogicDevIdByUserDevId(const int32_t userDevid, int32_t *const l | |||
| 1191 | 1191 | ||
| 1192 | <a id="aclrtGetUserDevIdByLogicDevId"></a> | 1192 | <a id="aclrtGetUserDevIdByLogicDevId"></a> |
| 1193 | 1193 | ||
| 1194 | -# aclrtGetUserDevIdByLogicDevId | 1194 | +## aclrtGetUserDevIdByLogicDevId |
| 1195 | 1195 | ||
| 1196 | ```c | 1196 | ```c |
| 1197 | aclError aclrtGetUserDevIdByLogicDevId(const int32_t logicDevId, int32_t *const userDevid) | 1197 | aclError aclrtGetUserDevIdByLogicDevId(const int32_t logicDevId, int32_t *const userDevid) |
| @@ -1241,7 +1241,7 @@ aclError aclrtGetUserDevIdByLogicDevId(const int32_t logicDevId, int32_t *const | |||
| 1241 | 1241 | ||
| 1242 | <a id="aclrtGetLogicDevIdByPhyDevId"></a> | 1242 | <a id="aclrtGetLogicDevIdByPhyDevId"></a> |
| 1243 | 1243 | ||
| 1244 | -# aclrtGetLogicDevIdByPhyDevId | 1244 | +## aclrtGetLogicDevIdByPhyDevId |
| 1245 | 1245 | ||
| 1246 | ```c | 1246 | ```c |
| 1247 | aclError aclrtGetLogicDevIdByPhyDevId(const int32_t phyDevId, int32_t *const logicDevId) | 1247 | aclError aclrtGetLogicDevIdByPhyDevId(const int32_t phyDevId, int32_t *const logicDevId) |
| @@ -1291,7 +1291,7 @@ aclError aclrtGetLogicDevIdByPhyDevId(const int32_t phyDevId, int32_t *const log | |||
| 1291 | 1291 | ||
| 1292 | <a id="aclrtGetPhyDevIdByLogicDevId"></a> | 1292 | <a id="aclrtGetPhyDevIdByLogicDevId"></a> |
| 1293 | 1293 | ||
| 1294 | -# aclrtGetPhyDevIdByLogicDevId | 1294 | +## aclrtGetPhyDevIdByLogicDevId |
| 1295 | 1295 | ||
| 1296 | ```c | 1296 | ```c |
| 1297 | aclError aclrtGetPhyDevIdByLogicDevId(const int32_t logicDevId, int32_t *const phyDevId) | 1297 | aclError aclrtGetPhyDevIdByLogicDevId(const int32_t logicDevId, int32_t *const phyDevId) |
| @@ -1341,7 +1341,7 @@ aclError aclrtGetPhyDevIdByLogicDevId(const int32_t logicDevId, int32_t *const p | |||
| 1341 | 1341 | ||
| 1342 | <a id="aclrtDeviceGetUuid"></a> | 1342 | <a id="aclrtDeviceGetUuid"></a> |
| 1343 | 1343 | ||
| 1344 | -# aclrtDeviceGetUuid | 1344 | +## aclrtDeviceGetUuid |
| 1345 | 1345 | ||
| 1346 | ```c | 1346 | ```c |
| 1347 | aclError aclrtDeviceGetUuid(int32_t deviceId, aclrtUuid *uuid) | 1347 | aclError aclrtDeviceGetUuid(int32_t deviceId, aclrtUuid *uuid) |
| @@ -1381,7 +1381,7 @@ aclError aclrtDeviceGetUuid(int32_t deviceId, aclrtUuid *uuid) | |||
| 1381 | 1381 | ||
| 1382 | <a id="aclrtDeviceGetBareTgid"></a> | 1382 | <a id="aclrtDeviceGetBareTgid"></a> |
| 1383 | 1383 | ||
| 1384 | -# aclrtDeviceGetBareTgid | 1384 | +## aclrtDeviceGetBareTgid |
| 1385 | 1385 | ||
| 1386 | ```c | 1386 | ```c |
| 1387 | aclError aclrtDeviceGetBareTgid(int32_t *pid) | 1387 | aclError aclrtDeviceGetBareTgid(int32_t *pid) |
| @@ -1422,7 +1422,7 @@ aclError aclrtDeviceGetBareTgid(int32_t *pid) | |||
| 1422 | 1422 | ||
| 1423 | <a id="aclrtDeviceGetHostAtomicCapabilities"></a> | 1423 | <a id="aclrtDeviceGetHostAtomicCapabilities"></a> |
| 1424 | 1424 | ||
| 1425 | -# aclrtDeviceGetHostAtomicCapabilities | 1425 | +## aclrtDeviceGetHostAtomicCapabilities |
| 1426 | 1426 | ||
| 1427 | ```c | 1427 | ```c |
| 1428 | aclError aclrtDeviceGetHostAtomicCapabilities(uint32_t* capabilities, const aclrtAtomicOperation* operations, const uint32_t count, int32_t deviceId) | 1428 | aclError aclrtDeviceGetHostAtomicCapabilities(uint32_t* capabilities, const aclrtAtomicOperation* operations, const uint32_t count, int32_t deviceId) |
| @@ -1464,7 +1464,7 @@ aclError aclrtDeviceGetHostAtomicCapabilities(uint32_t* capabilities, const aclr | |||
| 1464 | 1464 | ||
| 1465 | <a id="aclrtDeviceGetP2PAtomicCapabilities"></a> | 1465 | <a id="aclrtDeviceGetP2PAtomicCapabilities"></a> |
| 1466 | 1466 | ||
| 1467 | -# aclrtDeviceGetP2PAtomicCapabilities | 1467 | +## aclrtDeviceGetP2PAtomicCapabilities |
| 1468 | 1468 | ||
| 1469 | ```c | 1469 | ```c |
| 1470 | aclError aclrtDeviceGetP2PAtomicCapabilities(uint32_t* capabilities, const aclrtAtomicOperation* operations, const uint32_t count, int32_t srcDeviceId, int32_t dstDeviceId) | 1470 | aclError aclrtDeviceGetP2PAtomicCapabilities(uint32_t* capabilities, const aclrtAtomicOperation* operations, const uint32_t count, int32_t srcDeviceId, int32_t dstDeviceId) |
| @@ -15,7 +15,7 @@ | |||
| 15 | 15 | ||
| 16 | <a id="aclrtCreateContext"></a> | 16 | <a id="aclrtCreateContext"></a> |
| 17 | 17 | ||
| 18 | -# aclrtCreateContext | 18 | +## aclrtCreateContext |
| 19 | 19 | ||
| 20 | ```c | 20 | ```c |
| 21 | aclError aclrtCreateContext(aclrtContext *context, int32_t deviceId) | 21 | aclError aclrtCreateContext(aclrtContext *context, int32_t deviceId) |
| @@ -64,7 +64,7 @@ aclError aclrtCreateContext(aclrtContext *context, int32_t deviceId) | |||
| 64 | 64 | ||
| 65 | <a id="aclrtDestroyContext"></a> | 65 | <a id="aclrtDestroyContext"></a> |
| 66 | 66 | ||
| 67 | -# aclrtDestroyContext | 67 | +## aclrtDestroyContext |
| 68 | 68 | ||
| 69 | ```c | 69 | ```c |
| 70 | aclError aclrtDestroyContext(aclrtContext context) | 70 | aclError aclrtDestroyContext(aclrtContext context) |
| @@ -103,7 +103,7 @@ aclError aclrtDestroyContext(aclrtContext context) | |||
| 103 | 103 | ||
| 104 | <a id="aclrtSetCurrentContext"></a> | 104 | <a id="aclrtSetCurrentContext"></a> |
| 105 | 105 | ||
| 106 | -# aclrtSetCurrentContext | 106 | +## aclrtSetCurrentContext |
| 107 | 107 | ||
| 108 | ```c | 108 | ```c |
| 109 | aclError aclrtSetCurrentContext(aclrtContext context) | 109 | aclError aclrtSetCurrentContext(aclrtContext context) |
| @@ -153,7 +153,7 @@ aclError aclrtSetCurrentContext(aclrtContext context) | |||
| 153 | 153 | ||
| 154 | <a id="aclrtGetCurrentContext"></a> | 154 | <a id="aclrtGetCurrentContext"></a> |
| 155 | 155 | ||
| 156 | -# aclrtGetCurrentContext | 156 | +## aclrtGetCurrentContext |
| 157 | 157 | ||
| 158 | ```c | 158 | ```c |
| 159 | aclError aclrtGetCurrentContext(aclrtContext *context) | 159 | aclError aclrtGetCurrentContext(aclrtContext *context) |
| @@ -194,7 +194,7 @@ aclError aclrtGetCurrentContext(aclrtContext *context) | |||
| 194 | 194 | ||
| 195 | <a id="aclrtCtxSetSysParamOpt"></a> | 195 | <a id="aclrtCtxSetSysParamOpt"></a> |
| 196 | 196 | ||
| 197 | -# aclrtCtxSetSysParamOpt | 197 | +## aclrtCtxSetSysParamOpt |
| 198 | 198 | ||
| 199 | ```c | 199 | ```c |
| 200 | aclError aclrtCtxSetSysParamOpt(aclSysParamOpt opt, int64_t value) | 200 | aclError aclrtCtxSetSysParamOpt(aclSysParamOpt opt, int64_t value) |
| @@ -236,7 +236,7 @@ aclError aclrtCtxSetSysParamOpt(aclSysParamOpt opt, int64_t value) | |||
| 236 | 236 | ||
| 237 | <a id="aclrtCtxGetSysParamOpt"></a> | 237 | <a id="aclrtCtxGetSysParamOpt"></a> |
| 238 | 238 | ||
| 239 | -# aclrtCtxGetSysParamOpt | 239 | +## aclrtCtxGetSysParamOpt |
| 240 | 240 | ||
| 241 | ```c | 241 | ```c |
| 242 | aclError aclrtCtxGetSysParamOpt(aclSysParamOpt opt, int64_t *value) | 242 | aclError aclrtCtxGetSysParamOpt(aclSysParamOpt opt, int64_t *value) |
| @@ -278,7 +278,7 @@ aclError aclrtCtxGetSysParamOpt(aclSysParamOpt opt, int64_t *value) | |||
| 278 | 278 | ||
| 279 | <a id="aclrtCtxGetCurrentDefaultStream"></a> | 279 | <a id="aclrtCtxGetCurrentDefaultStream"></a> |
| 280 | 280 | ||
| 281 | -# aclrtCtxGetCurrentDefaultStream | 281 | +## aclrtCtxGetCurrentDefaultStream |
| 282 | 282 | ||
| 283 | ```c | 283 | ```c |
| 284 | aclError aclrtCtxGetCurrentDefaultStream(aclrtStream *stream) | 284 | aclError aclrtCtxGetCurrentDefaultStream(aclrtStream *stream) |
| @@ -317,7 +317,7 @@ aclError aclrtCtxGetCurrentDefaultStream(aclrtStream *stream) | |||
| 317 | 317 | ||
| 318 | <a id="aclrtGetPrimaryCtxState"></a> | 318 | <a id="aclrtGetPrimaryCtxState"></a> |
| 319 | 319 | ||
| 320 | -# aclrtGetPrimaryCtxState | 320 | +## aclrtGetPrimaryCtxState |
| 321 | 321 | ||
| 322 | ```c | 322 | ```c |
| 323 | aclError aclrtGetPrimaryCtxState(int32_t deviceId, uint32_t *flags, int32_t *active) | 323 | aclError aclrtGetPrimaryCtxState(int32_t deviceId, uint32_t *flags, int32_t *active) |
| @@ -358,7 +358,7 @@ aclError aclrtGetPrimaryCtxState(int32_t deviceId, uint32_t *flags, int32_t *act | |||
| 358 | 358 | ||
| 359 | <a id="aclrtCtxGetFloatOverflowAddr"></a> | 359 | <a id="aclrtCtxGetFloatOverflowAddr"></a> |
| 360 | 360 | ||
| 361 | -# aclrtCtxGetFloatOverflowAddr | 361 | +## aclrtCtxGetFloatOverflowAddr |
| 362 | 362 | ||
| 363 | ```c | 363 | ```c |
| 364 | aclError aclrtCtxGetFloatOverflowAddr(void **overflowAddr) | 364 | aclError aclrtCtxGetFloatOverflowAddr(void **overflowAddr) |
| @@ -386,4 +386,4 @@ aclError aclrtCtxGetFloatOverflowAddr(void **overflowAddr) | |||
| 386 | 386 | ||
| 387 | ### 返回值说明 | 387 | ### 返回值说明 |
| 388 | 388 | ||
| 389 | -返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 | 389 | +返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 |
| @@ -30,7 +30,7 @@ | |||
| 30 | 30 | ||
| 31 | <a id="aclrtCreateStream"></a> | 31 | <a id="aclrtCreateStream"></a> |
| 32 | 32 | ||
| 33 | -# aclrtCreateStream | 33 | +## aclrtCreateStream |
| 34 | 34 | ||
| 35 | ```c | 35 | ```c |
| 36 | aclError aclrtCreateStream(aclrtStream *stream) | 36 | aclError aclrtCreateStream(aclrtStream *stream) |
| @@ -82,7 +82,7 @@ aclError aclrtCreateStream(aclrtStream *stream) | |||
| 82 | 82 | ||
| 83 | <a id="aclrtCreateStreamV2"></a> | 83 | <a id="aclrtCreateStreamV2"></a> |
| 84 | 84 | ||
| 85 | -# aclrtCreateStreamV2 | 85 | +## aclrtCreateStreamV2 |
| 86 | 86 | ||
| 87 | ```c | 87 | ```c |
| 88 | aclError aclrtCreateStreamV2(aclrtStream *stream, const aclrtStreamConfigHandle *handle) | 88 | aclError aclrtCreateStreamV2(aclrtStream *stream, const aclrtStreamConfigHandle *handle) |
| @@ -129,7 +129,7 @@ aclError aclrtCreateStreamV2(aclrtStream *stream, const aclrtStreamConfigHandle | |||
| 129 | 129 | ||
| 130 | <a id="aclrtSetStreamConfigOpt"></a> | 130 | <a id="aclrtSetStreamConfigOpt"></a> |
| 131 | 131 | ||
| 132 | -# aclrtSetStreamConfigOpt | 132 | +## aclrtSetStreamConfigOpt |
| 133 | 133 | ||
| 134 | ```c | 134 | ```c |
| 135 | aclError aclrtSetStreamConfigOpt(aclrtStreamConfigHandle *handle, aclrtStreamConfigAttr attr, const void *attrValue, size_t valueSize) | 135 | aclError aclrtSetStreamConfigOpt(aclrtStreamConfigHandle *handle, aclrtStreamConfigAttr attr, const void *attrValue, size_t valueSize) |
| @@ -178,7 +178,7 @@ aclError aclrtSetStreamConfigOpt(aclrtStreamConfigHandle *handle, aclrtStreamCon | |||
| 178 | 178 | ||
| 179 | <a id="aclrtCreateStreamWithConfig"></a> | 179 | <a id="aclrtCreateStreamWithConfig"></a> |
| 180 | 180 | ||
| 181 | -# aclrtCreateStreamWithConfig | 181 | +## aclrtCreateStreamWithConfig |
| 182 | 182 | ||
| 183 | ```c | 183 | ```c |
| 184 | aclError aclrtCreateStreamWithConfig(aclrtStream *stream, uint32_t priority, uint32_t flag) | 184 | aclError aclrtCreateStreamWithConfig(aclrtStream *stream, uint32_t priority, uint32_t flag) |
| @@ -273,7 +273,7 @@ aclError aclrtCreateStreamWithConfig(aclrtStream *stream, uint32_t priority, uin | |||
| 273 | 273 | ||
| 274 | <a id="aclrtDestroyStream"></a> | 274 | <a id="aclrtDestroyStream"></a> |
| 275 | 275 | ||
| 276 | -# aclrtDestroyStream | 276 | +## aclrtDestroyStream |
| 277 | 277 | ||
| 278 | ```c | 278 | ```c |
| 279 | aclError aclrtDestroyStream(aclrtStream stream) | 279 | aclError aclrtDestroyStream(aclrtStream stream) |
| @@ -318,7 +318,7 @@ aclError aclrtDestroyStream(aclrtStream stream) | |||
| 318 | 318 | ||
| 319 | <a id="aclrtDestroyStreamForce"></a> | 319 | <a id="aclrtDestroyStreamForce"></a> |
| 320 | 320 | ||
| 321 | -# aclrtDestroyStreamForce | 321 | +## aclrtDestroyStreamForce |
| 322 | 322 | ||
| 323 | ```c | 323 | ```c |
| 324 | aclError aclrtDestroyStreamForce(aclrtStream stream) | 324 | aclError aclrtDestroyStreamForce(aclrtStream stream) |
| @@ -361,7 +361,7 @@ aclError aclrtDestroyStreamForce(aclrtStream stream) | |||
| 361 | 361 | ||
| 362 | <a id="aclrtSetStreamOverflowSwitch"></a> | 362 | <a id="aclrtSetStreamOverflowSwitch"></a> |
| 363 | 363 | ||
| 364 | -# aclrtSetStreamOverflowSwitch | 364 | +## aclrtSetStreamOverflowSwitch |
| 365 | 365 | ||
| 366 | ```c | 366 | ```c |
| 367 | aclError aclrtSetStreamOverflowSwitch(aclrtStream stream, uint32_t flag) | 367 | aclError aclrtSetStreamOverflowSwitch(aclrtStream stream, uint32_t flag) |
| @@ -406,7 +406,7 @@ aclError aclrtSetStreamOverflowSwitch(aclrtStream stream, uint32_t flag) | |||
| 406 | 406 | ||
| 407 | <a id="aclrtGetStreamOverflowSwitch"></a> | 407 | <a id="aclrtGetStreamOverflowSwitch"></a> |
| 408 | 408 | ||
| 409 | -# aclrtGetStreamOverflowSwitch | 409 | +## aclrtGetStreamOverflowSwitch |
| 410 | 410 | ||
| 411 | ```c | 411 | ```c |
| 412 | aclError aclrtGetStreamOverflowSwitch(aclrtStream stream, uint32_t *flag) | 412 | aclError aclrtGetStreamOverflowSwitch(aclrtStream stream, uint32_t *flag) |
| @@ -446,7 +446,7 @@ aclError aclrtGetStreamOverflowSwitch(aclrtStream stream, uint32_t *flag) | |||
| 446 | 446 | ||
| 447 | <a id="aclrtSetStreamFailureMode"></a> | 447 | <a id="aclrtSetStreamFailureMode"></a> |
| 448 | 448 | ||
| 449 | -# aclrtSetStreamFailureMode | 449 | +## aclrtSetStreamFailureMode |
| 450 | 450 | ||
| 451 | ```c | 451 | ```c |
| 452 | aclError aclrtSetStreamFailureMode(aclrtStream stream, uint64_t mode) | 452 | aclError aclrtSetStreamFailureMode(aclrtStream stream, uint64_t mode) |
| @@ -495,7 +495,7 @@ aclError aclrtSetStreamFailureMode(aclrtStream stream, uint64_t mode) | |||
| 495 | 495 | ||
| 496 | <a id="aclrtStreamQuery"></a> | 496 | <a id="aclrtStreamQuery"></a> |
| 497 | 497 | ||
| 498 | -# aclrtStreamQuery | 498 | +## aclrtStreamQuery |
| 499 | 499 | ||
| 500 | ```c | 500 | ```c |
| 501 | aclError aclrtStreamQuery(aclrtStream stream, aclrtStreamStatus *status) | 501 | aclError aclrtStreamQuery(aclrtStream stream, aclrtStreamStatus *status) |
| @@ -535,7 +535,7 @@ aclError aclrtStreamQuery(aclrtStream stream, aclrtStreamStatus *status) | |||
| 535 | 535 | ||
| 536 | <a id="aclrtSynchronizeStream"></a> | 536 | <a id="aclrtSynchronizeStream"></a> |
| 537 | 537 | ||
| 538 | -# aclrtSynchronizeStream | 538 | +## aclrtSynchronizeStream |
| 539 | 539 | ||
| 540 | ```c | 540 | ```c |
| 541 | aclError aclrtSynchronizeStream(aclrtStream stream) | 541 | aclError aclrtSynchronizeStream(aclrtStream stream) |
| @@ -574,7 +574,7 @@ aclError aclrtSynchronizeStream(aclrtStream stream) | |||
| 574 | 574 | ||
| 575 | <a id="aclrtSynchronizeStreamWithTimeout"></a> | 575 | <a id="aclrtSynchronizeStreamWithTimeout"></a> |
| 576 | 576 | ||
| 577 | -# aclrtSynchronizeStreamWithTimeout | 577 | +## aclrtSynchronizeStreamWithTimeout |
| 578 | 578 | ||
| 579 | ```c | 579 | ```c |
| 580 | aclError aclrtSynchronizeStreamWithTimeout(aclrtStream stream, int32_t timeout) | 580 | aclError aclrtSynchronizeStreamWithTimeout(aclrtStream stream, int32_t timeout) |
| @@ -614,7 +614,7 @@ aclError aclrtSynchronizeStreamWithTimeout(aclrtStream stream, int32_t timeout) | |||
| 614 | 614 | ||
| 615 | <a id="aclrtStreamAbort"></a> | 615 | <a id="aclrtStreamAbort"></a> |
| 616 | 616 | ||
| 617 | -# aclrtStreamAbort | 617 | +## aclrtStreamAbort |
| 618 | 618 | ||
| 619 | ```c | 619 | ```c |
| 620 | aclError aclrtStreamAbort(aclrtStream stream) | 620 | aclError aclrtStreamAbort(aclrtStream stream) |
| @@ -660,7 +660,7 @@ aclError aclrtStreamAbort(aclrtStream stream) | |||
| 660 | 660 | ||
| 661 | <a id="aclrtStreamGetId"></a> | 661 | <a id="aclrtStreamGetId"></a> |
| 662 | 662 | ||
| 663 | -# aclrtStreamGetId | 663 | +## aclrtStreamGetId |
| 664 | 664 | ||
| 665 | ```c | 665 | ```c |
| 666 | aclError aclrtStreamGetId(aclrtStream stream, int32_t *streamId) | 666 | aclError aclrtStreamGetId(aclrtStream stream, int32_t *streamId) |
| @@ -700,7 +700,7 @@ aclError aclrtStreamGetId(aclrtStream stream, int32_t *streamId) | |||
| 700 | 700 | ||
| 701 | <a id="aclrtGetStreamAvailableNum"></a> | 701 | <a id="aclrtGetStreamAvailableNum"></a> |
| 702 | 702 | ||
| 703 | -# aclrtGetStreamAvailableNum | 703 | +## aclrtGetStreamAvailableNum |
| 704 | 704 | ||
| 705 | ```c | 705 | ```c |
| 706 | aclError aclrtGetStreamAvailableNum(uint32_t *streamCount) | 706 | aclError aclrtGetStreamAvailableNum(uint32_t *streamCount) |
| @@ -739,7 +739,7 @@ aclError aclrtGetStreamAvailableNum(uint32_t *streamCount) | |||
| 739 | 739 | ||
| 740 | <a id="aclrtSetStreamAttribute"></a> | 740 | <a id="aclrtSetStreamAttribute"></a> |
| 741 | 741 | ||
| 742 | -# aclrtSetStreamAttribute | 742 | +## aclrtSetStreamAttribute |
| 743 | 743 | ||
| 744 | ```c | 744 | ```c |
| 745 | aclError aclrtSetStreamAttribute(aclrtStream stream, aclrtStreamAttr stmAttrType, aclrtStreamAttrValue *value) | 745 | aclError aclrtSetStreamAttribute(aclrtStream stream, aclrtStreamAttr stmAttrType, aclrtStreamAttrValue *value) |
| @@ -785,7 +785,7 @@ aclError aclrtSetStreamAttribute(aclrtStream stream, aclrtStreamAttr stmAttrType | |||
| 785 | 785 | ||
| 786 | <a id="aclrtGetStreamAttribute"></a> | 786 | <a id="aclrtGetStreamAttribute"></a> |
| 787 | 787 | ||
| 788 | -# aclrtGetStreamAttribute | 788 | +## aclrtGetStreamAttribute |
| 789 | 789 | ||
| 790 | ```c | 790 | ```c |
| 791 | aclError aclrtGetStreamAttribute(aclrtStream stream, aclrtStreamAttr stmAttrType, aclrtStreamAttrValue *value) | 791 | aclError aclrtGetStreamAttribute(aclrtStream stream, aclrtStreamAttr stmAttrType, aclrtStreamAttrValue *value) |
| @@ -826,7 +826,7 @@ aclError aclrtGetStreamAttribute(aclrtStream stream, aclrtStreamAttr stmAttrType | |||
| 826 | 826 | ||
| 827 | <a id="aclrtActiveStream"></a> | 827 | <a id="aclrtActiveStream"></a> |
| 828 | 828 | ||
| 829 | -# aclrtActiveStream | 829 | +## aclrtActiveStream |
| 830 | 830 | ||
| 831 | ```c | 831 | ```c |
| 832 | aclError aclrtActiveStream(aclrtStream activeStream, aclrtStream stream) | 832 | aclError aclrtActiveStream(aclrtStream activeStream, aclrtStream stream) |
| @@ -868,7 +868,7 @@ aclError aclrtActiveStream(aclrtStream activeStream, aclrtStream stream) | |||
| 868 | 868 | ||
| 869 | <a id="aclrtSwitchStream"></a> | 869 | <a id="aclrtSwitchStream"></a> |
| 870 | 870 | ||
| 871 | -# aclrtSwitchStream | 871 | +## aclrtSwitchStream |
| 872 | 872 | ||
| 873 | ```c | 873 | ```c |
| 874 | aclError aclrtSwitchStream(void *leftValue, aclrtCondition cond, void *rightValue, aclrtCompareDataType dataType, aclrtStream trueStream, aclrtStream falseStream, aclrtStream stream) | 874 | aclError aclrtSwitchStream(void *leftValue, aclrtCondition cond, void *rightValue, aclrtCompareDataType dataType, aclrtStream trueStream, aclrtStream falseStream, aclrtStream stream) |
| @@ -915,7 +915,7 @@ aclError aclrtSwitchStream(void *leftValue, aclrtCondition cond, void *rightValu | |||
| 915 | 915 | ||
| 916 | <a id="aclrtRegStreamStateCallback"></a> | 916 | <a id="aclrtRegStreamStateCallback"></a> |
| 917 | 917 | ||
| 918 | -# aclrtRegStreamStateCallback | 918 | +## aclrtRegStreamStateCallback |
| 919 | 919 | ||
| 920 | ```c | 920 | ```c |
| 921 | aclError aclrtRegStreamStateCallback(const char *regName, aclrtStreamStateCallback callback, void *args) | 921 | aclError aclrtRegStreamStateCallback(const char *regName, aclrtStreamStateCallback callback, void *args) |
| @@ -956,7 +956,7 @@ aclError aclrtRegStreamStateCallback(const char *regName, aclrtStreamStateCallba | |||
| 956 | 956 | ||
| 957 | <a id="acIrtStreamStop"></a> | 957 | <a id="acIrtStreamStop"></a> |
| 958 | 958 | ||
| 959 | -# acIrtStreamStop | 959 | +## acIrtStreamStop |
| 960 | 960 | ||
| 961 | ```c | 961 | ```c |
| 962 | aclError aclrtStreamStop(aclrtStream stream) | 962 | aclError aclrtStreamStop(aclrtStream stream) |
| @@ -1001,7 +1001,7 @@ aclError aclrtStreamStop(aclrtStream stream) | |||
| 1001 | 1001 | ||
| 1002 | <a id="aclrtPersistentTaskClean"></a> | 1002 | <a id="aclrtPersistentTaskClean"></a> |
| 1003 | 1003 | ||
| 1004 | -# aclrtPersistentTaskClean | 1004 | +## aclrtPersistentTaskClean |
| 1005 | 1005 | ||
| 1006 | ```c | 1006 | ```c |
| 1007 | aclError aclrtPersistentTaskClean(aclrtStream stream) | 1007 | aclError aclrtPersistentTaskClean(aclrtStream stream) |
| @@ -1042,7 +1042,7 @@ ACL\_STREAM\_PERSISTENT类型的Stream需调用[aclrtCreateStreamWithConfig](#ac | |||
| 1042 | 1042 | ||
| 1043 | <a id="aclrtStreamGetPriority"></a> | 1043 | <a id="aclrtStreamGetPriority"></a> |
| 1044 | 1044 | ||
| 1045 | -# aclrtStreamGetPriority | 1045 | +## aclrtStreamGetPriority |
| 1046 | 1046 | ||
| 1047 | ```c | 1047 | ```c |
| 1048 | aclError aclrtStreamGetPriority(aclrtStream stream, uint32_t *priority) | 1048 | aclError aclrtStreamGetPriority(aclrtStream stream, uint32_t *priority) |
| @@ -1082,7 +1082,7 @@ aclError aclrtStreamGetPriority(aclrtStream stream, uint32_t *priority) | |||
| 1082 | 1082 | ||
| 1083 | <a id="aclrtStreamGetFlags"></a> | 1083 | <a id="aclrtStreamGetFlags"></a> |
| 1084 | 1084 | ||
| 1085 | -# aclrtStreamGetFlags | 1085 | +## aclrtStreamGetFlags |
| 1086 | 1086 | ||
| 1087 | ```c | 1087 | ```c |
| 1088 | aclError aclrtStreamGetFlags(aclrtStream stream, uint32_t *flags) | 1088 | aclError aclrtStreamGetFlags(aclrtStream stream, uint32_t *flags) |
| @@ -1,4 +1,4 @@ | |||
| 1 | -# 7. Event管理 | 1 | +# 7. Event管理 |
| 2 | 2 | ||
| 3 | 本章节描述 CANN Runtime 的 Event 管理接口,用于事件的创建、记录、同步、计时及 IPC 跨进程共享。 | 3 | 本章节描述 CANN Runtime 的 Event 管理接口,用于事件的创建、记录、同步、计时及 IPC 跨进程共享。 |
| 4 | 4 | ||
| @@ -26,7 +26,7 @@ | |||
| 26 | 26 | ||
| 27 | <a id="aclrtCreateEvent"></a> | 27 | <a id="aclrtCreateEvent"></a> |
| 28 | 28 | ||
| 29 | -# aclrtCreateEvent | 29 | +## aclrtCreateEvent |
| 30 | 30 | ||
| 31 | ```c | 31 | ```c |
| 32 | aclError aclrtCreateEvent(aclrtEvent *event) | 32 | aclError aclrtCreateEvent(aclrtEvent *event) |
| @@ -78,7 +78,7 @@ aclError aclrtCreateEvent(aclrtEvent *event) | |||
| 78 | 78 | ||
| 79 | <a id="aclrtCreateEventWithFlag"></a> | 79 | <a id="aclrtCreateEventWithFlag"></a> |
| 80 | 80 | ||
| 81 | -# aclrtCreateEventWithFlag | 81 | +## aclrtCreateEventWithFlag |
| 82 | 82 | ||
| 83 | ```c | 83 | ```c |
| 84 | aclError aclrtCreateEventWithFlag(aclrtEvent *event, uint32_t flag) | 84 | aclError aclrtCreateEventWithFlag(aclrtEvent *event, uint32_t flag) |
| @@ -129,7 +129,7 @@ aclError aclrtCreateEventWithFlag(aclrtEvent *event, uint32_t flag) | |||
| 129 | 129 | ||
| 130 | <a id="aclrtCreateEventExWithFlag"></a> | 130 | <a id="aclrtCreateEventExWithFlag"></a> |
| 131 | 131 | ||
| 132 | -# aclrtCreateEventExWithFlag | 132 | +## aclrtCreateEventExWithFlag |
| 133 | 133 | ||
| 134 | ```c | 134 | ```c |
| 135 | aclError aclrtCreateEventExWithFlag(aclrtEvent *event, uint32_t flag) | 135 | aclError aclrtCreateEventExWithFlag(aclrtEvent *event, uint32_t flag) |
| @@ -154,7 +154,7 @@ aclError aclrtCreateEventExWithFlag(aclrtEvent *event, uint32_t flag) | |||
| 154 | | 参数名 | 输入/输出 | 说明 | | 154 | | 参数名 | 输入/输出 | 说明 | |
| 155 | | --- | :---: | --- | | 155 | | --- | :---: | --- | |
| 156 | | event | 输出 | Event的指针。类型定义请参见[aclrtEvent](25_数据类型及其操作接口.md#aclrtEvent)。 | | 156 | | event | 输出 | Event的指针。类型定义请参见[aclrtEvent](25_数据类型及其操作接口.md#aclrtEvent)。 | |
| 157 | -| flag | 输入 | Event指针的flag。<br>当前支持将flag设置为如下宏:<br><br> - ACL_EVENT_TIME_LINE:使能该bit表示创建的Event需要记录时间戳信息。注意:使能时间戳功能会影响Event相关接口的性能。<br><br><br> - ACL_EVENT_SYNC:使能该bit表示创建的Event支持多Stream间的同步。<br> - ACL_EVENT_CAPTURE_STREAM_PROGRESS:使能该bit表示创建的Event用于跟踪stream的任务执行进度。<br> - ACL_EVENT_IPC:使能该bit表示创建的Event用于进程间通信,详细说明请参见[aclrtIpcGetEventHandle](#aclrtIpcGetEventHandle)。注意:该flag不支持与其他flag进行位或操作。本flag创建出来的Event不支持在以下接口或场景中使用:[aclrtResetEvent](#aclrtResetEvent)、[aclrtQueryEvent](aclrtQueryEvent(废弃).md)、[aclrtQueryEventWaitStatus](#aclrtQueryEventWaitStatus)、[aclrtEventElapsedTime](#aclrtEventElapsedTime)、[aclrtEventGetTimestamp](#aclrtEventGetTimestamp)、[aclrtGetEventId](#aclrtGetEventId)、模型捕获场景(参见[aclmdlRICaptureBegin](15_模型运行实例管理.md#aclmdlRICaptureBegin)中的说明),否则返回报错。<br><br><br>宏的定义如下:<br>#define ACL_EVENT_TIME_LINE 0x00000008U<br>#define ACL_EVENT_SYNC 0x00000001U<br>#define ACL_EVENT_CAPTURE_STREAM_PROGRESS 0x00000002U<br>#define ACL_EVENT_IPC 0x00000040U | | 157 | +| flag | 输入 | Event指针的flag。<br>当前支持将flag设置为如下宏:<br><br> - ACL_EVENT_TIME_LINE:使能该bit表示创建的Event需要记录时间戳信息。注意:使能时间戳功能会影响Event相关接口的性能。<br><br><br> - ACL_EVENT_SYNC:使能该bit表示创建的Event支持多Stream间的同步。<br> - ACL_EVENT_CAPTURE_STREAM_PROGRESS:使能该bit表示创建的Event用于跟踪stream的任务执行进度。<br> - ACL_EVENT_IPC:使能该bit表示创建的Event用于进程间通信,详细说明请参见[aclrtIpcGetEventHandle](#aclrtIpcGetEventHandle)。注意:该flag不支持与其他flag进行位或操作。本flag创建出来的Event不支持在以下接口或场景中使用:[aclrtResetEvent](#aclrtResetEvent)、[aclrtQueryEvent](#aclrtQueryEvent(废弃))、[aclrtQueryEventWaitStatus](#aclrtQueryEventWaitStatus)、[aclrtEventElapsedTime](#aclrtEventElapsedTime)、[aclrtEventGetTimestamp](#aclrtEventGetTimestamp)、[aclrtGetEventId](#aclrtGetEventId)、模型捕获场景(参见[aclmdlRICaptureBegin](15_模型运行实例管理.md#aclmdlRICaptureBegin)中的说明),否则返回报错。<br><br><br>宏的定义如下:<br>#define ACL_EVENT_TIME_LINE 0x00000008U<br>#define ACL_EVENT_SYNC 0x00000001U<br>#define ACL_EVENT_CAPTURE_STREAM_PROGRESS 0x00000002U<br>#define ACL_EVENT_IPC 0x00000040U | |
| 158 | 158 | ||
| 159 | ### 返回值说明 | 159 | ### 返回值说明 |
| 160 | 160 | ||
| @@ -162,7 +162,7 @@ aclError aclrtCreateEventExWithFlag(aclrtEvent *event, uint32_t flag) | |||
| 162 | 162 | ||
| 163 | ### 约束说明 | 163 | ### 约束说明 |
| 164 | 164 | ||
| 165 | -采用本API创建的Event,不支持在以下接口中使用:[aclrtResetEvent](#aclrtResetEvent)、[aclrtQueryEvent](aclrtQueryEvent(废弃).md)、[aclrtQueryEventWaitStatus](#aclrtQueryEventWaitStatus),否则返回报错。 | 165 | +采用本API创建的Event,不支持在以下接口中使用:[aclrtResetEvent](#aclrtResetEvent)、[aclrtQueryEvent](#aclrtQueryEvent(废弃))、[aclrtQueryEventWaitStatus](#aclrtQueryEventWaitStatus),否则返回报错。 |
| 166 | 166 | ||
| 167 | 调用本接口创建Event时,flag为bitmap,支持将flag设置为单个宏、或者对多个宏进行或操作。若flag参数值**不包含**ACL\_EVENT\_SYNC宏,则不支持在[aclrtStreamWaitEvent](#aclrtStreamWaitEvent)接口中使用本接口创建的Event。若flag参数值**包含**ACL\_EVENT\_SYNC宏,并不会实际申请Event资源,只有在调用[aclrtRecordEvent](#aclrtRecordEvent)接口时,才会进行资源申请,因此在调用[aclrtRecordEvent](#aclrtRecordEvent)时,可能会出现线程阻塞,等待Event资源的释放。 | 167 | 调用本接口创建Event时,flag为bitmap,支持将flag设置为单个宏、或者对多个宏进行或操作。若flag参数值**不包含**ACL\_EVENT\_SYNC宏,则不支持在[aclrtStreamWaitEvent](#aclrtStreamWaitEvent)接口中使用本接口创建的Event。若flag参数值**包含**ACL\_EVENT\_SYNC宏,并不会实际申请Event资源,只有在调用[aclrtRecordEvent](#aclrtRecordEvent)接口时,才会进行资源申请,因此在调用[aclrtRecordEvent](#aclrtRecordEvent)时,可能会出现线程阻塞,等待Event资源的释放。 |
| 168 | 168 | ||
| @@ -182,7 +182,7 @@ aclError aclrtCreateEventExWithFlag(aclrtEvent *event, uint32_t flag) | |||
| 182 | 182 | ||
| 183 | <a id="aclrtDestroyEvent"></a> | 183 | <a id="aclrtDestroyEvent"></a> |
| 184 | 184 | ||
| 185 | -# aclrtDestroyEvent | 185 | +## aclrtDestroyEvent |
| 186 | 186 | ||
| 187 | ```c | 187 | ```c |
| 188 | aclError aclrtDestroyEvent(aclrtEvent event) | 188 | aclError aclrtDestroyEvent(aclrtEvent event) |
| @@ -225,7 +225,7 @@ aclError aclrtDestroyEvent(aclrtEvent event) | |||
| 225 | 225 | ||
| 226 | <a id="aclrtRecordEvent"></a> | 226 | <a id="aclrtRecordEvent"></a> |
| 227 | 227 | ||
| 228 | -# aclrtRecordEvent | 228 | +## aclrtRecordEvent |
| 229 | 229 | ||
| 230 | ```c | 230 | ```c |
| 231 | aclError aclrtRecordEvent(aclrtEvent event, aclrtStream stream) | 231 | aclError aclrtRecordEvent(aclrtEvent event, aclrtStream stream) |
| @@ -274,7 +274,7 @@ aclrtRecordEvent接口与aclrtStreamWaitEvent接口配合使用时,主要用 | |||
| 274 | 274 | ||
| 275 | <a id="aclrtResetEvent"></a> | 275 | <a id="aclrtResetEvent"></a> |
| 276 | 276 | ||
| 277 | -# aclrtResetEvent | 277 | +## aclrtResetEvent |
| 278 | 278 | ||
| 279 | ```c | 279 | ```c |
| 280 | aclError aclrtResetEvent(aclrtEvent event, aclrtStream stream) | 280 | aclError aclrtResetEvent(aclrtEvent event, aclrtStream stream) |
| @@ -324,7 +324,7 @@ aclError aclrtResetEvent(aclrtEvent event, aclrtStream stream) | |||
| 324 | 324 | ||
| 325 | <a id="aclrtQueryEvent(废弃)"></a> | 325 | <a id="aclrtQueryEvent(废弃)"></a> |
| 326 | 326 | ||
| 327 | -# aclrtQueryEvent(废弃) | 327 | +## aclrtQueryEvent(废弃) |
| 328 | 328 | ||
| 329 | ```c | 329 | ```c |
| 330 | aclError aclrtQueryEvent(aclrtEvent event, aclrtEventStatus *status) | 330 | aclError aclrtQueryEvent(aclrtEvent event, aclrtEventStatus *status) |
| @@ -366,7 +366,7 @@ aclError aclrtQueryEvent(aclrtEvent event, aclrtEventStatus *status) | |||
| 366 | 366 | ||
| 367 | <a id="aclrtQueryEventStatus"></a> | 367 | <a id="aclrtQueryEventStatus"></a> |
| 368 | 368 | ||
| 369 | -# aclrtQueryEventStatus | 369 | +## aclrtQueryEventStatus |
| 370 | 370 | ||
| 371 | ```c | 371 | ```c |
| 372 | aclError aclrtQueryEventStatus(aclrtEvent event, aclrtEventRecordedStatus *status) | 372 | aclError aclrtQueryEventStatus(aclrtEvent event, aclrtEventRecordedStatus *status) |
| @@ -410,7 +410,7 @@ aclError aclrtQueryEventStatus(aclrtEvent event, aclrtEventRecordedStatus *statu | |||
| 410 | 410 | ||
| 411 | <a id="aclrtQueryEventWaitStatus"></a> | 411 | <a id="aclrtQueryEventWaitStatus"></a> |
| 412 | 412 | ||
| 413 | -# aclrtQueryEventWaitStatus | 413 | +## aclrtQueryEventWaitStatus |
| 414 | 414 | ||
| 415 | ```c | 415 | ```c |
| 416 | aclError aclrtQueryEventWaitStatus(aclrtEvent event, aclrtEventWaitStatus *status) | 416 | aclError aclrtQueryEventWaitStatus(aclrtEvent event, aclrtEventWaitStatus *status) |
| @@ -454,7 +454,7 @@ aclError aclrtQueryEventWaitStatus(aclrtEvent event, aclrtEventWaitStatus *statu | |||
| 454 | 454 | ||
| 455 | <a id="aclrtSynchronizeEvent"></a> | 455 | <a id="aclrtSynchronizeEvent"></a> |
| 456 | 456 | ||
| 457 | -# aclrtSynchronizeEvent | 457 | +## aclrtSynchronizeEvent |
| 458 | 458 | ||
| 459 | ```c | 459 | ```c |
| 460 | aclError aclrtSynchronizeEvent(aclrtEvent event) | 460 | aclError aclrtSynchronizeEvent(aclrtEvent event) |
| @@ -493,7 +493,7 @@ aclError aclrtSynchronizeEvent(aclrtEvent event) | |||
| 493 | 493 | ||
| 494 | <a id="aclrtSynchronizeEventWithTimeout"></a> | 494 | <a id="aclrtSynchronizeEventWithTimeout"></a> |
| 495 | 495 | ||
| 496 | -# aclrtSynchronizeEventWithTimeout | 496 | +## aclrtSynchronizeEventWithTimeout |
| 497 | 497 | ||
| 498 | ```c | 498 | ```c |
| 499 | aclError aclrtSynchronizeEventWithTimeout(aclrtEvent event, int32_t timeout) | 499 | aclError aclrtSynchronizeEventWithTimeout(aclrtEvent event, int32_t timeout) |
| @@ -533,7 +533,7 @@ aclError aclrtSynchronizeEventWithTimeout(aclrtEvent event, int32_t timeout) | |||
| 533 | 533 | ||
| 534 | <a id="aclrtEventElapsedTime"></a> | 534 | <a id="aclrtEventElapsedTime"></a> |
| 535 | 535 | ||
| 536 | -# aclrtEventElapsedTime | 536 | +## aclrtEventElapsedTime |
| 537 | 537 | ||
| 538 | ```c | 538 | ```c |
| 539 | aclError aclrtEventElapsedTime(float *ms, aclrtEvent startEvent, aclrtEvent endEvent) | 539 | aclError aclrtEventElapsedTime(float *ms, aclrtEvent startEvent, aclrtEvent endEvent) |
| @@ -576,7 +576,7 @@ aclError aclrtEventElapsedTime(float *ms, aclrtEvent startEvent, aclrtEvent endE | |||
| 576 | 576 | ||
| 577 | <a id="aclrtStreamWaitEvent"></a> | 577 | <a id="aclrtStreamWaitEvent"></a> |
| 578 | 578 | ||
| 579 | -# aclrtStreamWaitEvent | 579 | +## aclrtStreamWaitEvent |
| 580 | 580 | ||
| 581 | ```c | 581 | ```c |
| 582 | aclError aclrtStreamWaitEvent(aclrtStream stream, aclrtEvent event) | 582 | aclError aclrtStreamWaitEvent(aclrtStream stream, aclrtEvent event) |
| @@ -622,7 +622,7 @@ aclError aclrtStreamWaitEvent(aclrtStream stream, aclrtEvent event) | |||
| 622 | 622 | ||
| 623 | <a id="aclrtStreamWaitEventWithTimeout"></a> | 623 | <a id="aclrtStreamWaitEventWithTimeout"></a> |
| 624 | 624 | ||
| 625 | -# aclrtStreamWaitEventWithTimeout | 625 | +## aclrtStreamWaitEventWithTimeout |
| 626 | 626 | ||
| 627 | ```c | 627 | ```c |
| 628 | aclError aclrtStreamWaitEventWithTimeout(aclrtStream stream, aclrtEvent event, int32_t timeout) | 628 | aclError aclrtStreamWaitEventWithTimeout(aclrtStream stream, aclrtEvent event, int32_t timeout) |
| @@ -663,7 +663,7 @@ aclError aclrtStreamWaitEventWithTimeout(aclrtStream stream, aclrtEvent event, i | |||
| 663 | 663 | ||
| 664 | <a id="aclrtSetOpWaitTimeout"></a> | 664 | <a id="aclrtSetOpWaitTimeout"></a> |
| 665 | 665 | ||
| 666 | -# aclrtSetOpWaitTimeout | 666 | +## aclrtSetOpWaitTimeout |
| 667 | 667 | ||
| 668 | ```c | 668 | ```c |
| 669 | aclError aclrtSetOpWaitTimeout(uint32_t timeout) | 669 | aclError aclrtSetOpWaitTimeout(uint32_t timeout) |
| @@ -708,7 +708,7 @@ aclError aclrtSetOpWaitTimeout(uint32_t timeout) | |||
| 708 | 708 | ||
| 709 | <a id="aclrtEventGetTimestamp"></a> | 709 | <a id="aclrtEventGetTimestamp"></a> |
| 710 | 710 | ||
| 711 | -# aclrtEventGetTimestamp | 711 | +## aclrtEventGetTimestamp |
| 712 | 712 | ||
| 713 | ```c | 713 | ```c |
| 714 | aclError aclrtEventGetTimestamp(aclrtEvent event, uint64_t *timestamp) | 714 | aclError aclrtEventGetTimestamp(aclrtEvent event, uint64_t *timestamp) |
| @@ -750,7 +750,7 @@ aclError aclrtEventGetTimestamp(aclrtEvent event, uint64_t *timestamp) | |||
| 750 | 750 | ||
| 751 | <a id="aclrtGetEventId"></a> | 751 | <a id="aclrtGetEventId"></a> |
| 752 | 752 | ||
| 753 | -# aclrtGetEventId | 753 | +## aclrtGetEventId |
| 754 | 754 | ||
| 755 | ```c | 755 | ```c |
| 756 | aclError aclrtGetEventId(aclrtEvent event, uint32_t *eventId) | 756 | aclError aclrtGetEventId(aclrtEvent event, uint32_t *eventId) |
| @@ -790,7 +790,7 @@ aclError aclrtGetEventId(aclrtEvent event, uint32_t *eventId) | |||
| 790 | 790 | ||
| 791 | <a id="aclrtGetEventAvailNum"></a> | 791 | <a id="aclrtGetEventAvailNum"></a> |
| 792 | 792 | ||
| 793 | -# aclrtGetEventAvailNum | 793 | +## aclrtGetEventAvailNum |
| 794 | 794 | ||
| 795 | ```c | 795 | ```c |
| 796 | aclError aclrtGetEventAvailNum(uint32_t *eventCount) | 796 | aclError aclrtGetEventAvailNum(uint32_t *eventCount) |
| @@ -829,7 +829,7 @@ aclError aclrtGetEventAvailNum(uint32_t *eventCount) | |||
| 829 | 829 | ||
| 830 | <a id="aclrtIpcGetEventHandle"></a> | 830 | <a id="aclrtIpcGetEventHandle"></a> |
| 831 | 831 | ||
| 832 | -# aclrtIpcGetEventHandle | 832 | +## aclrtIpcGetEventHandle |
| 833 | 833 | ||
| 834 | ```c | 834 | ```c |
| 835 | aclError aclrtIpcGetEventHandle(aclrtEvent event, aclrtIpcEventHandle *handle) | 835 | aclError aclrtIpcGetEventHandle(aclrtEvent event, aclrtIpcEventHandle *handle) |
| @@ -850,6 +850,8 @@ aclError aclrtIpcGetEventHandle(aclrtEvent event, aclrtIpcEventHandle *handle) | |||
| 850 | 850 | ||
| 851 | **本接口需与以下其它关键接口配合使用**,此处以A进程、B进程为例: | 851 | **本接口需与以下其它关键接口配合使用**,此处以A进程、B进程为例: |
| 852 | 852 | ||
| 853 | +<a id="li288673614297"></a> | ||
| 854 | +<a id="li288673614297"></a> | ||
| 853 | 1. A进程中: | 855 | 1. A进程中: |
| 854 | 1. 调用[aclrtCreateEventExWithFlag](#aclrtCreateEventExWithFlag)接口创建flag为ACL\_EVENT\_IPC的Event。 | 856 | 1. 调用[aclrtCreateEventExWithFlag](#aclrtCreateEventExWithFlag)接口创建flag为ACL\_EVENT\_IPC的Event。 |
| 855 | 2. 调用aclrtIpcGetEventHandle接口获取用于进程间通信的Event句柄。 | 857 | 2. 调用aclrtIpcGetEventHandle接口获取用于进程间通信的Event句柄。 |
| @@ -881,7 +883,7 @@ aclError aclrtIpcGetEventHandle(aclrtEvent event, aclrtIpcEventHandle *handle) | |||
| 881 | 883 | ||
| 882 | <a id="aclrtIpcOpenEventHandle"></a> | 884 | <a id="aclrtIpcOpenEventHandle"></a> |
| 883 | 885 | ||
| 884 | -# aclrtIpcOpenEventHandle | 886 | +## aclrtIpcOpenEventHandle |
| 885 | 887 | ||
| 886 | ```c | 888 | ```c |
| 887 | aclError aclrtIpcOpenEventHandle(aclrtIpcEventHandle handle, aclrtEvent *event) | 889 | aclError aclrtIpcOpenEventHandle(aclrtIpcEventHandle handle, aclrtEvent *event) |
| @@ -913,3 +915,4 @@ aclError aclrtIpcOpenEventHandle(aclrtIpcEventHandle handle, aclrtEvent *event) | |||
| 913 | ### 返回值说明 | 915 | ### 返回值说明 |
| 914 | 916 | ||
| 915 | 返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 | 917 | 返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 |
| 918 | + | ||
| @@ -16,7 +16,7 @@ | |||
| 16 | 16 | ||
| 17 | <a id="aclrtCreateNotify"></a> | 17 | <a id="aclrtCreateNotify"></a> |
| 18 | 18 | ||
| 19 | -# aclrtCreateNotify | 19 | +## aclrtCreateNotify |
| 20 | 20 | ||
| 21 | ```c | 21 | ```c |
| 22 | aclError aclrtCreateNotify(aclrtNotify *notify, uint64_t flag) | 22 | aclError aclrtCreateNotify(aclrtNotify *notify, uint64_t flag) |
| @@ -66,7 +66,7 @@ aclError aclrtCreateNotify(aclrtNotify *notify, uint64_t flag) | |||
| 66 | 66 | ||
| 67 | <a id="aclrtDestroyNotify"></a> | 67 | <a id="aclrtDestroyNotify"></a> |
| 68 | 68 | ||
| 69 | -# aclrtDestroyNotify | 69 | +## aclrtDestroyNotify |
| 70 | 70 | ||
| 71 | ```c | 71 | ```c |
| 72 | aclError aclrtDestroyNotify(aclrtNotify notify) | 72 | aclError aclrtDestroyNotify(aclrtNotify notify) |
| @@ -105,7 +105,7 @@ aclError aclrtDestroyNotify(aclrtNotify notify) | |||
| 105 | 105 | ||
| 106 | <a id="aclrtRecordNotify"></a> | 106 | <a id="aclrtRecordNotify"></a> |
| 107 | 107 | ||
| 108 | -# aclrtRecordNotify | 108 | +## aclrtRecordNotify |
| 109 | 109 | ||
| 110 | ```c | 110 | ```c |
| 111 | aclError aclrtRecordNotify(aclrtNotify notify, aclrtStream stream) | 111 | aclError aclrtRecordNotify(aclrtNotify notify, aclrtStream stream) |
| @@ -147,7 +147,7 @@ aclrtRecordNotify接口与aclrtWaitAndResetNotify接口配合使用时,主要 | |||
| 147 | 147 | ||
| 148 | <a id="aclrtWaitAndResetNotify"></a> | 148 | <a id="aclrtWaitAndResetNotify"></a> |
| 149 | 149 | ||
| 150 | -# aclrtWaitAndResetNotify | 150 | +## aclrtWaitAndResetNotify |
| 151 | 151 | ||
| 152 | ```c | 152 | ```c |
| 153 | aclError aclrtWaitAndResetNotify(aclrtNotify notify, aclrtStream stream, uint32_t timeout) | 153 | aclError aclrtWaitAndResetNotify(aclrtNotify notify, aclrtStream stream, uint32_t timeout) |
| @@ -188,7 +188,7 @@ aclError aclrtWaitAndResetNotify(aclrtNotify notify, aclrtStream stream, uint32_ | |||
| 188 | 188 | ||
| 189 | <a id="aclrtGetNotifyId"></a> | 189 | <a id="aclrtGetNotifyId"></a> |
| 190 | 190 | ||
| 191 | -# aclrtGetNotifyId | 191 | +## aclrtGetNotifyId |
| 192 | 192 | ||
| 193 | ```c | 193 | ```c |
| 194 | aclError aclrtGetNotifyId(aclrtNotify notify, uint32_t *notifyId) | 194 | aclError aclrtGetNotifyId(aclrtNotify notify, uint32_t *notifyId) |
| @@ -228,7 +228,7 @@ aclError aclrtGetNotifyId(aclrtNotify notify, uint32_t *notifyId) | |||
| 228 | 228 | ||
| 229 | <a id="aclrtNotifyBatchReset"></a> | 229 | <a id="aclrtNotifyBatchReset"></a> |
| 230 | 230 | ||
| 231 | -# aclrtNotifyBatchReset | 231 | +## aclrtNotifyBatchReset |
| 232 | 232 | ||
| 233 | ```c | 233 | ```c |
| 234 | aclError aclrtNotifyBatchReset(aclrtNotify *notifies, size_t num) | 234 | aclError aclrtNotifyBatchReset(aclrtNotify *notifies, size_t num) |
| @@ -272,7 +272,7 @@ aclError aclrtNotifyBatchReset(aclrtNotify *notifies, size_t num) | |||
| 272 | 272 | ||
| 273 | <a id="aclrtNotifyGetExportKey"></a> | 273 | <a id="aclrtNotifyGetExportKey"></a> |
| 274 | 274 | ||
| 275 | -# aclrtNotifyGetExportKey | 275 | +## aclrtNotifyGetExportKey |
| 276 | 276 | ||
| 277 | ```c | 277 | ```c |
| 278 | aclError aclrtNotifyGetExportKey(aclrtNotify notify, char *key, size_t len, uint64_t flags) | 278 | aclError aclrtNotifyGetExportKey(aclrtNotify notify, char *key, size_t len, uint64_t flags) |
| @@ -343,7 +343,7 @@ aclError aclrtNotifyGetExportKey(aclrtNotify notify, char *key, size_t len, uint | |||
| 343 | 343 | ||
| 344 | <a id="aclrtNotifySetImportPid"></a> | 344 | <a id="aclrtNotifySetImportPid"></a> |
| 345 | 345 | ||
| 346 | -# aclrtNotifySetImportPid | 346 | +## aclrtNotifySetImportPid |
| 347 | 347 | ||
| 348 | ```c | 348 | ```c |
| 349 | aclError aclrtNotifySetImportPid(aclrtNotify notify, int32_t *pid, size_t num) | 349 | aclError aclrtNotifySetImportPid(aclrtNotify notify, int32_t *pid, size_t num) |
| @@ -390,7 +390,7 @@ aclError aclrtNotifySetImportPid(aclrtNotify notify, int32_t *pid, size_t num) | |||
| 390 | 390 | ||
| 391 | <a id="aclrtNotifySetImportPidInterServer"></a> | 391 | <a id="aclrtNotifySetImportPidInterServer"></a> |
| 392 | 392 | ||
| 393 | -# aclrtNotifySetImportPidInterServer | 393 | +## aclrtNotifySetImportPidInterServer |
| 394 | 394 | ||
| 395 | ```c | 395 | ```c |
| 396 | aclError aclrtNotifySetImportPidInterServer(aclrtNotify notify, aclrtServerPid *serverPids, size_t num) | 396 | aclError aclrtNotifySetImportPidInterServer(aclrtNotify notify, aclrtServerPid *serverPids, size_t num) |
| @@ -433,7 +433,7 @@ aclError aclrtNotifySetImportPidInterServer(aclrtNotify notify, aclrtServerPid * | |||
| 433 | 433 | ||
| 434 | <a id="aclrtNotifyImportByKey"></a> | 434 | <a id="aclrtNotifyImportByKey"></a> |
| 435 | 435 | ||
| 436 | -# aclrtNotifyImportByKey | 436 | +## aclrtNotifyImportByKey |
| 437 | 437 | ||
| 438 | ```c | 438 | ```c |
| 439 | aclError aclrtNotifyImportByKey(aclrtNotify *notify, const char *key, uint64_t flags) | 439 | aclError aclrtNotifyImportByKey(aclrtNotify *notify, const char *key, uint64_t flags) |
| @@ -469,4 +469,4 @@ aclError aclrtNotifyImportByKey(aclrtNotify *notify, const char *key, uint64_t f | |||
| 469 | 469 | ||
| 470 | ### 约束说明 | 470 | ### 约束说明 |
| 471 | 471 | ||
| 472 | -昇腾虚拟化实例场景不支持该操作。 | 472 | +昇腾虚拟化实例场景不支持该操作。 |
| @@ -12,7 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | <a id="aclrtCntNotifyCreate"></a> | 13 | <a id="aclrtCntNotifyCreate"></a> |
| 14 | 14 | ||
| 15 | -# aclrtCntNotifyCreate | 15 | +## aclrtCntNotifyCreate |
| 16 | 16 | ||
| 17 | ```c | 17 | ```c |
| 18 | aclError aclrtCntNotifyCreate(aclrtCntNotify *cntNotify, uint64_t flag) | 18 | aclError aclrtCntNotifyCreate(aclrtCntNotify *cntNotify, uint64_t flag) |
| @@ -54,7 +54,7 @@ CntNotify通常也用于Device与Device之间的状态/动作通信通知。但C | |||
| 54 | 54 | ||
| 55 | <a id="aclrtCntNotifyRecord"></a> | 55 | <a id="aclrtCntNotifyRecord"></a> |
| 56 | 56 | ||
| 57 | -# aclrtCntNotifyRecord | 57 | +## aclrtCntNotifyRecord |
| 58 | 58 | ||
| 59 | ```c | 59 | ```c |
| 60 | aclError aclrtCntNotifyRecord(aclrtCntNotify cntNotify, aclrtStream stream, aclrtCntNotifyRecordInfo *info) | 60 | aclError aclrtCntNotifyRecord(aclrtCntNotify cntNotify, aclrtStream stream, aclrtCntNotifyRecordInfo *info) |
| @@ -97,7 +97,7 @@ aclrtCntNotifyRecord接口与aclrtCntNotifyWaitWithTimeout接口配合使用时 | |||
| 97 | 97 | ||
| 98 | <a id="aclrtCntNotifyWaitWithTimeout"></a> | 98 | <a id="aclrtCntNotifyWaitWithTimeout"></a> |
| 99 | 99 | ||
| 100 | -# aclrtCntNotifyWaitWithTimeout | 100 | +## aclrtCntNotifyWaitWithTimeout |
| 101 | 101 | ||
| 102 | ```c | 102 | ```c |
| 103 | aclError aclrtCntNotifyWaitWithTimeout(aclrtCntNotify cntNotify, aclrtStream stream, aclrtCntNotifyWaitInfo *info) | 103 | aclError aclrtCntNotifyWaitWithTimeout(aclrtCntNotify cntNotify, aclrtStream stream, aclrtCntNotifyWaitInfo *info) |
| @@ -138,7 +138,7 @@ aclError aclrtCntNotifyWaitWithTimeout(aclrtCntNotify cntNotify, aclrtStream str | |||
| 138 | 138 | ||
| 139 | <a id="aclrtCntNotifyReset"></a> | 139 | <a id="aclrtCntNotifyReset"></a> |
| 140 | 140 | ||
| 141 | -# aclrtCntNotifyReset | 141 | +## aclrtCntNotifyReset |
| 142 | 142 | ||
| 143 | ```c | 143 | ```c |
| 144 | aclError aclrtCntNotifyReset(aclrtCntNotify cntNotify, aclrtStream stream) | 144 | aclError aclrtCntNotifyReset(aclrtCntNotify cntNotify, aclrtStream stream) |
| @@ -178,7 +178,7 @@ aclError aclrtCntNotifyReset(aclrtCntNotify cntNotify, aclrtStream stream) | |||
| 178 | 178 | ||
| 179 | <a id="aclrtCntNotifyGetId"></a> | 179 | <a id="aclrtCntNotifyGetId"></a> |
| 180 | 180 | ||
| 181 | -# aclrtCntNotifyGetId | 181 | +## aclrtCntNotifyGetId |
| 182 | 182 | ||
| 183 | ```c | 183 | ```c |
| 184 | aclError aclrtCntNotifyGetId(aclrtCntNotify cntNotify, uint32_t *notifyId) | 184 | aclError aclrtCntNotifyGetId(aclrtCntNotify cntNotify, uint32_t *notifyId) |
| @@ -218,7 +218,7 @@ aclError aclrtCntNotifyGetId(aclrtCntNotify cntNotify, uint32_t *notifyId) | |||
| 218 | 218 | ||
| 219 | <a id="aclrtCntNotifyDestroy"></a> | 219 | <a id="aclrtCntNotifyDestroy"></a> |
| 220 | 220 | ||
| 221 | -# aclrtCntNotifyDestroy | 221 | +## aclrtCntNotifyDestroy |
| 222 | 222 | ||
| 223 | ```c | 223 | ```c |
| 224 | aclError aclrtCntNotifyDestroy(aclrtCntNotify cntNotify) | 224 | aclError aclrtCntNotifyDestroy(aclrtCntNotify cntNotify) |
| @@ -246,4 +246,4 @@ aclError aclrtCntNotifyDestroy(aclrtCntNotify cntNotify) | |||
| 246 | 246 | ||
| 247 | ### 返回值说明 | 247 | ### 返回值说明 |
| 248 | 248 | ||
| 249 | -返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 | 249 | +返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 |
| @@ -12,7 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | <a id="aclrtCreateLabel"></a> | 13 | <a id="aclrtCreateLabel"></a> |
| 14 | 14 | ||
| 15 | -# aclrtCreateLabel | 15 | +## aclrtCreateLabel |
| 16 | 16 | ||
| 17 | ```c | 17 | ```c |
| 18 | aclError aclrtCreateLabel(aclrtLabel *label) | 18 | aclError aclrtCreateLabel(aclrtLabel *label) |
| @@ -53,7 +53,7 @@ aclError aclrtCreateLabel(aclrtLabel *label) | |||
| 53 | 53 | ||
| 54 | <a id="aclrtSetLabel"></a> | 54 | <a id="aclrtSetLabel"></a> |
| 55 | 55 | ||
| 56 | -# aclrtSetLabel | 56 | +## aclrtSetLabel |
| 57 | 57 | ||
| 58 | ```c | 58 | ```c |
| 59 | aclError aclrtSetLabel(aclrtLabel label, aclrtStream stream) | 59 | aclError aclrtSetLabel(aclrtLabel label, aclrtStream stream) |
| @@ -93,7 +93,7 @@ aclError aclrtSetLabel(aclrtLabel label, aclrtStream stream) | |||
| 93 | 93 | ||
| 94 | <a id="aclrtDestroyLabel"></a> | 94 | <a id="aclrtDestroyLabel"></a> |
| 95 | 95 | ||
| 96 | -# aclrtDestroyLabel | 96 | +## aclrtDestroyLabel |
| 97 | 97 | ||
| 98 | ```c | 98 | ```c |
| 99 | aclError aclrtDestroyLabel(aclrtLabel label) | 99 | aclError aclrtDestroyLabel(aclrtLabel label) |
| @@ -132,7 +132,7 @@ aclError aclrtDestroyLabel(aclrtLabel label) | |||
| 132 | 132 | ||
| 133 | <a id="aclrtCreateLabelList"></a> | 133 | <a id="aclrtCreateLabelList"></a> |
| 134 | 134 | ||
| 135 | -# aclrtCreateLabelList | 135 | +## aclrtCreateLabelList |
| 136 | 136 | ||
| 137 | ```c | 137 | ```c |
| 138 | aclError aclrtCreateLabelList(aclrtLabel *labels, size_t num, aclrtLabelList *labelList) | 138 | aclError aclrtCreateLabelList(aclrtLabel *labels, size_t num, aclrtLabelList *labelList) |
| @@ -173,7 +173,7 @@ aclError aclrtCreateLabelList(aclrtLabel *labels, size_t num, aclrtLabelList *la | |||
| 173 | 173 | ||
| 174 | <a id="aclrtDestroyLabelList"></a> | 174 | <a id="aclrtDestroyLabelList"></a> |
| 175 | 175 | ||
| 176 | -# aclrtDestroyLabelList | 176 | +## aclrtDestroyLabelList |
| 177 | 177 | ||
| 178 | ```c | 178 | ```c |
| 179 | aclError aclrtDestroyLabelList(aclrtLabelList labelList) | 179 | aclError aclrtDestroyLabelList(aclrtLabelList labelList) |
| @@ -212,7 +212,7 @@ aclError aclrtDestroyLabelList(aclrtLabelList labelList) | |||
| 212 | 212 | ||
| 213 | <a id="aclrtSwitchLabelByIndex"></a> | 213 | <a id="aclrtSwitchLabelByIndex"></a> |
| 214 | 214 | ||
| 215 | -# aclrtSwitchLabelByIndex | 215 | +## aclrtSwitchLabelByIndex |
| 216 | 216 | ||
| 217 | ```c | 217 | ```c |
| 218 | aclError aclrtSwitchLabelByIndex(void *ptr, uint32_t maxValue, aclrtLabelList labelList, aclrtStream stream) | 218 | aclError aclrtSwitchLabelByIndex(void *ptr, uint32_t maxValue, aclrtLabelList labelList, aclrtStream stream) |
| @@ -243,4 +243,4 @@ aclError aclrtSwitchLabelByIndex(void *ptr, uint32_t maxValue, aclrtLabelList la | |||
| 243 | 243 | ||
| 244 | ### 返回值说明 | 244 | ### 返回值说明 |
| 245 | 245 | ||
| 246 | -返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 | 246 | +返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 |
| @@ -16,7 +16,7 @@ | |||
| 16 | 16 | ||
| 17 | <a id="aclrtMalloc"></a> | 17 | <a id="aclrtMalloc"></a> |
| 18 | 18 | ||
| 19 | -# aclrtMalloc | 19 | +## aclrtMalloc |
| 20 | 20 | ||
| 21 | ```c | 21 | ```c |
| 22 | aclError aclrtMalloc(void **devPtr, size_t size, aclrtMemMallocPolicy policy) | 22 | aclError aclrtMalloc(void **devPtr, size_t size, aclrtMemMallocPolicy policy) |
| @@ -80,7 +80,7 @@ aclError aclrtMalloc(void **devPtr, size_t size, aclrtMemMallocPolicy policy) | |||
| 80 | 80 | ||
| 81 | <a id="aclrtMallocAlign32"></a> | 81 | <a id="aclrtMallocAlign32"></a> |
| 82 | 82 | ||
| 83 | -# aclrtMallocAlign32 | 83 | +## aclrtMallocAlign32 |
| 84 | 84 | ||
| 85 | ```c | 85 | ```c |
| 86 | aclError aclrtMallocAlign32(void **devPtr, size_t size, aclrtMemMallocPolicy policy) | 86 | aclError aclrtMallocAlign32(void **devPtr, size_t size, aclrtMemMallocPolicy policy) |
| @@ -145,7 +145,7 @@ aclError aclrtMallocAlign32(void **devPtr, size_t size, aclrtMemMallocPolicy pol | |||
| 145 | 145 | ||
| 146 | <a id="aclrtMallocCached"></a> | 146 | <a id="aclrtMallocCached"></a> |
| 147 | 147 | ||
| 148 | -# aclrtMallocCached | 148 | +## aclrtMallocCached |
| 149 | 149 | ||
| 150 | ```c | 150 | ```c |
| 151 | aclError aclrtMallocCached(void **devPtr, size_t size, aclrtMemMallocPolicy policy) | 151 | aclError aclrtMallocCached(void **devPtr, size_t size, aclrtMemMallocPolicy policy) |
| @@ -188,7 +188,7 @@ aclError aclrtMallocCached(void **devPtr, size_t size, aclrtMemMallocPolicy poli | |||
| 188 | 188 | ||
| 189 | <a id="aclrtMallocWithCfg"></a> | 189 | <a id="aclrtMallocWithCfg"></a> |
| 190 | 190 | ||
| 191 | -# aclrtMallocWithCfg | 191 | +## aclrtMallocWithCfg |
| 192 | 192 | ||
| 193 | ```c | 193 | ```c |
| 194 | aclError aclrtMallocWithCfg(void **devPtr, size_t size, aclrtMemMallocPolicy policy, aclrtMallocConfig *cfg) | 194 | aclError aclrtMallocWithCfg(void **devPtr, size_t size, aclrtMemMallocPolicy policy, aclrtMallocConfig *cfg) |
| @@ -234,7 +234,7 @@ aclError aclrtMallocWithCfg(void **devPtr, size_t size, aclrtMemMallocPolicy pol | |||
| 234 | 234 | ||
| 235 | <a id="aclrtMallocForTaskScheduler"></a> | 235 | <a id="aclrtMallocForTaskScheduler"></a> |
| 236 | 236 | ||
| 237 | -# aclrtMallocForTaskScheduler | 237 | +## aclrtMallocForTaskScheduler |
| 238 | 238 | ||
| 239 | ```c | 239 | ```c |
| 240 | aclError aclrtMallocForTaskScheduler(void **devPtr, size_t size, aclrtMemMallocPolicy policy, aclrtMallocConfig *cfg) | 240 | aclError aclrtMallocForTaskScheduler(void **devPtr, size_t size, aclrtMemMallocPolicy policy, aclrtMallocConfig *cfg) |
| @@ -278,7 +278,7 @@ aclError aclrtMallocForTaskScheduler(void **devPtr, size_t size, aclrtMemMallocP | |||
| 278 | 278 | ||
| 279 | <a id="aclrtFree"></a> | 279 | <a id="aclrtFree"></a> |
| 280 | 280 | ||
| 281 | -# aclrtFree | 281 | +## aclrtFree |
| 282 | 282 | ||
| 283 | ```c | 283 | ```c |
| 284 | aclError aclrtFree(void *devPtr) | 284 | aclError aclrtFree(void *devPtr) |
| @@ -323,7 +323,7 @@ aclError aclrtFree(void *devPtr) | |||
| 323 | 323 | ||
| 324 | <a id="aclrtFreeWithDevSync"></a> | 324 | <a id="aclrtFreeWithDevSync"></a> |
| 325 | 325 | ||
| 326 | -# aclrtFreeWithDevSync | 326 | +## aclrtFreeWithDevSync |
| 327 | 327 | ||
| 328 | ```c | 328 | ```c |
| 329 | aclError aclrtFreeWithDevSync(void *devPtr) | 329 | aclError aclrtFreeWithDevSync(void *devPtr) |
| @@ -363,7 +363,7 @@ aclError aclrtFreeWithDevSync(void *devPtr) | |||
| 363 | 363 | ||
| 364 | <a id="aclrtGetMemInfo"></a> | 364 | <a id="aclrtGetMemInfo"></a> |
| 365 | 365 | ||
| 366 | -# aclrtGetMemInfo | 366 | +## aclrtGetMemInfo |
| 367 | 367 | ||
| 368 | ```c | 368 | ```c |
| 369 | aclError aclrtGetMemInfo(aclrtMemAttr attr, size_t *free, size_t *total) | 369 | aclError aclrtGetMemInfo(aclrtMemAttr attr, size_t *free, size_t *total) |
| @@ -409,7 +409,7 @@ aclError aclrtGetMemInfo(aclrtMemAttr attr, size_t *free, size_t *total) | |||
| 409 | 409 | ||
| 410 | <a id="aclrtGetMemUsageInfo"></a> | 410 | <a id="aclrtGetMemUsageInfo"></a> |
| 411 | 411 | ||
| 412 | -# aclrtGetMemUsageInfo | 412 | +## aclrtGetMemUsageInfo |
| 413 | 413 | ||
| 414 | ```c | 414 | ```c |
| 415 | aclError aclrtGetMemUsageInfo(int32_t deviceId, aclrtMemUsageInfo *memUsageInfo, size_t inputNum, size_t *outputNum) | 415 | aclError aclrtGetMemUsageInfo(int32_t deviceId, aclrtMemUsageInfo *memUsageInfo, size_t inputNum, size_t *outputNum) |
| @@ -451,7 +451,7 @@ aclError aclrtGetMemUsageInfo(int32_t deviceId, aclrtMemUsageInfo *memUsageInfo, | |||
| 451 | 451 | ||
| 452 | <a id="aclrtCheckMemType"></a> | 452 | <a id="aclrtCheckMemType"></a> |
| 453 | 453 | ||
| 454 | -# aclrtCheckMemType | 454 | +## aclrtCheckMemType |
| 455 | 455 | ||
| 456 | ```c | 456 | ```c |
| 457 | aclError aclrtCheckMemType(void** addrList, uint32_t size, uint32_t memType, uint32_t *checkResult, uint32_t reserve) | 457 | aclError aclrtCheckMemType(void** addrList, uint32_t size, uint32_t memType, uint32_t *checkResult, uint32_t reserve) |
| @@ -483,4 +483,4 @@ aclError aclrtCheckMemType(void** addrList, uint32_t size, uint32_t memType, uin | |||
| 483 | 483 | ||
| 484 | ### 返回值说明 | 484 | ### 返回值说明 |
| 485 | 485 | ||
| 486 | -返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 | 486 | +返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 |
| @@ -15,7 +15,7 @@ | |||
| 15 | 15 | ||
| 16 | <a id="aclrtMallocHost"></a> | 16 | <a id="aclrtMallocHost"></a> |
| 17 | 17 | ||
| 18 | -# aclrtMallocHost | 18 | +## aclrtMallocHost |
| 19 | 19 | ||
| 20 | ```c | 20 | ```c |
| 21 | aclError aclrtMallocHost(void **hostPtr, size_t size) | 21 | aclError aclrtMallocHost(void **hostPtr, size_t size) |
| @@ -64,7 +64,7 @@ aclError aclrtMallocHost(void **hostPtr, size_t size) | |||
| 64 | 64 | ||
| 65 | <a id="aclrtMallocHostWithCfg"></a> | 65 | <a id="aclrtMallocHostWithCfg"></a> |
| 66 | 66 | ||
| 67 | -# aclrtMallocHostWithCfg | 67 | +## aclrtMallocHostWithCfg |
| 68 | 68 | ||
| 69 | ```c | 69 | ```c |
| 70 | aclError aclrtMallocHostWithCfg(void **ptr, uint64_t size, aclrtMallocConfig *cfg) | 70 | aclError aclrtMallocHostWithCfg(void **ptr, uint64_t size, aclrtMallocConfig *cfg) |
| @@ -109,7 +109,7 @@ aclError aclrtMallocHostWithCfg(void **ptr, uint64_t size, aclrtMallocConfig *cf | |||
| 109 | 109 | ||
| 110 | <a id="aclrtFreeHost"></a> | 110 | <a id="aclrtFreeHost"></a> |
| 111 | 111 | ||
| 112 | -# aclrtFreeHost | 112 | +## aclrtFreeHost |
| 113 | 113 | ||
| 114 | ```c | 114 | ```c |
| 115 | aclError aclrtFreeHost(void *hostPtr) | 115 | aclError aclrtFreeHost(void *hostPtr) |
| @@ -150,7 +150,7 @@ aclError aclrtFreeHost(void *hostPtr) | |||
| 150 | 150 | ||
| 151 | <a id="aclrtFreeHostWithDevSync"></a> | 151 | <a id="aclrtFreeHostWithDevSync"></a> |
| 152 | 152 | ||
| 153 | -# aclrtFreeHostWithDevSync | 153 | +## aclrtFreeHostWithDevSync |
| 154 | 154 | ||
| 155 | ```c | 155 | ```c |
| 156 | aclError aclrtFreeHostWithDevSync(void *hostPtr) | 156 | aclError aclrtFreeHostWithDevSync(void *hostPtr) |
| @@ -191,7 +191,7 @@ aclError aclrtFreeHostWithDevSync(void *hostPtr) | |||
| 191 | 191 | ||
| 192 | <a id="aclrtHostRegister"></a> | 192 | <a id="aclrtHostRegister"></a> |
| 193 | 193 | ||
| 194 | -# aclrtHostRegister | 194 | +## aclrtHostRegister |
| 195 | 195 | ||
| 196 | ```c | 196 | ```c |
| 197 | aclError aclrtHostRegister(void *ptr, uint64_t size, aclrtHostRegisterType type, void **devPtr) | 197 | aclError aclrtHostRegister(void *ptr, uint64_t size, aclrtHostRegisterType type, void **devPtr) |
| @@ -237,7 +237,7 @@ aclError aclrtHostRegister(void *ptr, uint64_t size, aclrtHostRegisterType type, | |||
| 237 | 237 | ||
| 238 | <a id="aclrtHostRegisterV2"></a> | 238 | <a id="aclrtHostRegisterV2"></a> |
| 239 | 239 | ||
| 240 | -# aclrtHostRegisterV2 | 240 | +## aclrtHostRegisterV2 |
| 241 | 241 | ||
| 242 | ```c | 242 | ```c |
| 243 | aclError aclrtHostRegisterV2(void *ptr, uint64_t size, uint32_t flag) | 243 | aclError aclrtHostRegisterV2(void *ptr, uint64_t size, uint32_t flag) |
| @@ -280,7 +280,7 @@ aclError aclrtHostRegisterV2(void *ptr, uint64_t size, uint32_t flag) | |||
| 280 | 280 | ||
| 281 | <a id="aclrtHostGetDevicePointer"></a> | 281 | <a id="aclrtHostGetDevicePointer"></a> |
| 282 | 282 | ||
| 283 | -# aclrtHostGetDevicePointer | 283 | +## aclrtHostGetDevicePointer |
| 284 | 284 | ||
| 285 | ```c | 285 | ```c |
| 286 | aclError aclrtHostGetDevicePointer(void *pHost, void **pDevice, uint32_t flag) | 286 | aclError aclrtHostGetDevicePointer(void *pHost, void **pDevice, uint32_t flag) |
| @@ -321,7 +321,7 @@ aclError aclrtHostGetDevicePointer(void *pHost, void **pDevice, uint32_t flag) | |||
| 321 | 321 | ||
| 322 | <a id="aclrtHostMemMapCapabilities"></a> | 322 | <a id="aclrtHostMemMapCapabilities"></a> |
| 323 | 323 | ||
| 324 | -# aclrtHostMemMapCapabilities | 324 | +## aclrtHostMemMapCapabilities |
| 325 | 325 | ||
| 326 | ```c | 326 | ```c |
| 327 | aclError aclrtHostMemMapCapabilities(uint32_t deviceId, aclrtHacType hacType, aclrtHostMemMapCapability *capabilities) | 327 | aclError aclrtHostMemMapCapabilities(uint32_t deviceId, aclrtHacType hacType, aclrtHostMemMapCapability *capabilities) |
| @@ -362,7 +362,7 @@ aclError aclrtHostMemMapCapabilities(uint32_t deviceId, aclrtHacType hacType, ac | |||
| 362 | 362 | ||
| 363 | <a id="aclrtHostUnregister"></a> | 363 | <a id="aclrtHostUnregister"></a> |
| 364 | 364 | ||
| 365 | -# aclrtHostUnregister | 365 | +## aclrtHostUnregister |
| 366 | 366 | ||
| 367 | ```c | 367 | ```c |
| 368 | aclError aclrtHostUnregister(void *ptr) | 368 | aclError aclrtHostUnregister(void *ptr) |
| @@ -392,4 +392,4 @@ aclError aclrtHostUnregister(void *ptr) | |||
| 392 | 392 | ||
| 393 | ### 返回值说明 | 393 | ### 返回值说明 |
| 394 | 394 | ||
| 395 | -返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 | 395 | +返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 |
| @@ -21,7 +21,7 @@ | |||
| 21 | 21 | ||
| 22 | <a id="aclrtMemcpy"></a> | 22 | <a id="aclrtMemcpy"></a> |
| 23 | 23 | ||
| 24 | -# aclrtMemcpy | 24 | +## aclrtMemcpy |
| 25 | 25 | ||
| 26 | ```c | 26 | ```c |
| 27 | aclError aclrtMemcpy(void *dst, size_t destMax, const void *src, size_t count, aclrtMemcpyKind kind) | 27 | aclError aclrtMemcpy(void *dst, size_t destMax, const void *src, size_t count, aclrtMemcpyKind kind) |
| @@ -75,7 +75,7 @@ aclError aclrtMemcpy(void *dst, size_t destMax, const void *src, size_t count, a | |||
| 75 | 75 | ||
| 76 | <a id="aclrtMemcpyAsync"></a> | 76 | <a id="aclrtMemcpyAsync"></a> |
| 77 | 77 | ||
| 78 | -# aclrtMemcpyAsync | 78 | +## aclrtMemcpyAsync |
| 79 | 79 | ||
| 80 | ```c | 80 | ```c |
| 81 | aclError aclrtMemcpyAsync(void *dst, size_t destMax, const void *src, size_t count, aclrtMemcpyKind kind, aclrtStream stream) | 81 | aclError aclrtMemcpyAsync(void *dst, size_t destMax, const void *src, size_t count, aclrtMemcpyKind kind, aclrtStream stream) |
| @@ -125,7 +125,7 @@ aclError aclrtMemcpyAsync(void *dst, size_t destMax, const void *src, size_t cou | |||
| 125 | 125 | ||
| 126 | <a id="aclrtMemcpyAsyncWithCondition"></a> | 126 | <a id="aclrtMemcpyAsyncWithCondition"></a> |
| 127 | 127 | ||
| 128 | -# aclrtMemcpyAsyncWithCondition | 128 | +## aclrtMemcpyAsyncWithCondition |
| 129 | 129 | ||
| 130 | ```c | 130 | ```c |
| 131 | aclError aclrtMemcpyAsyncWithCondition(void *dst, size_t destMax, const void *src, size_t count, aclrtMemcpyKind kind, aclrtStream stream) | 131 | aclError aclrtMemcpyAsyncWithCondition(void *dst, size_t destMax, const void *src, size_t count, aclrtMemcpyKind kind, aclrtStream stream) |
| @@ -175,7 +175,7 @@ aclError aclrtMemcpyAsyncWithCondition(void *dst, size_t destMax, const void *sr | |||
| 175 | 175 | ||
| 176 | <a id="aclrtMemcpyBatch"></a> | 176 | <a id="aclrtMemcpyBatch"></a> |
| 177 | 177 | ||
| 178 | -# aclrtMemcpyBatch | 178 | +## aclrtMemcpyBatch |
| 179 | 179 | ||
| 180 | ```c | 180 | ```c |
| 181 | aclError aclrtMemcpyBatch(void **dsts, size_t *destMaxs, void **srcs, size_t *sizes, size_t numBatches, aclrtMemcpyBatchAttr *attrs, size_t *attrsIndexes, size_t numAttrs, size_t *failIndex) | 181 | aclError aclrtMemcpyBatch(void **dsts, size_t *destMaxs, void **srcs, size_t *sizes, size_t numBatches, aclrtMemcpyBatchAttr *attrs, size_t *attrsIndexes, size_t numAttrs, size_t *failIndex) |
| @@ -233,7 +233,7 @@ aclError aclrtMemcpyBatch(void **dsts, size_t *destMaxs, void **srcs, size_t *si | |||
| 233 | 233 | ||
| 234 | <a id="aclrtMemcpyBatchAsync"></a> | 234 | <a id="aclrtMemcpyBatchAsync"></a> |
| 235 | 235 | ||
| 236 | -# aclrtMemcpyBatchAsync | 236 | +## aclrtMemcpyBatchAsync |
| 237 | 237 | ||
| 238 | ```c | 238 | ```c |
| 239 | aclError aclrtMemcpyBatchAsync(void **dsts, size_t *destMaxs, void **srcs, size_t *sizes, size_t numBatches, aclrtMemcpyBatchAttr *attrs, size_t *attrsIndexes, size_t numAttrs, size_t *failIndex, aclrtStream stream) | 239 | aclError aclrtMemcpyBatchAsync(void **dsts, size_t *destMaxs, void **srcs, size_t *sizes, size_t numBatches, aclrtMemcpyBatchAttr *attrs, size_t *attrsIndexes, size_t numAttrs, size_t *failIndex, aclrtStream stream) |
| @@ -292,7 +292,7 @@ aclError aclrtMemcpyBatchAsync(void **dsts, size_t *destMaxs, void **srcs, size_ | |||
| 292 | 292 | ||
| 293 | <a id="aclrtMemcpyBatchV2"></a> | 293 | <a id="aclrtMemcpyBatchV2"></a> |
| 294 | 294 | ||
| 295 | -# aclrtMemcpyBatchV2 | 295 | +## aclrtMemcpyBatchV2 |
| 296 | 296 | ||
| 297 | ```c | 297 | ```c |
| 298 | aclError aclrtMemcpyBatchV2(void **dsts, size_t *destMaxs, void **srcs, size_t *sizes, size_t numBatches, aclrtMemcpyBatchAttr *attrs, size_t *attrsIndexes, size_t numAttrs) | 298 | aclError aclrtMemcpyBatchV2(void **dsts, size_t *destMaxs, void **srcs, size_t *sizes, size_t numBatches, aclrtMemcpyBatchAttr *attrs, size_t *attrsIndexes, size_t numAttrs) |
| @@ -351,7 +351,7 @@ aclError aclrtMemcpyBatchV2(void **dsts, size_t *destMaxs, void **srcs, size_t * | |||
| 351 | 351 | ||
| 352 | <a id="aclrtMemcpyBatchAsyncV2"></a> | 352 | <a id="aclrtMemcpyBatchAsyncV2"></a> |
| 353 | 353 | ||
| 354 | -# aclrtMemcpyBatchAsyncV2 | 354 | +## aclrtMemcpyBatchAsyncV2 |
| 355 | 355 | ||
| 356 | ```c | 356 | ```c |
| 357 | aclError aclrtMemcpyBatchAsyncV2(void **dsts, size_t *destMaxs, void **srcs, size_t *sizes, size_t numBatches, aclrtMemcpyBatchAttr *attrs, size_t *attrsIndexes, size_t numAttrs, aclrtStream stream) | 357 | aclError aclrtMemcpyBatchAsyncV2(void **dsts, size_t *destMaxs, void **srcs, size_t *sizes, size_t numBatches, aclrtMemcpyBatchAttr *attrs, size_t *attrsIndexes, size_t numAttrs, aclrtStream stream) |
| @@ -411,7 +411,7 @@ aclError aclrtMemcpyBatchAsyncV2(void **dsts, size_t *destMaxs, void **srcs, siz | |||
| 411 | 411 | ||
| 412 | <a id="aclrtMemcpy2d"></a> | 412 | <a id="aclrtMemcpy2d"></a> |
| 413 | 413 | ||
| 414 | -# aclrtMemcpy2d | 414 | +## aclrtMemcpy2d |
| 415 | 415 | ||
| 416 | ```c | 416 | ```c |
| 417 | aclError aclrtMemcpy2d(void *dst, size_t dpitch, const void *src, size_t spitch, size_t width, size_t height, aclrtMemcpyKind kind) | 417 | aclError aclrtMemcpy2d(void *dst, size_t dpitch, const void *src, size_t spitch, size_t width, size_t height, aclrtMemcpyKind kind) |
| @@ -466,7 +466,7 @@ aclError aclrtMemcpy2d(void *dst, size_t dpitch, const void *src, size_t spitch, | |||
| 466 | 466 | ||
| 467 | <a id="aclrtMemcpy2dAsync"></a> | 467 | <a id="aclrtMemcpy2dAsync"></a> |
| 468 | 468 | ||
| 469 | -# aclrtMemcpy2dAsync | 469 | +## aclrtMemcpy2dAsync |
| 470 | 470 | ||
| 471 | ```c | 471 | ```c |
| 472 | aclError aclrtMemcpy2dAsync(void *dst, size_t dpitch, const void *src, size_t spitch, size_t width, size_t height, aclrtMemcpyKind kind, aclrtStream stream) | 472 | aclError aclrtMemcpy2dAsync(void *dst, size_t dpitch, const void *src, size_t spitch, size_t width, size_t height, aclrtMemcpyKind kind, aclrtStream stream) |
| @@ -539,7 +539,7 @@ aclError aclrtMemcpy2dAsync(void *dst, size_t dpitch, const void *src, size_t sp | |||
| 539 | 539 | ||
| 540 | <a id="aclrtGetMemcpyDescSize"></a> | 540 | <a id="aclrtGetMemcpyDescSize"></a> |
| 541 | 541 | ||
| 542 | -# aclrtGetMemcpyDescSize | 542 | +## aclrtGetMemcpyDescSize |
| 543 | 543 | ||
| 544 | ```c | 544 | ```c |
| 545 | aclError aclrtGetMemcpyDescSize(aclrtMemcpyKind kind, size_t *descSize) | 545 | aclError aclrtGetMemcpyDescSize(aclrtMemcpyKind kind, size_t *descSize) |
| @@ -581,7 +581,7 @@ aclError aclrtGetMemcpyDescSize(aclrtMemcpyKind kind, size_t *descSize) | |||
| 581 | 581 | ||
| 582 | <a id="aclrtSetMemcpyDesc"></a> | 582 | <a id="aclrtSetMemcpyDesc"></a> |
| 583 | 583 | ||
| 584 | -# aclrtSetMemcpyDesc | 584 | +## aclrtSetMemcpyDesc |
| 585 | 585 | ||
| 586 | ```c | 586 | ```c |
| 587 | aclError aclrtSetMemcpyDesc(void *desc, aclrtMemcpyKind kind, void *srcAddr, void *dstAddr, size_t count, void *config) | 587 | aclError aclrtSetMemcpyDesc(void *desc, aclrtMemcpyKind kind, void *srcAddr, void *dstAddr, size_t count, void *config) |
| @@ -627,7 +627,7 @@ aclError aclrtSetMemcpyDesc(void *desc, aclrtMemcpyKind kind, void *srcAddr, voi | |||
| 627 | 627 | ||
| 628 | <a id="aclrtMemcpyAsyncWithDesc"></a> | 628 | <a id="aclrtMemcpyAsyncWithDesc"></a> |
| 629 | 629 | ||
| 630 | -# aclrtMemcpyAsyncWithDesc | 630 | +## aclrtMemcpyAsyncWithDesc |
| 631 | 631 | ||
| 632 | ```c | 632 | ```c |
| 633 | aclError aclrtMemcpyAsyncWithDesc(void *desc, aclrtMemcpyKind kind, aclrtStream stream) | 633 | aclError aclrtMemcpyAsyncWithDesc(void *desc, aclrtMemcpyKind kind, aclrtStream stream) |
| @@ -676,7 +676,7 @@ aclError aclrtMemcpyAsyncWithDesc(void *desc, aclrtMemcpyKind kind, aclrtStream | |||
| 676 | 676 | ||
| 677 | <a id="aclrtMemcpyAsyncWithOffset"></a> | 677 | <a id="aclrtMemcpyAsyncWithOffset"></a> |
| 678 | 678 | ||
| 679 | -# aclrtMemcpyAsyncWithOffset | 679 | +## aclrtMemcpyAsyncWithOffset |
| 680 | 680 | ||
| 681 | ```c | 681 | ```c |
| 682 | aclError aclrtMemcpyAsyncWithOffset(void **dst, size_t destMax, size_t dstDataOffset, const void **src, size_t count, size_t srcDataOffset, aclrtMemcpyKind kind, aclrtStream stream) | 682 | aclError aclrtMemcpyAsyncWithOffset(void **dst, size_t destMax, size_t dstDataOffset, const void **src, size_t count, size_t srcDataOffset, aclrtMemcpyKind kind, aclrtStream stream) |
| @@ -722,7 +722,7 @@ aclError aclrtMemcpyAsyncWithOffset(void **dst, size_t destMax, size_t dstDataOf | |||
| 722 | 722 | ||
| 723 | <a id="aclrtMemset"></a> | 723 | <a id="aclrtMemset"></a> |
| 724 | 724 | ||
| 725 | -# aclrtMemset | 725 | +## aclrtMemset |
| 726 | 726 | ||
| 727 | ```c | 727 | ```c |
| 728 | aclError aclrtMemset(void *devPtr, size_t maxCount, int32_t value, size_t count) | 728 | aclError aclrtMemset(void *devPtr, size_t maxCount, int32_t value, size_t count) |
| @@ -770,7 +770,7 @@ aclError aclrtMemset(void *devPtr, size_t maxCount, int32_t value, size_t count) | |||
| 770 | 770 | ||
| 771 | <a id="aclrtMemsetAsync"></a> | 771 | <a id="aclrtMemsetAsync"></a> |
| 772 | 772 | ||
| 773 | -# aclrtMemsetAsync | 773 | +## aclrtMemsetAsync |
| 774 | 774 | ||
| 775 | ```c | 775 | ```c |
| 776 | aclError aclrtMemsetAsync(void *devPtr, size_t maxCount, int32_t value, size_t count, aclrtStream stream) | 776 | aclError aclrtMemsetAsync(void *devPtr, size_t maxCount, int32_t value, size_t count, aclrtStream stream) |
| @@ -804,4 +804,4 @@ aclError aclrtMemsetAsync(void *devPtr, size_t maxCount, int32_t value, size_t c | |||
| 804 | 804 | ||
| 805 | ### 返回值说明 | 805 | ### 返回值说明 |
| 806 | 806 | ||
| 807 | -返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 | 807 | +返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 |
| @@ -25,7 +25,7 @@ | |||
| 25 | 25 | ||
| 26 | <a id="aclrtMallocPhysical"></a> | 26 | <a id="aclrtMallocPhysical"></a> |
| 27 | 27 | ||
| 28 | -# aclrtMallocPhysical | 28 | +## aclrtMallocPhysical |
| 29 | 29 | ||
| 30 | ```c | 30 | ```c |
| 31 | aclError aclrtMallocPhysical(aclrtDrvMemHandle *handle, size_t size, const aclrtPhysicalMemProp *prop, uint64_t flags) | 31 | aclError aclrtMallocPhysical(aclrtDrvMemHandle *handle, size_t size, const aclrtPhysicalMemProp *prop, uint64_t flags) |
| @@ -104,7 +104,7 @@ aclError aclrtMallocPhysical(aclrtDrvMemHandle *handle, size_t size, const aclrt | |||
| 104 | 104 | ||
| 105 | <a id="aclrtFreePhysical"></a> | 105 | <a id="aclrtFreePhysical"></a> |
| 106 | 106 | ||
| 107 | -# aclrtFreePhysical | 107 | +## aclrtFreePhysical |
| 108 | 108 | ||
| 109 | ```c | 109 | ```c |
| 110 | aclError aclrtFreePhysical(aclrtDrvMemHandle handle) | 110 | aclError aclrtFreePhysical(aclrtDrvMemHandle handle) |
| @@ -145,7 +145,7 @@ aclError aclrtFreePhysical(aclrtDrvMemHandle handle) | |||
| 145 | 145 | ||
| 146 | <a id="aclrtReserveMemAddress"></a> | 146 | <a id="aclrtReserveMemAddress"></a> |
| 147 | 147 | ||
| 148 | -# aclrtReserveMemAddress | 148 | +## aclrtReserveMemAddress |
| 149 | 149 | ||
| 150 | ```c | 150 | ```c |
| 151 | aclError aclrtReserveMemAddress(void **virPtr, size_t size, size_t alignment, void *expectPtr, uint64_t flags) | 151 | aclError aclrtReserveMemAddress(void **virPtr, size_t size, size_t alignment, void *expectPtr, uint64_t flags) |
| @@ -202,7 +202,7 @@ aclError aclrtReserveMemAddress(void **virPtr, size_t size, size_t alignment, vo | |||
| 202 | 202 | ||
| 203 | <a id="aclrtReserveMemAddressNoUCMemory"></a> | 203 | <a id="aclrtReserveMemAddressNoUCMemory"></a> |
| 204 | 204 | ||
| 205 | -# aclrtReserveMemAddressNoUCMemory | 205 | +## aclrtReserveMemAddressNoUCMemory |
| 206 | 206 | ||
| 207 | ```c | 207 | ```c |
| 208 | aclError aclrtReserveMemAddressNoUCMemory(void **virPtr, size_t size, size_t alignment, void *expectPtr, uint64_t flags) | 208 | aclError aclrtReserveMemAddressNoUCMemory(void **virPtr, size_t size, size_t alignment, void *expectPtr, uint64_t flags) |
| @@ -251,7 +251,7 @@ aclError aclrtReserveMemAddressNoUCMemory(void **virPtr, size_t size, size_t ali | |||
| 251 | 251 | ||
| 252 | <a id="aclrtReleaseMemAddress"></a> | 252 | <a id="aclrtReleaseMemAddress"></a> |
| 253 | 253 | ||
| 254 | -# aclrtReleaseMemAddress | 254 | +## aclrtReleaseMemAddress |
| 255 | 255 | ||
| 256 | ```c | 256 | ```c |
| 257 | aclError aclrtReleaseMemAddress(void *virPtr) | 257 | aclError aclrtReleaseMemAddress(void *virPtr) |
| @@ -304,7 +304,7 @@ aclError aclrtReleaseMemAddress(void *virPtr) | |||
| 304 | 304 | ||
| 305 | <a id="aclrtMapMem"></a> | 305 | <a id="aclrtMapMem"></a> |
| 306 | 306 | ||
| 307 | -# aclrtMapMem | 307 | +## aclrtMapMem |
| 308 | 308 | ||
| 309 | ```c | 309 | ```c |
| 310 | aclError aclrtMapMem(void *virPtr, size_t size, size_t offset, aclrtDrvMemHandle handle, uint64_t flags) | 310 | aclError aclrtMapMem(void *virPtr, size_t size, size_t offset, aclrtDrvMemHandle handle, uint64_t flags) |
| @@ -357,7 +357,7 @@ aclError aclrtMapMem(void *virPtr, size_t size, size_t offset, aclrtDrvMemHandle | |||
| 357 | 357 | ||
| 358 | <a id="aclrtUnmapMem"></a> | 358 | <a id="aclrtUnmapMem"></a> |
| 359 | 359 | ||
| 360 | -# aclrtUnmapMem | 360 | +## aclrtUnmapMem |
| 361 | 361 | ||
| 362 | ```c | 362 | ```c |
| 363 | aclError aclrtUnmapMem(void *virPtr) | 363 | aclError aclrtUnmapMem(void *virPtr) |
| @@ -406,7 +406,7 @@ aclError aclrtUnmapMem(void *virPtr) | |||
| 406 | 406 | ||
| 407 | <a id="aclrtMemExportToShareableHandle"></a> | 407 | <a id="aclrtMemExportToShareableHandle"></a> |
| 408 | 408 | ||
| 409 | -# aclrtMemExportToShareableHandle | 409 | +## aclrtMemExportToShareableHandle |
| 410 | 410 | ||
| 411 | ```c | 411 | ```c |
| 412 | aclError aclrtMemExportToShareableHandle(aclrtDrvMemHandle handle, aclrtMemHandleType handleType, uint64_t flags, uint64_t *shareableHandle) | 412 | aclError aclrtMemExportToShareableHandle(aclrtDrvMemHandle handle, aclrtMemHandleType handleType, uint64_t flags, uint64_t *shareableHandle) |
| @@ -485,7 +485,7 @@ aclError aclrtMemExportToShareableHandle(aclrtDrvMemHandle handle, aclrtMemHandl | |||
| 485 | 485 | ||
| 486 | <a id="aclrtMemSetPidToShareableHandle"></a> | 486 | <a id="aclrtMemSetPidToShareableHandle"></a> |
| 487 | 487 | ||
| 488 | -# aclrtMemSetPidToShareableHandle | 488 | +## aclrtMemSetPidToShareableHandle |
| 489 | 489 | ||
| 490 | ```c | 490 | ```c |
| 491 | aclError aclrtMemSetPidToShareableHandle(uint64_t shareableHandle, int32_t *pid, size_t pidNum) | 491 | aclError aclrtMemSetPidToShareableHandle(uint64_t shareableHandle, int32_t *pid, size_t pidNum) |
| @@ -528,7 +528,7 @@ aclError aclrtMemSetPidToShareableHandle(uint64_t shareableHandle, int32_t *pid, | |||
| 528 | 528 | ||
| 529 | <a id="aclrtMemImportFromShareableHandle"></a> | 529 | <a id="aclrtMemImportFromShareableHandle"></a> |
| 530 | 530 | ||
| 531 | -# aclrtMemImportFromShareableHandle | 531 | +## aclrtMemImportFromShareableHandle |
| 532 | 532 | ||
| 533 | ```c | 533 | ```c |
| 534 | aclError aclrtMemImportFromShareableHandle(uint64_t shareableHandle, int32_t deviceId, aclrtDrvMemHandle *handle) | 534 | aclError aclrtMemImportFromShareableHandle(uint64_t shareableHandle, int32_t deviceId, aclrtDrvMemHandle *handle) |
| @@ -578,7 +578,7 @@ aclError aclrtMemImportFromShareableHandle(uint64_t shareableHandle, int32_t dev | |||
| 578 | 578 | ||
| 579 | <a id="aclrtMemExportToShareableHandleV2"></a> | 579 | <a id="aclrtMemExportToShareableHandleV2"></a> |
| 580 | 580 | ||
| 581 | -# aclrtMemExportToShareableHandleV2 | 581 | +## aclrtMemExportToShareableHandleV2 |
| 582 | 582 | ||
| 583 | ```c | 583 | ```c |
| 584 | aclError aclrtMemExportToShareableHandleV2(aclrtDrvMemHandle handle, uint64_t flags, aclrtMemSharedHandleType shareType, void *shareableHandle) | 584 | aclError aclrtMemExportToShareableHandleV2(aclrtDrvMemHandle handle, uint64_t flags, aclrtMemSharedHandleType shareType, void *shareableHandle) |
| @@ -630,7 +630,7 @@ aclError aclrtMemExportToShareableHandleV2(aclrtDrvMemHandle handle, uint64_t fl | |||
| 630 | 630 | ||
| 631 | <a id="aclrtMemSetPidToShareableHandleV2"></a> | 631 | <a id="aclrtMemSetPidToShareableHandleV2"></a> |
| 632 | 632 | ||
| 633 | -# aclrtMemSetPidToShareableHandleV2 | 633 | +## aclrtMemSetPidToShareableHandleV2 |
| 634 | 634 | ||
| 635 | ```c | 635 | ```c |
| 636 | aclError aclrtMemSetPidToShareableHandleV2(void *shareableHandle, aclrtMemSharedHandleType shareType, int32_t *pid, size_t pidNum) | 636 | aclError aclrtMemSetPidToShareableHandleV2(void *shareableHandle, aclrtMemSharedHandleType shareType, int32_t *pid, size_t pidNum) |
| @@ -676,7 +676,7 @@ aclError aclrtMemSetPidToShareableHandleV2(void *shareableHandle, aclrtMemShared | |||
| 676 | 676 | ||
| 677 | <a id="aclrtMemImportFromShareableHandleV2"></a> | 677 | <a id="aclrtMemImportFromShareableHandleV2"></a> |
| 678 | 678 | ||
| 679 | -# aclrtMemImportFromShareableHandleV2 | 679 | +## aclrtMemImportFromShareableHandleV2 |
| 680 | 680 | ||
| 681 | ```c | 681 | ```c |
| 682 | aclError aclrtMemImportFromShareableHandleV2(void *shareableHandle, aclrtMemSharedHandleType shareType, uint64_t flags, aclrtDrvMemHandle *handle); | 682 | aclError aclrtMemImportFromShareableHandleV2(void *shareableHandle, aclrtMemSharedHandleType shareType, uint64_t flags, aclrtDrvMemHandle *handle); |
| @@ -728,7 +728,7 @@ aclError aclrtMemImportFromShareableHandleV2(void *shareableHandle, aclrtMemShar | |||
| 728 | 728 | ||
| 729 | <a id="aclrtMemGetAllocationGranularity"></a> | 729 | <a id="aclrtMemGetAllocationGranularity"></a> |
| 730 | 730 | ||
| 731 | -# aclrtMemGetAllocationGranularity | 731 | +## aclrtMemGetAllocationGranularity |
| 732 | 732 | ||
| 733 | ```c | 733 | ```c |
| 734 | aclError aclrtMemGetAllocationGranularity(aclrtPhysicalMemProp *prop, aclrtMemGranularityOptions option, size_t *granularity) | 734 | aclError aclrtMemGetAllocationGranularity(aclrtPhysicalMemProp *prop, aclrtMemGranularityOptions option, size_t *granularity) |
| @@ -771,7 +771,7 @@ aclError aclrtMemGetAllocationGranularity(aclrtPhysicalMemProp *prop, aclrtMemGr | |||
| 771 | 771 | ||
| 772 | <a id="aclrtMemSetAccess"></a> | 772 | <a id="aclrtMemSetAccess"></a> |
| 773 | 773 | ||
| 774 | -# aclrtMemSetAccess | 774 | +## aclrtMemSetAccess |
| 775 | 775 | ||
| 776 | ```c | 776 | ```c |
| 777 | aclError aclrtMemSetAccess(void* virPtr, size_t size, aclrtMemAccessDesc* desc, size_t count) | 777 | aclError aclrtMemSetAccess(void* virPtr, size_t size, aclrtMemAccessDesc* desc, size_t count) |
| @@ -813,7 +813,7 @@ aclError aclrtMemSetAccess(void* virPtr, size_t size, aclrtMemAccessDesc* desc, | |||
| 813 | 813 | ||
| 814 | <a id="aclrtMemGetAccess"></a> | 814 | <a id="aclrtMemGetAccess"></a> |
| 815 | 815 | ||
| 816 | -# aclrtMemGetAccess | 816 | +## aclrtMemGetAccess |
| 817 | 817 | ||
| 818 | ```c | 818 | ```c |
| 819 | aclError aclrtMemGetAccess(void *virPtr, aclrtMemLocation *location, uint64_t *flag) | 819 | aclError aclrtMemGetAccess(void *virPtr, aclrtMemLocation *location, uint64_t *flag) |
| @@ -854,7 +854,7 @@ aclError aclrtMemGetAccess(void *virPtr, aclrtMemLocation *location, uint64_t *f | |||
| 854 | 854 | ||
| 855 | <a id="aclrtMemRetainAllocationHandle"></a> | 855 | <a id="aclrtMemRetainAllocationHandle"></a> |
| 856 | 856 | ||
| 857 | -# aclrtMemRetainAllocationHandle | 857 | +## aclrtMemRetainAllocationHandle |
| 858 | 858 | ||
| 859 | ```c | 859 | ```c |
| 860 | aclError aclrtMemRetainAllocationHandle(void* virPtr, aclrtDrvMemHandle *handle) | 860 | aclError aclrtMemRetainAllocationHandle(void* virPtr, aclrtDrvMemHandle *handle) |
| @@ -896,7 +896,7 @@ aclError aclrtMemRetainAllocationHandle(void* virPtr, aclrtDrvMemHandle *handle) | |||
| 896 | 896 | ||
| 897 | <a id="aclrtMemGetAllocationPropertiesFromHandle"></a> | 897 | <a id="aclrtMemGetAllocationPropertiesFromHandle"></a> |
| 898 | 898 | ||
| 899 | -# aclrtMemGetAllocationPropertiesFromHandle | 899 | +## aclrtMemGetAllocationPropertiesFromHandle |
| 900 | 900 | ||
| 901 | ```c | 901 | ```c |
| 902 | aclError aclrtMemGetAllocationPropertiesFromHandle(aclrtDrvMemHandle handle, aclrtPhysicalMemProp* prop) | 902 | aclError aclrtMemGetAllocationPropertiesFromHandle(aclrtDrvMemHandle handle, aclrtPhysicalMemProp* prop) |
| @@ -936,7 +936,7 @@ aclError aclrtMemGetAllocationPropertiesFromHandle(aclrtDrvMemHandle handle, acl | |||
| 936 | 936 | ||
| 937 | <a id="aclrtMemGetAddressRange"></a> | 937 | <a id="aclrtMemGetAddressRange"></a> |
| 938 | 938 | ||
| 939 | -# aclrtMemGetAddressRange | 939 | +## aclrtMemGetAddressRange |
| 940 | 940 | ||
| 941 | ```c | 941 | ```c |
| 942 | aclError aclrtMemGetAddressRange(void *ptr, void **pbase, size_t *psize) | 942 | aclError aclrtMemGetAddressRange(void *ptr, void **pbase, size_t *psize) |
| @@ -13,7 +13,7 @@ | |||
| 13 | 13 | ||
| 14 | <a id="aclrtMemAllocManaged"></a> | 14 | <a id="aclrtMemAllocManaged"></a> |
| 15 | 15 | ||
| 16 | -# aclrtMemAllocManaged | 16 | +## aclrtMemAllocManaged |
| 17 | 17 | ||
| 18 | ```c | 18 | ```c |
| 19 | aclError aclrtMemAllocManaged(void **ptr, uint64_t size, uint32_t flag) | 19 | aclError aclrtMemAllocManaged(void **ptr, uint64_t size, uint32_t flag) |
| @@ -60,7 +60,7 @@ aclError aclrtMemAllocManaged(void **ptr, uint64_t size, uint32_t flag) | |||
| 60 | 60 | ||
| 61 | <a id="aclrtMemManagedAdvise"></a> | 61 | <a id="aclrtMemManagedAdvise"></a> |
| 62 | 62 | ||
| 63 | -# aclrtMemManagedAdvise | 63 | +## aclrtMemManagedAdvise |
| 64 | 64 | ||
| 65 | ```c | 65 | ```c |
| 66 | aclError aclrtMemManagedAdvise(const void *const ptr, uint64_t size, aclrtMemManagedAdviseType advise, aclrtMemManagedLocation location) | 66 | aclError aclrtMemManagedAdvise(const void *const ptr, uint64_t size, aclrtMemManagedAdviseType advise, aclrtMemManagedLocation location) |
| @@ -104,7 +104,7 @@ aclError aclrtMemManagedAdvise(const void *const ptr, uint64_t size, aclrtMemMan | |||
| 104 | 104 | ||
| 105 | <a id="aclrtMemManagedGetAttr"></a> | 105 | <a id="aclrtMemManagedGetAttr"></a> |
| 106 | 106 | ||
| 107 | -# aclrtMemManagedGetAttr | 107 | +## aclrtMemManagedGetAttr |
| 108 | 108 | ||
| 109 | ```c | 109 | ```c |
| 110 | aclError aclrtMemManagedGetAttr(aclrtMemManagedRangeAttribute attribute, const void *ptr, size_t size, void *data, size_t dataSize) | 110 | aclError aclrtMemManagedGetAttr(aclrtMemManagedRangeAttribute attribute, const void *ptr, size_t size, void *data, size_t dataSize) |
| @@ -151,7 +151,7 @@ aclError aclrtMemManagedGetAttr(aclrtMemManagedRangeAttribute attribute, const v | |||
| 151 | 151 | ||
| 152 | <a id="aclrtMemManagedGetAttrs"></a> | 152 | <a id="aclrtMemManagedGetAttrs"></a> |
| 153 | 153 | ||
| 154 | -# aclrtMemManagedGetAttrs | 154 | +## aclrtMemManagedGetAttrs |
| 155 | 155 | ||
| 156 | ```c | 156 | ```c |
| 157 | aclError aclrtMemManagedGetAttrs(aclrtMemManagedRangeAttribute *attributes, size_t numAttributes, const void *ptr, size_t size, void **data, size_t *dataSizes) | 157 | aclError aclrtMemManagedGetAttrs(aclrtMemManagedRangeAttribute *attributes, size_t numAttributes, const void *ptr, size_t size, void **data, size_t *dataSizes) |
| @@ -199,7 +199,7 @@ aclError aclrtMemManagedGetAttrs(aclrtMemManagedRangeAttribute *attributes, size | |||
| 199 | 199 | ||
| 200 | <a id="aclrtMemManagedPrefetchAsync"></a> | 200 | <a id="aclrtMemManagedPrefetchAsync"></a> |
| 201 | 201 | ||
| 202 | -# aclrtMemManagedPrefetchAsync | 202 | +## aclrtMemManagedPrefetchAsync |
| 203 | 203 | ||
| 204 | ```c | 204 | ```c |
| 205 | aclError aclrtMemManagedPrefetchAsync(const void* ptr, size_t size, aclrtMemManagedLocation location, uint32_t flags, aclrtStream stream) | 205 | aclError aclrtMemManagedPrefetchAsync(const void* ptr, size_t size, aclrtMemManagedLocation location, uint32_t flags, aclrtStream stream) |
| @@ -243,7 +243,7 @@ aclError aclrtMemManagedPrefetchAsync(const void* ptr, size_t size, aclrtMemMana | |||
| 243 | 243 | ||
| 244 | <a id="aclrtMemManagedPrefetchBatchAsync"></a> | 244 | <a id="aclrtMemManagedPrefetchBatchAsync"></a> |
| 245 | 245 | ||
| 246 | -# aclrtMemManagedPrefetchBatchAsync | 246 | +## aclrtMemManagedPrefetchBatchAsync |
| 247 | 247 | ||
| 248 | ```c | 248 | ```c |
| 249 | aclError aclrtMemManagedPrefetchBatchAsync(const void** ptrs, size_t* sizes, size_t count, aclrtMemManagedLocation* prefetchLocs, size_t* prefetchLocIdxs, size_t numPrefetchLocs, uint64_t flags, aclrtStream stream) | 249 | aclError aclrtMemManagedPrefetchBatchAsync(const void** ptrs, size_t* sizes, size_t count, aclrtMemManagedLocation* prefetchLocs, size_t* prefetchLocIdxs, size_t numPrefetchLocs, uint64_t flags, aclrtStream stream) |
| @@ -295,7 +295,7 @@ aclError aclrtMemManagedPrefetchBatchAsync(const void** ptrs, size_t* sizes, siz | |||
| 295 | 295 | ||
| 296 | <a id="aclrtMemP2PMap"></a> | 296 | <a id="aclrtMemP2PMap"></a> |
| 297 | 297 | ||
| 298 | -# aclrtMemP2PMap | 298 | +## aclrtMemP2PMap |
| 299 | 299 | ||
| 300 | ```c | 300 | ```c |
| 301 | aclError aclrtMemP2PMap(void *devPtr, size_t size, int32_t dstDevId, uint64_t flags) | 301 | aclError aclrtMemP2PMap(void *devPtr, size_t size, int32_t dstDevId, uint64_t flags) |
| @@ -337,7 +337,7 @@ aclError aclrtMemP2PMap(void *devPtr, size_t size, int32_t dstDevId, uint64_t fl | |||
| 337 | 337 | ||
| 338 | <a id="aclrtPointerGetAttributes"></a> | 338 | <a id="aclrtPointerGetAttributes"></a> |
| 339 | 339 | ||
| 340 | -# aclrtPointerGetAttributes | 340 | +## aclrtPointerGetAttributes |
| 341 | 341 | ||
| 342 | ```c | 342 | ```c |
| 343 | aclError aclrtPointerGetAttributes(const void *ptr, aclrtPtrAttributes *attributes) | 343 | aclError aclrtPointerGetAttributes(const void *ptr, aclrtPtrAttributes *attributes) |
| @@ -14,7 +14,7 @@ | |||
| 14 | 14 | ||
| 15 | <a id="aclrtMemFlush"></a> | 15 | <a id="aclrtMemFlush"></a> |
| 16 | 16 | ||
| 17 | -# aclrtMemFlush | 17 | +## aclrtMemFlush |
| 18 | 18 | ||
| 19 | ```c | 19 | ```c |
| 20 | aclError aclrtMemFlush(void *devPtr, size_t size) | 20 | aclError aclrtMemFlush(void *devPtr, size_t size) |
| @@ -56,7 +56,7 @@ aclError aclrtMemFlush(void *devPtr, size_t size) | |||
| 56 | 56 | ||
| 57 | <a id="aclrtMemInvalidate"></a> | 57 | <a id="aclrtMemInvalidate"></a> |
| 58 | 58 | ||
| 59 | -# aclrtMemInvalidate | 59 | +## aclrtMemInvalidate |
| 60 | 60 | ||
| 61 | ```c | 61 | ```c |
| 62 | aclError aclrtMemInvalidate(void *devPtr, size_t size) | 62 | aclError aclrtMemInvalidate(void *devPtr, size_t size) |
| @@ -98,7 +98,7 @@ aclError aclrtMemInvalidate(void *devPtr, size_t size) | |||
| 98 | 98 | ||
| 99 | <a id="aclrtCmoAsync"></a> | 99 | <a id="aclrtCmoAsync"></a> |
| 100 | 100 | ||
| 101 | -# aclrtCmoAsync | 101 | +## aclrtCmoAsync |
| 102 | 102 | ||
| 103 | ```c | 103 | ```c |
| 104 | aclError aclrtCmoAsync(void *src, size_t size, aclrtCmoType cmoType, aclrtStream stream) | 104 | aclError aclrtCmoAsync(void *src, size_t size, aclrtCmoType cmoType, aclrtStream stream) |
| @@ -140,7 +140,7 @@ aclError aclrtCmoAsync(void *src, size_t size, aclrtCmoType cmoType, aclrtStream | |||
| 140 | 140 | ||
| 141 | <a id="aclrtCmoAsyncWithBarrier"></a> | 141 | <a id="aclrtCmoAsyncWithBarrier"></a> |
| 142 | 142 | ||
| 143 | -# aclrtCmoAsyncWithBarrier | 143 | +## aclrtCmoAsyncWithBarrier |
| 144 | 144 | ||
| 145 | ```c | 145 | ```c |
| 146 | aclError aclrtCmoAsyncWithBarrier(void *src, size_t size, aclrtCmoType cmoType, uint32_t barrierId, aclrtStream stream) | 146 | aclError aclrtCmoAsyncWithBarrier(void *src, size_t size, aclrtCmoType cmoType, uint32_t barrierId, aclrtStream stream) |
| @@ -183,7 +183,7 @@ aclError aclrtCmoAsyncWithBarrier(void *src, size_t size, aclrtCmoType cmoType, | |||
| 183 | 183 | ||
| 184 | <a id="aclrtCmoWaitBarrier"></a> | 184 | <a id="aclrtCmoWaitBarrier"></a> |
| 185 | 185 | ||
| 186 | -# aclrtCmoWaitBarrier | 186 | +## aclrtCmoWaitBarrier |
| 187 | 187 | ||
| 188 | ```c | 188 | ```c |
| 189 | aclError aclrtCmoWaitBarrier(aclrtBarrierTaskInfo *taskInfo, aclrtStream stream, uint32_t flag) | 189 | aclError aclrtCmoWaitBarrier(aclrtBarrierTaskInfo *taskInfo, aclrtStream stream, uint32_t flag) |
| @@ -224,7 +224,7 @@ aclError aclrtCmoWaitBarrier(aclrtBarrierTaskInfo *taskInfo, aclrtStream stream, | |||
| 224 | 224 | ||
| 225 | <a id="aclrtCmoGetDescSize"></a> | 225 | <a id="aclrtCmoGetDescSize"></a> |
| 226 | 226 | ||
| 227 | -# aclrtCmoGetDescSize | 227 | +## aclrtCmoGetDescSize |
| 228 | 228 | ||
| 229 | ```c | 229 | ```c |
| 230 | aclError aclrtCmoGetDescSize(size_t *size) | 230 | aclError aclrtCmoGetDescSize(size_t *size) |
| @@ -263,7 +263,7 @@ aclError aclrtCmoGetDescSize(size_t *size) | |||
| 263 | 263 | ||
| 264 | <a id="aclrtCmoSetDesc"></a> | 264 | <a id="aclrtCmoSetDesc"></a> |
| 265 | 265 | ||
| 266 | -# aclrtCmoSetDesc | 266 | +## aclrtCmoSetDesc |
| 267 | 267 | ||
| 268 | ```c | 268 | ```c |
| 269 | aclError aclrtCmoSetDesc(void *cmoDesc, void *src, size_t size) | 269 | aclError aclrtCmoSetDesc(void *cmoDesc, void *src, size_t size) |
| @@ -304,7 +304,7 @@ aclError aclrtCmoSetDesc(void *cmoDesc, void *src, size_t size) | |||
| 304 | 304 | ||
| 305 | <a id="aclrtCmoAsyncWithDesc"></a> | 305 | <a id="aclrtCmoAsyncWithDesc"></a> |
| 306 | 306 | ||
| 307 | -# aclrtCmoAsyncWithDesc | 307 | +## aclrtCmoAsyncWithDesc |
| 308 | 308 | ||
| 309 | ```c | 309 | ```c |
| 310 | aclError aclrtCmoAsyncWithDesc(void *cmoDesc, aclrtCmoType cmoType, aclrtStream stream, const void *reserve) | 310 | aclError aclrtCmoAsyncWithDesc(void *cmoDesc, aclrtCmoType cmoType, aclrtStream stream, const void *reserve) |
| @@ -12,7 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | <a id="aclrtIpcMemGetExportKey"></a> | 13 | <a id="aclrtIpcMemGetExportKey"></a> |
| 14 | 14 | ||
| 15 | -# aclrtIpcMemGetExportKey | 15 | +## aclrtIpcMemGetExportKey |
| 16 | 16 | ||
| 17 | ```c | 17 | ```c |
| 18 | aclError aclrtIpcMemGetExportKey(void *devPtr, size_t size, char *key, size_t len, uint64_t flags) | 18 | aclError aclrtIpcMemGetExportKey(void *devPtr, size_t size, char *key, size_t len, uint64_t flags) |
| @@ -91,7 +91,7 @@ aclError aclrtIpcMemGetExportKey(void *devPtr, size_t size, char *key, size_t le | |||
| 91 | 91 | ||
| 92 | <a id="aclrtIpcMemSetImportPid"></a> | 92 | <a id="aclrtIpcMemSetImportPid"></a> |
| 93 | 93 | ||
| 94 | -# aclrtIpcMemSetImportPid | 94 | +## aclrtIpcMemSetImportPid |
| 95 | 95 | ||
| 96 | ```c | 96 | ```c |
| 97 | aclError aclrtIpcMemSetImportPid(const char *key, int32_t *pid, size_t num) | 97 | aclError aclrtIpcMemSetImportPid(const char *key, int32_t *pid, size_t num) |
| @@ -134,7 +134,7 @@ aclError aclrtIpcMemSetImportPid(const char *key, int32_t *pid, size_t num) | |||
| 134 | 134 | ||
| 135 | <a id="aclrtIpcMemImportPidInterServer"></a> | 135 | <a id="aclrtIpcMemImportPidInterServer"></a> |
| 136 | 136 | ||
| 137 | -# aclrtIpcMemImportPidInterServer | 137 | +## aclrtIpcMemImportPidInterServer |
| 138 | 138 | ||
| 139 | ```c | 139 | ```c |
| 140 | aclError aclrtIpcMemImportPidInterServer(const char *key, aclrtServerPid *serverPids, size_t num) | 140 | aclError aclrtIpcMemImportPidInterServer(const char *key, aclrtServerPid *serverPids, size_t num) |
| @@ -175,7 +175,7 @@ aclError aclrtIpcMemImportPidInterServer(const char *key, aclrtServerPid *server | |||
| 175 | 175 | ||
| 176 | <a id="aclrtIpcMemImportByKey"></a> | 176 | <a id="aclrtIpcMemImportByKey"></a> |
| 177 | 177 | ||
| 178 | -# aclrtIpcMemImportByKey | 178 | +## aclrtIpcMemImportByKey |
| 179 | 179 | ||
| 180 | ```c | 180 | ```c |
| 181 | aclError aclrtIpcMemImportByKey(void **devPtr, const char *key, uint64_t flags) | 181 | aclError aclrtIpcMemImportByKey(void **devPtr, const char *key, uint64_t flags) |
| @@ -218,7 +218,7 @@ aclError aclrtIpcMemImportByKey(void **devPtr, const char *key, uint64_t flags) | |||
| 218 | 218 | ||
| 219 | <a id="aclrtIpcMemSetAttr"></a> | 219 | <a id="aclrtIpcMemSetAttr"></a> |
| 220 | 220 | ||
| 221 | -# aclrtIpcMemSetAttr | 221 | +## aclrtIpcMemSetAttr |
| 222 | 222 | ||
| 223 | ```c | 223 | ```c |
| 224 | aclError aclrtIpcMemSetAttr(const char *key, aclrtIpcMemAttrType type, uint64_t attr) | 224 | aclError aclrtIpcMemSetAttr(const char *key, aclrtIpcMemAttrType type, uint64_t attr) |
| @@ -259,7 +259,7 @@ aclError aclrtIpcMemSetAttr(const char *key, aclrtIpcMemAttrType type, uint64_t | |||
| 259 | 259 | ||
| 260 | <a id="aclrtIpcMemClose"></a> | 260 | <a id="aclrtIpcMemClose"></a> |
| 261 | 261 | ||
| 262 | -# aclrtIpcMemClose | 262 | +## aclrtIpcMemClose |
| 263 | 263 | ||
| 264 | ```c | 264 | ```c |
| 265 | aclError aclrtIpcMemClose(const char *key) | 265 | aclError aclrtIpcMemClose(const char *key) |
| @@ -9,7 +9,7 @@ | |||
| 9 | 9 | ||
| 10 | <a id="aclrtAllocatorRegister"></a> | 10 | <a id="aclrtAllocatorRegister"></a> |
| 11 | 11 | ||
| 12 | -# aclrtAllocatorRegister | 12 | +## aclrtAllocatorRegister |
| 13 | 13 | ||
| 14 | ```c | 14 | ```c |
| 15 | aclError aclrtAllocatorRegister(aclrtStream stream, aclrtAllocatorDesc allocatorDesc) | 15 | aclError aclrtAllocatorRegister(aclrtStream stream, aclrtAllocatorDesc allocatorDesc) |
| @@ -62,7 +62,7 @@ aclError aclrtAllocatorRegister(aclrtStream stream, aclrtAllocatorDesc allocator | |||
| 62 | 62 | ||
| 63 | <a id="aclrtAllocatorGetByStream"></a> | 63 | <a id="aclrtAllocatorGetByStream"></a> |
| 64 | 64 | ||
| 65 | -# aclrtAllocatorGetByStream | 65 | +## aclrtAllocatorGetByStream |
| 66 | 66 | ||
| 67 | ```c | 67 | ```c |
| 68 | aclError aclrtAllocatorGetByStream(aclrtStream stream, aclrtAllocatorDesc *allocatorDesc, aclrtAllocator *allocator, aclrtAllocatorAllocFunc *allocFunc, aclrtAllocatorFreeFunc *freeFunc, aclrtAllocatorAllocAdviseFunc *allocAdviseFunc, aclrtAllocatorGetAddrFromBlockFunc *getAddrFromBlockFunc) | 68 | aclError aclrtAllocatorGetByStream(aclrtStream stream, aclrtAllocatorDesc *allocatorDesc, aclrtAllocator *allocator, aclrtAllocatorAllocFunc *allocFunc, aclrtAllocatorFreeFunc *freeFunc, aclrtAllocatorAllocAdviseFunc *allocAdviseFunc, aclrtAllocatorGetAddrFromBlockFunc *getAddrFromBlockFunc) |
| @@ -107,7 +107,7 @@ aclError aclrtAllocatorGetByStream(aclrtStream stream, aclrtAllocatorDesc *alloc | |||
| 107 | 107 | ||
| 108 | <a id="aclrtAllocatorUnregister"></a> | 108 | <a id="aclrtAllocatorUnregister"></a> |
| 109 | 109 | ||
| 110 | -# aclrtAllocatorUnregister | 110 | +## aclrtAllocatorUnregister |
| 111 | 111 | ||
| 112 | ```c | 112 | ```c |
| 113 | aclError aclrtAllocatorUnregister(aclrtStream stream) | 113 | aclError aclrtAllocatorUnregister(aclrtStream stream) |
| @@ -8,7 +8,7 @@ | |||
| 8 | 8 | ||
| 9 | <a id="aclrtValueWrite"></a> | 9 | <a id="aclrtValueWrite"></a> |
| 10 | 10 | ||
| 11 | -# aclrtValueWrite | 11 | +## aclrtValueWrite |
| 12 | 12 | ||
| 13 | ```c | 13 | ```c |
| 14 | aclError aclrtValueWrite(void* devAddr, uint64_t value, uint32_t flag, aclrtStream stream) | 14 | aclError aclrtValueWrite(void* devAddr, uint64_t value, uint32_t flag, aclrtStream stream) |
| @@ -50,7 +50,7 @@ aclError aclrtValueWrite(void* devAddr, uint64_t value, uint32_t flag, aclrtStre | |||
| 50 | 50 | ||
| 51 | <a id="aclrtValueWait"></a> | 51 | <a id="aclrtValueWait"></a> |
| 52 | 52 | ||
| 53 | -# aclrtValueWait | 53 | +## aclrtValueWait |
| 54 | 54 | ||
| 55 | ```c | 55 | ```c |
| 56 | aclError aclrtValueWait(void* devAddr, uint64_t value, uint32_t flag, aclrtStream stream) | 56 | aclError aclrtValueWait(void* devAddr, uint64_t value, uint32_t flag, aclrtStream stream) |
| @@ -224,7 +224,7 @@ int main() { | |||
| 224 | 224 | ||
| 225 | <a id="aclrtMemPoolCreate"></a> | 225 | <a id="aclrtMemPoolCreate"></a> |
| 226 | 226 | ||
| 227 | -# aclrtMemPoolCreate | 227 | +## aclrtMemPoolCreate |
| 228 | 228 | ||
| 229 | ```c | 229 | ```c |
| 230 | aclError aclrtMemPoolCreate(aclrtMemPool *memPool, const aclrtMemPoolProps *poolProps) | 230 | aclError aclrtMemPoolCreate(aclrtMemPool *memPool, const aclrtMemPoolProps *poolProps) |
| @@ -266,7 +266,7 @@ aclError aclrtMemPoolCreate(aclrtMemPool *memPool, const aclrtMemPoolProps *pool | |||
| 266 | 266 | ||
| 267 | <a id="aclrtMemPoolDestroy"></a> | 267 | <a id="aclrtMemPoolDestroy"></a> |
| 268 | 268 | ||
| 269 | -# aclrtMemPoolDestroy | 269 | +## aclrtMemPoolDestroy |
| 270 | 270 | ||
| 271 | ```c | 271 | ```c |
| 272 | aclError aclrtMemPoolDestroy(const aclrtMemPool memPool) | 272 | aclError aclrtMemPoolDestroy(const aclrtMemPool memPool) |
| @@ -307,7 +307,7 @@ aclError aclrtMemPoolDestroy(const aclrtMemPool memPool) | |||
| 307 | 307 | ||
| 308 | <a id="aclrtMemPoolSetAttr"></a> | 308 | <a id="aclrtMemPoolSetAttr"></a> |
| 309 | 309 | ||
| 310 | -# aclrtMemPoolSetAttr | 310 | +## aclrtMemPoolSetAttr |
| 311 | 311 | ||
| 312 | ```c | 312 | ```c |
| 313 | aclError aclrtMemPoolSetAttr(aclrtMemPool memPool, aclrtMemPoolAttr attr, void *value) | 313 | aclError aclrtMemPoolSetAttr(aclrtMemPool memPool, aclrtMemPoolAttr attr, void *value) |
| @@ -352,7 +352,7 @@ aclError aclrtMemPoolSetAttr(aclrtMemPool memPool, aclrtMemPoolAttr attr, void * | |||
| 352 | 352 | ||
| 353 | <a id="aclrtMemPoolGetAttr"></a> | 353 | <a id="aclrtMemPoolGetAttr"></a> |
| 354 | 354 | ||
| 355 | -# aclrtMemPoolGetAttr | 355 | +## aclrtMemPoolGetAttr |
| 356 | 356 | ||
| 357 | ```c | 357 | ```c |
| 358 | aclError aclrtMemPoolGetAttr(aclrtMemPool memPool, aclrtMemPoolAttr attr, void *value) | 358 | aclError aclrtMemPoolGetAttr(aclrtMemPool memPool, aclrtMemPoolAttr attr, void *value) |
| @@ -397,7 +397,7 @@ aclError aclrtMemPoolGetAttr(aclrtMemPool memPool, aclrtMemPoolAttr attr, void * | |||
| 397 | 397 | ||
| 398 | <a id="aclrtMemPoolMallocAsync"></a> | 398 | <a id="aclrtMemPoolMallocAsync"></a> |
| 399 | 399 | ||
| 400 | -# aclrtMemPoolMallocAsync | 400 | +## aclrtMemPoolMallocAsync |
| 401 | 401 | ||
| 402 | ```c | 402 | ```c |
| 403 | aclError aclrtMemPoolMallocAsync(void **ptr, size_t size, aclrtMemPool memPool, aclrtStream stream) | 403 | aclError aclrtMemPoolMallocAsync(void **ptr, size_t size, aclrtMemPool memPool, aclrtStream stream) |
| @@ -441,7 +441,7 @@ aclError aclrtMemPoolMallocAsync(void **ptr, size_t size, aclrtMemPool memPool, | |||
| 441 | 441 | ||
| 442 | <a id="aclrtMemPoolFreeAsync"></a> | 442 | <a id="aclrtMemPoolFreeAsync"></a> |
| 443 | 443 | ||
| 444 | -# aclrtMemPoolFreeAsync | 444 | +## aclrtMemPoolFreeAsync |
| 445 | 445 | ||
| 446 | ```c | 446 | ```c |
| 447 | aclError aclrtMemPoolFreeAsync(void *ptr, aclrtStream stream) | 447 | aclError aclrtMemPoolFreeAsync(void *ptr, aclrtStream stream) |
| @@ -482,7 +482,7 @@ aclError aclrtMemPoolFreeAsync(void *ptr, aclrtStream stream) | |||
| 482 | 482 | ||
| 483 | <a id="aclrtMemPoolFreeAsync"></a> | 483 | <a id="aclrtMemPoolFreeAsync"></a> |
| 484 | 484 | ||
| 485 | -# aclrtMemPoolFreeAsync | 485 | +## aclrtMemPoolFreeAsync |
| 486 | 486 | ||
| 487 | ```c | 487 | ```c |
| 488 | aclError aclrtMemPoolFreeAsync(void *ptr, aclrtStream stream) | 488 | aclError aclrtMemPoolFreeAsync(void *ptr, aclrtStream stream) |
| @@ -523,7 +523,7 @@ aclError aclrtMemPoolFreeAsync(void *ptr, aclrtStream stream) | |||
| 523 | 523 | ||
| 524 | <a id="aclrtMemPoolTrimTo"></a> | 524 | <a id="aclrtMemPoolTrimTo"></a> |
| 525 | 525 | ||
| 526 | -# aclrtMemPoolTrimTo | 526 | +## aclrtMemPoolTrimTo |
| 527 | 527 | ||
| 528 | ```c | 528 | ```c |
| 529 | aclError aclrtMemPoolTrimTo(aclrtMemPool memPool, size_t minBytesToKeep) | 529 | aclError aclrtMemPoolTrimTo(aclrtMemPool memPool, size_t minBytesToKeep) |
| @@ -1,4 +1,4 @@ | |||
| 1 | -# 11. 内存管理 | 1 | +# 11. 内存管理 |
| 2 | 2 | ||
| 3 | 本章节描述 CANN Runtime 的内存管理接口,涵盖设备内存分配、主机内存管理、内存拷贝、虚拟内存、统一内存、缓存操作、IPC 内存共享等功能。 | 3 | 本章节描述 CANN Runtime 的内存管理接口,涵盖设备内存分配、主机内存管理、内存拷贝、虚拟内存、统一内存、缓存操作、IPC 内存共享等功能。 |
| 4 | 4 | ||
| @@ -9,7 +9,7 @@ | |||
| 9 | 9 | ||
| 10 | | 型号 | 注意事项 | | 10 | | 型号 | 注意事项 | |
| 11 | | --- | --- | | 11 | | --- | --- | |
| 12 | -| 各型号都涉及 | - 若涉及媒体数据处理功能,由于媒体数据处理功能对存放输入、输出数据的内存有更高的要求,因此需调用专用的内存申请接口,例如hi_mpi_dvpp_malloc。<br> - 调用专用的内存申请接口申请出来的内存可以满足媒体数据处理的要求,也可以在其它任务中使用,例如,从性能角度,为了减少拷贝,媒体数据处理的输出作为模型推理的输入,实现内存复用。<br> - 但由于媒体数据处理访问的地址空间有限,为确保媒体数据处理时内存足够,除媒体数据处理功能外的其它功能(例如,模型加载),建议调用[内存管理](内存管理.md)下的接口申请内存,例如[aclrtMalloc](11-01_设备内存分配与释放.md#aclrtMalloc)接口、[aclrtMallocHost](11-02_主机内存管理.md#aclrtMallocHost)接口等。 | | 12 | +| 各型号都涉及 | - 若涉及媒体数据处理功能,由于媒体数据处理功能对存放输入、输出数据的内存有更高的要求,因此需调用专用的内存申请接口,例如hi_mpi_dvpp_malloc。<br> - 调用专用的内存申请接口申请出来的内存可以满足媒体数据处理的要求,也可以在其它任务中使用,例如,从性能角度,为了减少拷贝,媒体数据处理的输出作为模型推理的输入,实现内存复用。<br> - 但由于媒体数据处理访问的地址空间有限,为确保媒体数据处理时内存足够,除媒体数据处理功能外的其它功能(例如,模型加载),建议调用[内存管理](11_内存管理.md)下的接口申请内存,例如[aclrtMalloc](11-01_设备内存分配与释放.md#aclrtMalloc)接口、[aclrtMallocHost](11-02_主机内存管理.md#aclrtMallocHost)接口等。 | |
| 13 | | Ascend 950PR/Ascend 950DT<br>Atlas A3 训练系列产品/Atlas A3 推理系列产品<br>Atlas A2 训练系列产品/Atlas A2 推理系列产品 | - 若涉及申请Device上的大页内存,需注意,当前版本为防止大页内存不够用,系统内部已提前预留大页内存,用户在使用大页内存前,可调用[aclrtGetMemInfo](11-01_设备内存分配与释放.md#aclrtGetMemInfo)接口,查询空闲的大页内存。<br> - Ascend EP形态下,Device启动后首次执行推理或训练任务时,会将系统包加载到Device上,因此会占用部分Device内存(300M左右,不同AI处理器有所不同)。若Device重启,这部分内存才会释放。 | | 13 | | Ascend 950PR/Ascend 950DT<br>Atlas A3 训练系列产品/Atlas A3 推理系列产品<br>Atlas A2 训练系列产品/Atlas A2 推理系列产品 | - 若涉及申请Device上的大页内存,需注意,当前版本为防止大页内存不够用,系统内部已提前预留大页内存,用户在使用大页内存前,可调用[aclrtGetMemInfo](11-01_设备内存分配与释放.md#aclrtGetMemInfo)接口,查询空闲的大页内存。<br> - Ascend EP形态下,Device启动后首次执行推理或训练任务时,会将系统包加载到Device上,因此会占用部分Device内存(300M左右,不同AI处理器有所不同)。若Device重启,这部分内存才会释放。 | |
| 14 | 14 | ||
| 15 | --- | 15 | --- |
| @@ -28,3 +28,4 @@ | |||
| 28 | - [11-09 流内存操作](11-09_流内存操作.md)(2 个接口) | 28 | - [11-09 流内存操作](11-09_流内存操作.md)(2 个接口) |
| 29 | - [11-10 Stream有序内存分配](11-10_Stream有序内存分配.md)(7 个接口) | 29 | - [11-10 Stream有序内存分配](11-10_Stream有序内存分配.md)(7 个接口) |
| 30 | 30 | ||
| 31 | + | ||
| @@ -23,7 +23,7 @@ | |||
| 23 | 23 | ||
| 24 | <a id="aclrtLaunchCallback"></a> | 24 | <a id="aclrtLaunchCallback"></a> |
| 25 | 25 | ||
| 26 | -# aclrtLaunchCallback | 26 | +## aclrtLaunchCallback |
| 27 | 27 | ||
| 28 | ```c | 28 | ```c |
| 29 | aclError aclrtLaunchCallback(aclrtCallback fn, void *userData, aclrtCallbackBlockType blockType, aclrtStream stream) | 29 | aclError aclrtLaunchCallback(aclrtCallback fn, void *userData, aclrtCallbackBlockType blockType, aclrtStream stream) |
| @@ -82,7 +82,7 @@ aclError aclrtLaunchCallback(aclrtCallback fn, void *userData, aclrtCallbackBloc | |||
| 82 | 82 | ||
| 83 | <a id="aclrtSubscribeReport"></a> | 83 | <a id="aclrtSubscribeReport"></a> |
| 84 | 84 | ||
| 85 | -# aclrtSubscribeReport | 85 | +## aclrtSubscribeReport |
| 86 | 86 | ||
| 87 | ```c | 87 | ```c |
| 88 | aclError aclrtSubscribeReport(uint64_t threadId, aclrtStream stream) | 88 | aclError aclrtSubscribeReport(uint64_t threadId, aclrtStream stream) |
| @@ -142,7 +142,7 @@ aclError aclrtSubscribeReport(uint64_t threadId, aclrtStream stream) | |||
| 142 | 142 | ||
| 143 | <a id="aclrtProcessReport"></a> | 143 | <a id="aclrtProcessReport"></a> |
| 144 | 144 | ||
| 145 | -# aclrtProcessReport | 145 | +## aclrtProcessReport |
| 146 | 146 | ||
| 147 | ```c | 147 | ```c |
| 148 | aclError aclrtProcessReport(int32_t timeout) | 148 | aclError aclrtProcessReport(int32_t timeout) |
| @@ -190,7 +190,7 @@ aclError aclrtProcessReport(int32_t timeout) | |||
| 190 | 190 | ||
| 191 | <a id="aclrtUnSubscribeReport"></a> | 191 | <a id="aclrtUnSubscribeReport"></a> |
| 192 | 192 | ||
| 193 | -# aclrtUnSubscribeReport | 193 | +## aclrtUnSubscribeReport |
| 194 | 194 | ||
| 195 | ```c | 195 | ```c |
| 196 | aclError aclrtUnSubscribeReport(uint64_t threadId, aclrtStream stream) | 196 | aclError aclrtUnSubscribeReport(uint64_t threadId, aclrtStream stream) |
| @@ -239,7 +239,7 @@ aclError aclrtUnSubscribeReport(uint64_t threadId, aclrtStream stream) | |||
| 239 | 239 | ||
| 240 | <a id="aclrtSubscribeHostFunc"></a> | 240 | <a id="aclrtSubscribeHostFunc"></a> |
| 241 | 241 | ||
| 242 | -# aclrtSubscribeHostFunc | 242 | +## aclrtSubscribeHostFunc |
| 243 | 243 | ||
| 244 | ```c | 244 | ```c |
| 245 | aclError aclrtSubscribeHostFunc(uint64_t hostFuncThreadId, aclrtStream exeStream) | 245 | aclError aclrtSubscribeHostFunc(uint64_t hostFuncThreadId, aclrtStream exeStream) |
| @@ -284,7 +284,7 @@ aclError aclrtSubscribeHostFunc(uint64_t hostFuncThreadId, aclrtStream exeStream | |||
| 284 | 284 | ||
| 285 | <a id="aclrtProcessHostFunc"></a> | 285 | <a id="aclrtProcessHostFunc"></a> |
| 286 | 286 | ||
| 287 | -# aclrtProcessHostFunc | 287 | +## aclrtProcessHostFunc |
| 288 | 288 | ||
| 289 | ```c | 289 | ```c |
| 290 | aclError aclrtProcessHostFunc(int32_t timeout) | 290 | aclError aclrtProcessHostFunc(int32_t timeout) |
| @@ -325,7 +325,7 @@ aclError aclrtProcessHostFunc(int32_t timeout) | |||
| 325 | 325 | ||
| 326 | <a id="aclrtUnSubscribeHostFunc"></a> | 326 | <a id="aclrtUnSubscribeHostFunc"></a> |
| 327 | 327 | ||
| 328 | -# aclrtUnSubscribeHostFunc | 328 | +## aclrtUnSubscribeHostFunc |
| 329 | 329 | ||
| 330 | ```c | 330 | ```c |
| 331 | aclError aclrtUnSubscribeHostFunc(uint64_t hostFuncThreadId, aclrtStream exeStream) | 331 | aclError aclrtUnSubscribeHostFunc(uint64_t hostFuncThreadId, aclrtStream exeStream) |
| @@ -365,7 +365,7 @@ aclError aclrtUnSubscribeHostFunc(uint64_t hostFuncThreadId, aclrtStream exeStre | |||
| 365 | 365 | ||
| 366 | <a id="aclrtGetOpTimeoutInterval"></a> | 366 | <a id="aclrtGetOpTimeoutInterval"></a> |
| 367 | 367 | ||
| 368 | -# aclrtGetOpTimeoutInterval | 368 | +## aclrtGetOpTimeoutInterval |
| 369 | 369 | ||
| 370 | ```c | 370 | ```c |
| 371 | aclError aclrtGetOpTimeoutInterval(uint64_t *interval) | 371 | aclError aclrtGetOpTimeoutInterval(uint64_t *interval) |
| @@ -402,7 +402,7 @@ aclError aclrtGetOpTimeoutInterval(uint64_t *interval) | |||
| 402 | 402 | ||
| 403 | <a id="aclrtSetOpExecuteTimeOut"></a> | 403 | <a id="aclrtSetOpExecuteTimeOut"></a> |
| 404 | 404 | ||
| 405 | -# aclrtSetOpExecuteTimeOut | 405 | +## aclrtSetOpExecuteTimeOut |
| 406 | 406 | ||
| 407 | ```c | 407 | ```c |
| 408 | aclError aclrtSetOpExecuteTimeOut(uint32_t timeout) | 408 | aclError aclrtSetOpExecuteTimeOut(uint32_t timeout) |
| @@ -467,7 +467,7 @@ Atlas A2 训练系列产品/Atlas A2 推理系列产品 | |||
| 467 | 467 | ||
| 468 | <a id="aclrtSetOpExecuteTimeOutV2"></a> | 468 | <a id="aclrtSetOpExecuteTimeOutV2"></a> |
| 469 | 469 | ||
| 470 | -# aclrtSetOpExecuteTimeOutV2 | 470 | +## aclrtSetOpExecuteTimeOutV2 |
| 471 | 471 | ||
| 472 | ```c | 472 | ```c |
| 473 | aclError aclrtSetOpExecuteTimeOutV2(uint64_t timeout, uint64_t *actualTimeout) | 473 | aclError aclrtSetOpExecuteTimeOutV2(uint64_t timeout, uint64_t *actualTimeout) |
| @@ -507,7 +507,7 @@ aclError aclrtSetOpExecuteTimeOutV2(uint64_t timeout, uint64_t *actualTimeout) | |||
| 507 | 507 | ||
| 508 | <a id="aclrtSetOpExecuteTimeOutWithMs"></a> | 508 | <a id="aclrtSetOpExecuteTimeOutWithMs"></a> |
| 509 | 509 | ||
| 510 | -# aclrtSetOpExecuteTimeOutWithMs | 510 | +## aclrtSetOpExecuteTimeOutWithMs |
| 511 | 511 | ||
| 512 | ```c | 512 | ```c |
| 513 | aclError aclrtSetOpExecuteTimeOutWithMs(uint32_t timeout) | 513 | aclError aclrtSetOpExecuteTimeOutWithMs(uint32_t timeout) |
| @@ -546,7 +546,7 @@ aclError aclrtSetOpExecuteTimeOutWithMs(uint32_t timeout) | |||
| 546 | 546 | ||
| 547 | <a id="aclrtGetOpExecuteTimeOut"></a> | 547 | <a id="aclrtGetOpExecuteTimeOut"></a> |
| 548 | 548 | ||
| 549 | -# aclrtGetOpExecuteTimeOut | 549 | +## aclrtGetOpExecuteTimeOut |
| 550 | 550 | ||
| 551 | ```c | 551 | ```c |
| 552 | aclError aclrtGetOpExecuteTimeout(uint32_t *const timeoutMs) | 552 | aclError aclrtGetOpExecuteTimeout(uint32_t *const timeoutMs) |
| @@ -585,7 +585,7 @@ aclError aclrtGetOpExecuteTimeout(uint32_t *const timeoutMs) | |||
| 585 | 585 | ||
| 586 | <a id="aclrtGetThreadLastTaskId"></a> | 586 | <a id="aclrtGetThreadLastTaskId"></a> |
| 587 | 587 | ||
| 588 | -# aclrtGetThreadLastTaskId | 588 | +## aclrtGetThreadLastTaskId |
| 589 | 589 | ||
| 590 | ```c | 590 | ```c |
| 591 | aclError aclrtGetThreadLastTaskId(uint32_t *taskId) | 591 | aclError aclrtGetThreadLastTaskId(uint32_t *taskId) |
| @@ -624,7 +624,7 @@ aclError aclrtGetThreadLastTaskId(uint32_t *taskId) | |||
| 624 | 624 | ||
| 625 | <a id="aclrtReduceAsync"></a> | 625 | <a id="aclrtReduceAsync"></a> |
| 626 | 626 | ||
| 627 | -# aclrtReduceAsync | 627 | +## aclrtReduceAsync |
| 628 | 628 | ||
| 629 | ```c | 629 | ```c |
| 630 | aclError aclrtReduceAsync(void *dst, const void *src, uint64_t count, aclrtReduceKind kind, aclDataType type, aclrtStream stream, void *reserve) | 630 | aclError aclrtReduceAsync(void *dst, const void *src, uint64_t count, aclrtReduceKind kind, aclDataType type, aclrtStream stream, void *reserve) |
| @@ -673,7 +673,7 @@ dts、src必须跟stream所在的Device是同一个设备。 | |||
| 673 | 673 | ||
| 674 | <a id="aclrtLaunchHostFunc"></a> | 674 | <a id="aclrtLaunchHostFunc"></a> |
| 675 | 675 | ||
| 676 | -# aclrtLaunchHostFunc | 676 | +## aclrtLaunchHostFunc |
| 677 | 677 | ||
| 678 | ```c | 678 | ```c |
| 679 | aclError aclrtLaunchHostFunc(aclrtStream stream, aclrtHostFunc fn, void *args) | 679 | aclError aclrtLaunchHostFunc(aclrtStream stream, aclrtHostFunc fn, void *args) |
| @@ -722,7 +722,7 @@ aclError aclrtLaunchHostFunc(aclrtStream stream, aclrtHostFunc fn, void *args) | |||
| 722 | 722 | ||
| 723 | <a id="aclrtRandomNumAsync"></a> | 723 | <a id="aclrtRandomNumAsync"></a> |
| 724 | 724 | ||
| 725 | -# aclrtRandomNumAsync | 725 | +## aclrtRandomNumAsync |
| 726 | 726 | ||
| 727 | ```c | 727 | ```c |
| 728 | aclError aclrtRandomNumAsync(const aclrtRandomNumTaskInfo *taskInfo, const aclrtStream stream, void *reserve) | 728 | aclError aclrtRandomNumAsync(const aclrtRandomNumTaskInfo *taskInfo, const aclrtStream stream, void *reserve) |
| @@ -763,7 +763,7 @@ aclError aclrtRandomNumAsync(const aclrtRandomNumTaskInfo *taskInfo, const aclrt | |||
| 763 | 763 | ||
| 764 | <a id="aclrtTaskUpdateAsync"></a> | 764 | <a id="aclrtTaskUpdateAsync"></a> |
| 765 | 765 | ||
| 766 | -# aclrtTaskUpdateAsync | 766 | +## aclrtTaskUpdateAsync |
| 767 | 767 | ||
| 768 | ```c | 768 | ```c |
| 769 | aclError aclrtTaskUpdateAsync(aclrtStream taskStream, uint32_t taskId, aclrtTaskUpdateInfo *info, aclrtStream execStream) | 769 | aclError aclrtTaskUpdateAsync(aclrtStream taskStream, uint32_t taskId, aclrtTaskUpdateInfo *info, aclrtStream execStream) |
| @@ -22,7 +22,7 @@ | |||
| 22 | 22 | ||
| 23 | <a id="aclGetRecentErrMsg"></a> | 23 | <a id="aclGetRecentErrMsg"></a> |
| 24 | 24 | ||
| 25 | -# aclGetRecentErrMsg | 25 | +## aclGetRecentErrMsg |
| 26 | 26 | ||
| 27 | ```c | 27 | ```c |
| 28 | const char *aclGetRecentErrMsg() | 28 | const char *aclGetRecentErrMsg() |
| @@ -64,7 +64,7 @@ const char *aclGetRecentErrMsg() | |||
| 64 | 64 | ||
| 65 | <a id="aclrtSetExceptionInfoCallback"></a> | 65 | <a id="aclrtSetExceptionInfoCallback"></a> |
| 66 | 66 | ||
| 67 | -# aclrtSetExceptionInfoCallback | 67 | +## aclrtSetExceptionInfoCallback |
| 68 | 68 | ||
| 69 | ```c | 69 | ```c |
| 70 | aclError aclrtSetExceptionInfoCallback(aclrtExceptionInfoCallback callback) | 70 | aclError aclrtSetExceptionInfoCallback(aclrtExceptionInfoCallback callback) |
| @@ -187,7 +187,7 @@ aclmdlExecute(modelId, input, output); | |||
| 187 | 187 | ||
| 188 | <a id="aclrtGetTaskIdFromExceptionInfo"></a> | 188 | <a id="aclrtGetTaskIdFromExceptionInfo"></a> |
| 189 | 189 | ||
| 190 | -# aclrtGetTaskIdFromExceptionInfo | 190 | +## aclrtGetTaskIdFromExceptionInfo |
| 191 | 191 | ||
| 192 | ```c | 192 | ```c |
| 193 | uint32_t aclrtGetTaskIdFromExceptionInfo(const aclrtExceptionInfo *info) | 193 | uint32_t aclrtGetTaskIdFromExceptionInfo(const aclrtExceptionInfo *info) |
| @@ -226,7 +226,7 @@ uint32_t aclrtGetTaskIdFromExceptionInfo(const aclrtExceptionInfo *info) | |||
| 226 | 226 | ||
| 227 | <a id="aclrtGetStreamIdFromExceptionInfo"></a> | 227 | <a id="aclrtGetStreamIdFromExceptionInfo"></a> |
| 228 | 228 | ||
| 229 | -# aclrtGetStreamIdFromExceptionInfo | 229 | +## aclrtGetStreamIdFromExceptionInfo |
| 230 | 230 | ||
| 231 | ```c | 231 | ```c |
| 232 | uint32_t aclrtGetStreamIdFromExceptionInfo(const aclrtExceptionInfo *info) | 232 | uint32_t aclrtGetStreamIdFromExceptionInfo(const aclrtExceptionInfo *info) |
| @@ -265,7 +265,7 @@ uint32_t aclrtGetStreamIdFromExceptionInfo(const aclrtExceptionInfo *info) | |||
| 265 | 265 | ||
| 266 | <a id="aclrtGetThreadIdFromExceptionInfo"></a> | 266 | <a id="aclrtGetThreadIdFromExceptionInfo"></a> |
| 267 | 267 | ||
| 268 | -# aclrtGetThreadIdFromExceptionInfo | 268 | +## aclrtGetThreadIdFromExceptionInfo |
| 269 | 269 | ||
| 270 | ```c | 270 | ```c |
| 271 | uint32_t aclrtGetThreadIdFromExceptionInfo(const aclrtExceptionInfo *info) | 271 | uint32_t aclrtGetThreadIdFromExceptionInfo(const aclrtExceptionInfo *info) |
| @@ -304,7 +304,7 @@ uint32_t aclrtGetThreadIdFromExceptionInfo(const aclrtExceptionInfo *info) | |||
| 304 | 304 | ||
| 305 | <a id="aclrtGetDeviceIdFromExceptionInfo"></a> | 305 | <a id="aclrtGetDeviceIdFromExceptionInfo"></a> |
| 306 | 306 | ||
| 307 | -# aclrtGetDeviceIdFromExceptionInfo | 307 | +## aclrtGetDeviceIdFromExceptionInfo |
| 308 | 308 | ||
| 309 | ```c | 309 | ```c |
| 310 | uint32_t aclrtGetDeviceIdFromExceptionInfo(const aclrtExceptionInfo *info) | 310 | uint32_t aclrtGetDeviceIdFromExceptionInfo(const aclrtExceptionInfo *info) |
| @@ -343,7 +343,7 @@ uint32_t aclrtGetDeviceIdFromExceptionInfo(const aclrtExceptionInfo *info) | |||
| 343 | 343 | ||
| 344 | <a id="aclrtGetErrorCodeFromExceptionInfo"></a> | 344 | <a id="aclrtGetErrorCodeFromExceptionInfo"></a> |
| 345 | 345 | ||
| 346 | -# aclrtGetErrorCodeFromExceptionInfo | 346 | +## aclrtGetErrorCodeFromExceptionInfo |
| 347 | 347 | ||
| 348 | ```c | 348 | ```c |
| 349 | uint32_t aclrtGetErrorCodeFromExceptionInfo(const aclrtExceptionInfo *info) | 349 | uint32_t aclrtGetErrorCodeFromExceptionInfo(const aclrtExceptionInfo *info) |
| @@ -382,7 +382,7 @@ uint32_t aclrtGetErrorCodeFromExceptionInfo(const aclrtExceptionInfo *info) | |||
| 382 | 382 | ||
| 383 | <a id="aclrtPeekAtLastError"></a> | 383 | <a id="aclrtPeekAtLastError"></a> |
| 384 | 384 | ||
| 385 | -# aclrtPeekAtLastError | 385 | +## aclrtPeekAtLastError |
| 386 | 386 | ||
| 387 | ```c | 387 | ```c |
| 388 | aclError aclrtPeekAtLastError(aclrtLastErrLevel level) | 388 | aclError aclrtPeekAtLastError(aclrtLastErrLevel level) |
| @@ -421,7 +421,7 @@ aclError aclrtPeekAtLastError(aclrtLastErrLevel level) | |||
| 421 | 421 | ||
| 422 | <a id="aclrtGetLastError"></a> | 422 | <a id="aclrtGetLastError"></a> |
| 423 | 423 | ||
| 424 | -# aclrtGetLastError | 424 | +## aclrtGetLastError |
| 425 | 425 | ||
| 426 | ```c | 426 | ```c |
| 427 | aclError aclrtGetLastError(aclrtLastErrLevel level) | 427 | aclError aclrtGetLastError(aclrtLastErrLevel level) |
| @@ -460,7 +460,7 @@ aclError aclrtGetLastError(aclrtLastErrLevel level) | |||
| 460 | 460 | ||
| 461 | <a id="aclrtGetMemUceInfo"></a> | 461 | <a id="aclrtGetMemUceInfo"></a> |
| 462 | 462 | ||
| 463 | -# aclrtGetMemUceInfo | 463 | +## aclrtGetMemUceInfo |
| 464 | 464 | ||
| 465 | ```c | 465 | ```c |
| 466 | aclError aclrtGetMemUceInfo(int32_t deviceId, aclrtMemUceInfo *memUceInfoArray, size_t arraySize, size_t *retSize) | 466 | aclError aclrtGetMemUceInfo(int32_t deviceId, aclrtMemUceInfo *memUceInfoArray, size_t arraySize, size_t *retSize) |
| @@ -495,7 +495,7 @@ aclError aclrtGetMemUceInfo(int32_t deviceId, aclrtMemUceInfo *memUceInfoArray, | |||
| 495 | 495 | ||
| 496 | <a id="aclrtMemUceRepair"></a> | 496 | <a id="aclrtMemUceRepair"></a> |
| 497 | 497 | ||
| 498 | -# aclrtMemUceRepair | 498 | +## aclrtMemUceRepair |
| 499 | 499 | ||
| 500 | ```c | 500 | ```c |
| 501 | aclError aclrtMemUceRepair(int32_t deviceId, aclrtMemUceInfo *memUceInfoArray, size_t arraySize) | 501 | aclError aclrtMemUceRepair(int32_t deviceId, aclrtMemUceInfo *memUceInfoArray, size_t arraySize) |
| @@ -529,7 +529,7 @@ aclError aclrtMemUceRepair(int32_t deviceId, aclrtMemUceInfo *memUceInfoArray, s | |||
| 529 | 529 | ||
| 530 | <a id="aclrtDeviceTaskAbort"></a> | 530 | <a id="aclrtDeviceTaskAbort"></a> |
| 531 | 531 | ||
| 532 | -# aclrtDeviceTaskAbort | 532 | +## aclrtDeviceTaskAbort |
| 533 | 533 | ||
| 534 | ```c | 534 | ```c |
| 535 | aclError aclrtDeviceTaskAbort(int32_t deviceId, uint32_t timeout) | 535 | aclError aclrtDeviceTaskAbort(int32_t deviceId, uint32_t timeout) |
| @@ -562,7 +562,7 @@ aclError aclrtDeviceTaskAbort(int32_t deviceId, uint32_t timeout) | |||
| 562 | 562 | ||
| 563 | <a id="aclRecoverAllHcclTasks"></a> | 563 | <a id="aclRecoverAllHcclTasks"></a> |
| 564 | 564 | ||
| 565 | -# aclRecoverAllHcclTasks | 565 | +## aclRecoverAllHcclTasks |
| 566 | 566 | ||
| 567 | ```c | 567 | ```c |
| 568 | aclError aclRecoverAllHcclTasks(int32_t deviceId) | 568 | aclError aclRecoverAllHcclTasks(int32_t deviceId) |
| @@ -594,7 +594,7 @@ aclError aclRecoverAllHcclTasks(int32_t deviceId) | |||
| 594 | 594 | ||
| 595 | <a id="aclrtGetErrorVerbose"></a> | 595 | <a id="aclrtGetErrorVerbose"></a> |
| 596 | 596 | ||
| 597 | -# aclrtGetErrorVerbose | 597 | +## aclrtGetErrorVerbose |
| 598 | 598 | ||
| 599 | ```c | 599 | ```c |
| 600 | aclError aclrtGetErrorVerbose(int32_t deviceId, aclrtErrorInfo *errorInfo); | 600 | aclError aclrtGetErrorVerbose(int32_t deviceId, aclrtErrorInfo *errorInfo); |
| @@ -627,7 +627,7 @@ aclError aclrtGetErrorVerbose(int32_t deviceId, aclrtErrorInfo *errorInfo); | |||
| 627 | 627 | ||
| 628 | <a id="aclrtRepairError"></a> | 628 | <a id="aclrtRepairError"></a> |
| 629 | 629 | ||
| 630 | -# aclrtRepairError | 630 | +## aclrtRepairError |
| 631 | 631 | ||
| 632 | ```c | 632 | ```c |
| 633 | aclError aclrtRepairError(int32_t deviceId, const aclrtErrorInfo *errorInfo) | 633 | aclError aclrtRepairError(int32_t deviceId, const aclrtErrorInfo *errorInfo) |
| @@ -660,7 +660,7 @@ aclError aclrtRepairError(int32_t deviceId, const aclrtErrorInfo *errorInfo) | |||
| 660 | 660 | ||
| 661 | <a id="aclrtSetDeviceTaskAbortCallback"></a> | 661 | <a id="aclrtSetDeviceTaskAbortCallback"></a> |
| 662 | 662 | ||
| 663 | -# aclrtSetDeviceTaskAbortCallback | 663 | +## aclrtSetDeviceTaskAbortCallback |
| 664 | 664 | ||
| 665 | ```c | 665 | ```c |
| 666 | aclError aclrtSetDeviceTaskAbortCallback(const char *regName, aclrtDeviceTaskAbortCallback callback, void *args) | 666 | aclError aclrtSetDeviceTaskAbortCallback(const char *regName, aclrtDeviceTaskAbortCallback callback, void *args) |
| @@ -1,4 +1,4 @@ | |||
| 1 | -# 14. Kernel加载与执行 | 1 | +# 14. Kernel加载与执行 |
| 2 | 2 | ||
| 3 | 本章节描述 CANN Runtime 的 Kernel 加载与执行接口,包括二进制加载、函数获取、参数组装及 Kernel 启动。 | 3 | 本章节描述 CANN Runtime 的 Kernel 加载与执行接口,包括二进制加载、函数获取、参数组装及 Kernel 启动。 |
| 4 | 4 | ||
| @@ -99,7 +99,7 @@ | |||
| 99 | 99 | ||
| 100 | <a id="aclrtBinaryLoadFromFile"></a> | 100 | <a id="aclrtBinaryLoadFromFile"></a> |
| 101 | 101 | ||
| 102 | -# aclrtBinaryLoadFromFile | 102 | +## aclrtBinaryLoadFromFile |
| 103 | 103 | ||
| 104 | ```c | 104 | ```c |
| 105 | aclError aclrtBinaryLoadFromFile(const char* binPath, aclrtBinaryLoadOptions *options, aclrtBinHandle *binHandle) | 105 | aclError aclrtBinaryLoadFromFile(const char* binPath, aclrtBinaryLoadOptions *options, aclrtBinHandle *binHandle) |
| @@ -146,7 +146,7 @@ aclError aclrtBinaryLoadFromFile(const char* binPath, aclrtBinaryLoadOptions *op | |||
| 146 | 146 | ||
| 147 | <a id="aclrtBinaryLoadFromData"></a> | 147 | <a id="aclrtBinaryLoadFromData"></a> |
| 148 | 148 | ||
| 149 | -# aclrtBinaryLoadFromData | 149 | +## aclrtBinaryLoadFromData |
| 150 | 150 | ||
| 151 | ```c | 151 | ```c |
| 152 | aclError aclrtBinaryLoadFromData(const void *data, size_t length, const aclrtBinaryLoadOptions *options, aclrtBinHandle *binHandle) | 152 | aclError aclrtBinaryLoadFromData(const void *data, size_t length, const aclrtBinaryLoadOptions *options, aclrtBinHandle *binHandle) |
| @@ -192,7 +192,7 @@ aclError aclrtBinaryLoadFromData(const void *data, size_t length, const aclrtBin | |||
| 192 | 192 | ||
| 193 | <a id="aclrtBinaryGetFunction"></a> | 193 | <a id="aclrtBinaryGetFunction"></a> |
| 194 | 194 | ||
| 195 | -# aclrtBinaryGetFunction | 195 | +## aclrtBinaryGetFunction |
| 196 | 196 | ||
| 197 | ```c | 197 | ```c |
| 198 | aclError aclrtBinaryGetFunction(const aclrtBinHandle binHandle, const char *kernelName, aclrtFuncHandle *funcHandle) | 198 | aclError aclrtBinaryGetFunction(const aclrtBinHandle binHandle, const char *kernelName, aclrtFuncHandle *funcHandle) |
| @@ -235,7 +235,7 @@ aclError aclrtBinaryGetFunction(const aclrtBinHandle binHandle, const char *kern | |||
| 235 | 235 | ||
| 236 | <a id="aclrtBinaryGetFunctionByEntry"></a> | 236 | <a id="aclrtBinaryGetFunctionByEntry"></a> |
| 237 | 237 | ||
| 238 | -# aclrtBinaryGetFunctionByEntry | 238 | +## aclrtBinaryGetFunctionByEntry |
| 239 | 239 | ||
| 240 | ```c | 240 | ```c |
| 241 | aclError aclrtBinaryGetFunctionByEntry(aclrtBinHandle binHandle, uint64_t funcEntry, aclrtFuncHandle *funcHandle) | 241 | aclError aclrtBinaryGetFunctionByEntry(aclrtBinHandle binHandle, uint64_t funcEntry, aclrtFuncHandle *funcHandle) |
| @@ -271,7 +271,7 @@ aclError aclrtBinaryGetFunctionByEntry(aclrtBinHandle binHandle, uint64_t funcEn | |||
| 271 | 271 | ||
| 272 | <a id="aclrtBinaryGetDevAddress"></a> | 272 | <a id="aclrtBinaryGetDevAddress"></a> |
| 273 | 273 | ||
| 274 | -# aclrtBinaryGetDevAddress | 274 | +## aclrtBinaryGetDevAddress |
| 275 | 275 | ||
| 276 | ```c | 276 | ```c |
| 277 | aclError aclrtBinaryGetDevAddress(const aclrtBinHandle binHandle, void **binAddr, size_t *binSize) | 277 | aclError aclrtBinaryGetDevAddress(const aclrtBinHandle binHandle, void **binAddr, size_t *binSize) |
| @@ -312,7 +312,7 @@ aclError aclrtBinaryGetDevAddress(const aclrtBinHandle binHandle, void **binAddr | |||
| 312 | 312 | ||
| 313 | <a id="aclrtBinarySetExceptionCallback"></a> | 313 | <a id="aclrtBinarySetExceptionCallback"></a> |
| 314 | 314 | ||
| 315 | -# aclrtBinarySetExceptionCallback | 315 | +## aclrtBinarySetExceptionCallback |
| 316 | 316 | ||
| 317 | ```c | 317 | ```c |
| 318 | aclError aclrtBinarySetExceptionCallback(aclrtBinHandle binHandle, aclrtOpExceptionCallback callback, void *userData) | 318 | aclError aclrtBinarySetExceptionCallback(aclrtBinHandle binHandle, aclrtOpExceptionCallback callback, void *userData) |
| @@ -355,7 +355,7 @@ aclError aclrtBinarySetExceptionCallback(aclrtBinHandle binHandle, aclrtOpExcept | |||
| 355 | 355 | ||
| 356 | <a id="aclrtGetArgsFromExceptionInfo"></a> | 356 | <a id="aclrtGetArgsFromExceptionInfo"></a> |
| 357 | 357 | ||
| 358 | -# aclrtGetArgsFromExceptionInfo | 358 | +## aclrtGetArgsFromExceptionInfo |
| 359 | 359 | ||
| 360 | ```c | 360 | ```c |
| 361 | aclError aclrtGetArgsFromExceptionInfo(const aclrtExceptionInfo *info, void **devArgsPtr, uint32_t *devArgsLen) | 361 | aclError aclrtGetArgsFromExceptionInfo(const aclrtExceptionInfo *info, void **devArgsPtr, uint32_t *devArgsLen) |
| @@ -396,7 +396,7 @@ aclError aclrtGetArgsFromExceptionInfo(const aclrtExceptionInfo *info, void **de | |||
| 396 | 396 | ||
| 397 | <a id="aclrtGetFuncHandleFromExceptionInfo"></a> | 397 | <a id="aclrtGetFuncHandleFromExceptionInfo"></a> |
| 398 | 398 | ||
| 399 | -# aclrtGetFuncHandleFromExceptionInfo | 399 | +## aclrtGetFuncHandleFromExceptionInfo |
| 400 | 400 | ||
| 401 | ```c | 401 | ```c |
| 402 | aclError aclrtGetFuncHandleFromExceptionInfo(const aclrtExceptionInfo *info, aclrtFuncHandle *func) | 402 | aclError aclrtGetFuncHandleFromExceptionInfo(const aclrtExceptionInfo *info, aclrtFuncHandle *func) |
| @@ -436,7 +436,7 @@ aclError aclrtGetFuncHandleFromExceptionInfo(const aclrtExceptionInfo *info, acl | |||
| 436 | 436 | ||
| 437 | <a id="aclrtGetFunctionAddr"></a> | 437 | <a id="aclrtGetFunctionAddr"></a> |
| 438 | 438 | ||
| 439 | -# aclrtGetFunctionAddr | 439 | +## aclrtGetFunctionAddr |
| 440 | 440 | ||
| 441 | ```c | 441 | ```c |
| 442 | aclError aclrtGetFunctionAddr(aclrtFuncHandle funcHandle, void **aicAddr, void **aivAddr) | 442 | aclError aclrtGetFunctionAddr(aclrtFuncHandle funcHandle, void **aicAddr, void **aivAddr) |
| @@ -479,7 +479,7 @@ aclError aclrtGetFunctionAddr(aclrtFuncHandle funcHandle, void **aicAddr, void * | |||
| 479 | 479 | ||
| 480 | <a id="aclrtGetFunctionSize"></a> | 480 | <a id="aclrtGetFunctionSize"></a> |
| 481 | 481 | ||
| 482 | -# aclrtGetFunctionSize | 482 | +## aclrtGetFunctionSize |
| 483 | 483 | ||
| 484 | ```c | 484 | ```c |
| 485 | aclError aclrtGetFunctionSize(aclrtFuncHandle funcHandle, size_t *aicSize, size_t *aivSize) | 485 | aclError aclrtGetFunctionSize(aclrtFuncHandle funcHandle, size_t *aicSize, size_t *aivSize) |
| @@ -520,7 +520,7 @@ aclError aclrtGetFunctionSize(aclrtFuncHandle funcHandle, size_t *aicSize, size_ | |||
| 520 | 520 | ||
| 521 | <a id="aclrtGetFunctionName"></a> | 521 | <a id="aclrtGetFunctionName"></a> |
| 522 | 522 | ||
| 523 | -# aclrtGetFunctionName | 523 | +## aclrtGetFunctionName |
| 524 | 524 | ||
| 525 | ```c | 525 | ```c |
| 526 | aclError aclrtGetFunctionName(aclrtFuncHandle funcHandle, uint32_t maxLen, char *name) | 526 | aclError aclrtGetFunctionName(aclrtFuncHandle funcHandle, uint32_t maxLen, char *name) |
| @@ -561,7 +561,7 @@ aclError aclrtGetFunctionName(aclrtFuncHandle funcHandle, uint32_t maxLen, char | |||
| 561 | 561 | ||
| 562 | <a id="aclrtGetFunctionAttribute"></a> | 562 | <a id="aclrtGetFunctionAttribute"></a> |
| 563 | 563 | ||
| 564 | -# aclrtGetFunctionAttribute | 564 | +## aclrtGetFunctionAttribute |
| 565 | 565 | ||
| 566 | ```c | 566 | ```c |
| 567 | aclError aclrtGetFunctionAttribute(aclrtFuncHandle funcHandle, aclrtFuncAttribute attrType, int64_t *attrValue) | 567 | aclError aclrtGetFunctionAttribute(aclrtFuncHandle funcHandle, aclrtFuncAttribute attrType, int64_t *attrValue) |
| @@ -602,7 +602,7 @@ aclError aclrtGetFunctionAttribute(aclrtFuncHandle funcHandle, aclrtFuncAttribut | |||
| 602 | 602 | ||
| 603 | <a id="aclrtGetHardwareSyncAddr"></a> | 603 | <a id="aclrtGetHardwareSyncAddr"></a> |
| 604 | 604 | ||
| 605 | -# aclrtGetHardwareSyncAddr | 605 | +## aclrtGetHardwareSyncAddr |
| 606 | 606 | ||
| 607 | ```c | 607 | ```c |
| 608 | aclError aclrtGetHardwareSyncAddr(void **addr) | 608 | aclError aclrtGetHardwareSyncAddr(void **addr) |
| @@ -641,7 +641,7 @@ aclError aclrtGetHardwareSyncAddr(void **addr) | |||
| 641 | 641 | ||
| 642 | <a id="aclrtRegisterCpuFunc"></a> | 642 | <a id="aclrtRegisterCpuFunc"></a> |
| 643 | 643 | ||
| 644 | -# aclrtRegisterCpuFunc | 644 | +## aclrtRegisterCpuFunc |
| 645 | 645 | ||
| 646 | ```c | 646 | ```c |
| 647 | aclError aclrtRegisterCpuFunc(const aclrtBinHandle handle, const char *funcName, const char *kernelName, aclrtFuncHandle *funcHandle) | 647 | aclError aclrtRegisterCpuFunc(const aclrtBinHandle handle, const char *funcName, const char *kernelName, aclrtFuncHandle *funcHandle) |
| @@ -685,7 +685,7 @@ aclError aclrtRegisterCpuFunc(const aclrtBinHandle handle, const char *funcName, | |||
| 685 | 685 | ||
| 686 | <a id="aclrtKernelArgsInit"></a> | 686 | <a id="aclrtKernelArgsInit"></a> |
| 687 | 687 | ||
| 688 | -# aclrtKernelArgsInit | 688 | +## aclrtKernelArgsInit |
| 689 | 689 | ||
| 690 | ```c | 690 | ```c |
| 691 | aclError aclrtKernelArgsInit(aclrtFuncHandle funcHandle, aclrtArgsHandle *argsHandle) | 691 | aclError aclrtKernelArgsInit(aclrtFuncHandle funcHandle, aclrtArgsHandle *argsHandle) |
| @@ -727,7 +727,7 @@ aclError aclrtKernelArgsInit(aclrtFuncHandle funcHandle, aclrtArgsHandle *argsHa | |||
| 727 | 727 | ||
| 728 | <a id="aclrtKernelArgsInitByUserMem"></a> | 728 | <a id="aclrtKernelArgsInitByUserMem"></a> |
| 729 | 729 | ||
| 730 | -# aclrtKernelArgsInitByUserMem | 730 | +## aclrtKernelArgsInitByUserMem |
| 731 | 731 | ||
| 732 | ```c | 732 | ```c |
| 733 | aclError aclrtKernelArgsInitByUserMem(aclrtFuncHandle funcHandle, aclrtArgsHandle argsHandle, void *userHostMem, size_t actualArgsSize) | 733 | aclError aclrtKernelArgsInitByUserMem(aclrtFuncHandle funcHandle, aclrtArgsHandle argsHandle, void *userHostMem, size_t actualArgsSize) |
| @@ -771,7 +771,7 @@ aclError aclrtKernelArgsInitByUserMem(aclrtFuncHandle funcHandle, aclrtArgsHandl | |||
| 771 | 771 | ||
| 772 | <a id="aclrtKernelArgsGetMemSize"></a> | 772 | <a id="aclrtKernelArgsGetMemSize"></a> |
| 773 | 773 | ||
| 774 | -# aclrtKernelArgsGetMemSize | 774 | +## aclrtKernelArgsGetMemSize |
| 775 | 775 | ||
| 776 | ```c | 776 | ```c |
| 777 | aclError aclrtKernelArgsGetMemSize(aclrtFuncHandle funcHandle, size_t userArgsSize, size_t *actualArgsSize) | 777 | aclError aclrtKernelArgsGetMemSize(aclrtFuncHandle funcHandle, size_t userArgsSize, size_t *actualArgsSize) |
| @@ -812,7 +812,7 @@ aclError aclrtKernelArgsGetMemSize(aclrtFuncHandle funcHandle, size_t userArgsSi | |||
| 812 | 812 | ||
| 813 | <a id="aclrtKernelArgsGetHandleMemSize"></a> | 813 | <a id="aclrtKernelArgsGetHandleMemSize"></a> |
| 814 | 814 | ||
| 815 | -# aclrtKernelArgsGetHandleMemSize | 815 | +## aclrtKernelArgsGetHandleMemSize |
| 816 | 816 | ||
| 817 | ```c | 817 | ```c |
| 818 | aclError aclrtKernelArgsGetHandleMemSize(aclrtFuncHandle funcHandle, size_t *memSize) | 818 | aclError aclrtKernelArgsGetHandleMemSize(aclrtFuncHandle funcHandle, size_t *memSize) |
| @@ -852,7 +852,7 @@ aclError aclrtKernelArgsGetHandleMemSize(aclrtFuncHandle funcHandle, size_t *mem | |||
| 852 | 852 | ||
| 853 | <a id="aclrtKernelArgsAppend"></a> | 853 | <a id="aclrtKernelArgsAppend"></a> |
| 854 | 854 | ||
| 855 | -# aclrtKernelArgsAppend | 855 | +## aclrtKernelArgsAppend |
| 856 | 856 | ||
| 857 | ```c | 857 | ```c |
| 858 | aclError aclrtKernelArgsAppend(aclrtArgsHandle argsHandle, void *param, size_t paramSize, aclrtParamHandle *paramHandle) | 858 | aclError aclrtKernelArgsAppend(aclrtArgsHandle argsHandle, void *param, size_t paramSize, aclrtParamHandle *paramHandle) |
| @@ -896,7 +896,7 @@ aclError aclrtKernelArgsAppend(aclrtArgsHandle argsHandle, void *param, size_t p | |||
| 896 | 896 | ||
| 897 | <a id="aclrtKernelArgsAppendPlaceHolder"></a> | 897 | <a id="aclrtKernelArgsAppendPlaceHolder"></a> |
| 898 | 898 | ||
| 899 | -# aclrtKernelArgsAppendPlaceHolder | 899 | +## aclrtKernelArgsAppendPlaceHolder |
| 900 | 900 | ||
| 901 | ```c | 901 | ```c |
| 902 | aclError aclrtKernelArgsAppendPlaceHolder(aclrtArgsHandle argsHandle, aclrtParamHandle *paramHandle) | 902 | aclError aclrtKernelArgsAppendPlaceHolder(aclrtArgsHandle argsHandle, aclrtParamHandle *paramHandle) |
| @@ -938,7 +938,7 @@ aclError aclrtKernelArgsAppendPlaceHolder(aclrtArgsHandle argsHandle, aclrtParam | |||
| 938 | 938 | ||
| 939 | <a id="aclrtKernelArgsGetPlaceHolderBuffer"></a> | 939 | <a id="aclrtKernelArgsGetPlaceHolderBuffer"></a> |
| 940 | 940 | ||
| 941 | -# aclrtKernelArgsGetPlaceHolderBuffer | 941 | +## aclrtKernelArgsGetPlaceHolderBuffer |
| 942 | 942 | ||
| 943 | ```c | 943 | ```c |
| 944 | aclError aclrtKernelArgsGetPlaceHolderBuffer(aclrtArgsHandle argsHandle, aclrtParamHandle paramHandle, size_t dataSize, void **bufferAddr) | 944 | aclError aclrtKernelArgsGetPlaceHolderBuffer(aclrtArgsHandle argsHandle, aclrtParamHandle paramHandle, size_t dataSize, void **bufferAddr) |
| @@ -980,7 +980,7 @@ aclError aclrtKernelArgsGetPlaceHolderBuffer(aclrtArgsHandle argsHandle, aclrtPa | |||
| 980 | 980 | ||
| 981 | <a id="aclrtKernelArgsParaUpdate"></a> | 981 | <a id="aclrtKernelArgsParaUpdate"></a> |
| 982 | 982 | ||
| 983 | -# aclrtKernelArgsParaUpdate | 983 | +## aclrtKernelArgsParaUpdate |
| 984 | 984 | ||
| 985 | ```c | 985 | ```c |
| 986 | aclError aclrtKernelArgsParaUpdate(aclrtArgsHandle argsHandle, aclrtParamHandle paramHandle, void *param, size_t paramSize) | 986 | aclError aclrtKernelArgsParaUpdate(aclrtArgsHandle argsHandle, aclrtParamHandle paramHandle, void *param, size_t paramSize) |
| @@ -1022,7 +1022,7 @@ aclError aclrtKernelArgsParaUpdate(aclrtArgsHandle argsHandle, aclrtParamHandle | |||
| 1022 | 1022 | ||
| 1023 | <a id="aclrtKernelArgsFinalize"></a> | 1023 | <a id="aclrtKernelArgsFinalize"></a> |
| 1024 | 1024 | ||
| 1025 | -# aclrtKernelArgsFinalize | 1025 | +## aclrtKernelArgsFinalize |
| 1026 | 1026 | ||
| 1027 | ```c | 1027 | ```c |
| 1028 | aclError aclrtKernelArgsFinalize(aclrtArgsHandle argsHandle) | 1028 | aclError aclrtKernelArgsFinalize(aclrtArgsHandle argsHandle) |
| @@ -1061,7 +1061,7 @@ aclError aclrtKernelArgsFinalize(aclrtArgsHandle argsHandle) | |||
| 1061 | 1061 | ||
| 1062 | <a id="aclrtLaunchKernel"></a> | 1062 | <a id="aclrtLaunchKernel"></a> |
| 1063 | 1063 | ||
| 1064 | -# aclrtLaunchKernel | 1064 | +## aclrtLaunchKernel |
| 1065 | 1065 | ||
| 1066 | ```c | 1066 | ```c |
| 1067 | aclError aclrtLaunchKernel(aclrtFuncHandle funcHandle, uint32_t numBlocks, const void *argsData, size_t argsSize, aclrtStream stream) | 1067 | aclError aclrtLaunchKernel(aclrtFuncHandle funcHandle, uint32_t numBlocks, const void *argsData, size_t argsSize, aclrtStream stream) |
| @@ -1087,7 +1087,7 @@ aclError aclrtLaunchKernel(aclrtFuncHandle funcHandle, uint32_t numBlocks, const | |||
| 1087 | | --- | :---: | --- | | 1087 | | --- | :---: | --- | |
| 1088 | | funcHandle | 输入 | 核函数句柄。类型定义请参见[aclrtFuncHandle](25_数据类型及其操作接口.md#aclrtFuncHandle)。<br>调用[aclrtBinaryGetFunction](#aclrtBinaryGetFunction)接口根据kernelName获取funcHandle。 | | 1088 | | funcHandle | 输入 | 核函数句柄。类型定义请参见[aclrtFuncHandle](25_数据类型及其操作接口.md#aclrtFuncHandle)。<br>调用[aclrtBinaryGetFunction](#aclrtBinaryGetFunction)接口根据kernelName获取funcHandle。 | |
| 1089 | | numBlocks | 输入 | 指定核函数将会在几个核上执行。 | | 1089 | | numBlocks | 输入 | 指定核函数将会在几个核上执行。 | |
| 1090 | -| argsData | 输入 | 存放核函数所有入参数据的Device内存地址指针。<br>内存申请接口请参见[内存管理](内存管理.md)。<br>注意,执行本接口下发任务的Device需与argsData中使用的Device内存要是同一个Device。 | | 1090 | +| argsData | 输入 | 存放核函数所有入参数据的Device内存地址指针。<br>内存申请接口请参见[内存管理](11_内存管理.md)。<br>注意,执行本接口下发任务的Device需与argsData中使用的Device内存要是同一个Device。 | |
| 1091 | | argsSize | 输入 | argsData参数值的大小,单位为Byte。 | | 1091 | | argsSize | 输入 | argsData参数值的大小,单位为Byte。 | |
| 1092 | | stream | 输入 | 指定执行任务的Stream。类型定义请参见[aclrtStream](25_数据类型及其操作接口.md#aclrtStream)。 | | 1092 | | stream | 输入 | 指定执行任务的Stream。类型定义请参见[aclrtStream](25_数据类型及其操作接口.md#aclrtStream)。 | |
| 1093 | 1093 | ||
| @@ -1116,7 +1116,7 @@ aclError aclrtLaunchKernel(aclrtFuncHandle funcHandle, uint32_t numBlocks, const | |||
| 1116 | 1116 | ||
| 1117 | <a id="aclrtLaunchKernelV2"></a> | 1117 | <a id="aclrtLaunchKernelV2"></a> |
| 1118 | 1118 | ||
| 1119 | -# aclrtLaunchKernelV2 | 1119 | +## aclrtLaunchKernelV2 |
| 1120 | 1120 | ||
| 1121 | ```c | 1121 | ```c |
| 1122 | aclError aclrtLaunchKernelV2(aclrtFuncHandle funcHandle, uint32_t numBlocks, const void *argsData, size_t argsSize, aclrtLaunchKernelCfg *cfg, aclrtStream stream) | 1122 | aclError aclrtLaunchKernelV2(aclrtFuncHandle funcHandle, uint32_t numBlocks, const void *argsData, size_t argsSize, aclrtLaunchKernelCfg *cfg, aclrtStream stream) |
| @@ -1142,7 +1142,7 @@ aclError aclrtLaunchKernelV2(aclrtFuncHandle funcHandle, uint32_t numBlocks, con | |||
| 1142 | | --- | :---: | --- | | 1142 | | --- | :---: | --- | |
| 1143 | | funcHandle | 输入 | 核函数句柄。类型定义请参见[aclrtFuncHandle](25_数据类型及其操作接口.md#aclrtFuncHandle)。 | | 1143 | | funcHandle | 输入 | 核函数句柄。类型定义请参见[aclrtFuncHandle](25_数据类型及其操作接口.md#aclrtFuncHandle)。 | |
| 1144 | | numBlocks | 输入 | 指定核函数将会在几个核上执行。 | | 1144 | | numBlocks | 输入 | 指定核函数将会在几个核上执行。 | |
| 1145 | -| argsData | 输入 | 存放核函数所有入参数据的Device内存地址指针。<br>内存申请接口请参见[内存管理](内存管理.md)。<br>注意,执行本接口下发任务的Device需与argsData中使用的Device内存要是同一个Device。 | | 1145 | +| argsData | 输入 | 存放核函数所有入参数据的Device内存地址指针。<br>内存申请接口请参见[内存管理](11_内存管理.md)。<br>注意,执行本接口下发任务的Device需与argsData中使用的Device内存要是同一个Device。 | |
| 1146 | | argsSize | 输入 | argsData参数值的大小,单位为Byte。 | | 1146 | | argsSize | 输入 | argsData参数值的大小,单位为Byte。 | |
| 1147 | | cfg | 输入 | 任务下发的配置信息。类型定义请参见[aclrtLaunchKernelCfg](25_数据类型及其操作接口.md#aclrtLaunchKernelCfg)。<br>不指定配置时,此处可传NULL。 | | 1147 | | cfg | 输入 | 任务下发的配置信息。类型定义请参见[aclrtLaunchKernelCfg](25_数据类型及其操作接口.md#aclrtLaunchKernelCfg)。<br>不指定配置时,此处可传NULL。 | |
| 1148 | | stream | 输入 | 指定执行任务的Stream。类型定义请参见[aclrtStream](25_数据类型及其操作接口.md#aclrtStream)。 | | 1148 | | stream | 输入 | 指定执行任务的Stream。类型定义请参见[aclrtStream](25_数据类型及其操作接口.md#aclrtStream)。 | |
| @@ -1172,7 +1172,7 @@ aclError aclrtLaunchKernelV2(aclrtFuncHandle funcHandle, uint32_t numBlocks, con | |||
| 1172 | 1172 | ||
| 1173 | <a id="aclrtLaunchKernelWithConfig"></a> | 1173 | <a id="aclrtLaunchKernelWithConfig"></a> |
| 1174 | 1174 | ||
| 1175 | -# aclrtLaunchKernelWithConfig | 1175 | +## aclrtLaunchKernelWithConfig |
| 1176 | 1176 | ||
| 1177 | ```c | 1177 | ```c |
| 1178 | aclError aclrtLaunchKernelWithConfig(aclrtFuncHandle funcHandle, uint32_t numBlocks, aclrtStream stream, aclrtLaunchKernelCfg *cfg, aclrtArgsHandle argsHandle, void *reserve) | 1178 | aclError aclrtLaunchKernelWithConfig(aclrtFuncHandle funcHandle, uint32_t numBlocks, aclrtStream stream, aclrtLaunchKernelCfg *cfg, aclrtArgsHandle argsHandle, void *reserve) |
| @@ -1230,7 +1230,7 @@ aclError aclrtLaunchKernelWithConfig(aclrtFuncHandle funcHandle, uint32_t numBlo | |||
| 1230 | 1230 | ||
| 1231 | <a id="aclrtLaunchKernelWithHostArgs"></a> | 1231 | <a id="aclrtLaunchKernelWithHostArgs"></a> |
| 1232 | 1232 | ||
| 1233 | -# aclrtLaunchKernelWithHostArgs | 1233 | +## aclrtLaunchKernelWithHostArgs |
| 1234 | 1234 | ||
| 1235 | ```c | 1235 | ```c |
| 1236 | aclError aclrtLaunchKernelWithHostArgs(aclrtFuncHandle funcHandle, uint32_t numBlocks, aclrtStream stream, aclrtLaunchKernelCfg *cfg, void *hostArgs, size_t argsSize, aclrtPlaceHolderInfo *placeHolderArray, size_t placeHolderNum) | 1236 | aclError aclrtLaunchKernelWithHostArgs(aclrtFuncHandle funcHandle, uint32_t numBlocks, aclrtStream stream, aclrtLaunchKernelCfg *cfg, void *hostArgs, size_t argsSize, aclrtPlaceHolderInfo *placeHolderArray, size_t placeHolderNum) |
| @@ -1288,7 +1288,7 @@ aclError aclrtLaunchKernelWithHostArgs(aclrtFuncHandle funcHandle, uint32_t numB | |||
| 1288 | 1288 | ||
| 1289 | <a id="aclrtCreateBinary"></a> | 1289 | <a id="aclrtCreateBinary"></a> |
| 1290 | 1290 | ||
| 1291 | -# aclrtCreateBinary | 1291 | +## aclrtCreateBinary |
| 1292 | 1292 | ||
| 1293 | ```c | 1293 | ```c |
| 1294 | aclrtBinary aclrtCreateBinary(const void *data, size_t dataLen) | 1294 | aclrtBinary aclrtCreateBinary(const void *data, size_t dataLen) |
| @@ -1330,7 +1330,7 @@ aclrtBinary aclrtCreateBinary(const void *data, size_t dataLen) | |||
| 1330 | 1330 | ||
| 1331 | <a id="aclrtDestroyBinary"></a> | 1331 | <a id="aclrtDestroyBinary"></a> |
| 1332 | 1332 | ||
| 1333 | -# aclrtDestroyBinary | 1333 | +## aclrtDestroyBinary |
| 1334 | 1334 | ||
| 1335 | ```c | 1335 | ```c |
| 1336 | aclError aclrtDestroyBinary(aclrtBinary binary) | 1336 | aclError aclrtDestroyBinary(aclrtBinary binary) |
| @@ -1371,7 +1371,7 @@ aclError aclrtDestroyBinary(aclrtBinary binary) | |||
| 1371 | 1371 | ||
| 1372 | <a id="aclrtBinaryLoad"></a> | 1372 | <a id="aclrtBinaryLoad"></a> |
| 1373 | 1373 | ||
| 1374 | -# aclrtBinaryLoad | 1374 | +## aclrtBinaryLoad |
| 1375 | 1375 | ||
| 1376 | ```c | 1376 | ```c |
| 1377 | aclError aclrtBinaryLoad(const aclrtBinary binary, aclrtBinHandle *binHandle) | 1377 | aclError aclrtBinaryLoad(const aclrtBinary binary, aclrtBinHandle *binHandle) |
| @@ -1411,7 +1411,7 @@ aclError aclrtBinaryLoad(const aclrtBinary binary, aclrtBinHandle *binHandle) | |||
| 1411 | 1411 | ||
| 1412 | <a id="aclrtBinaryUnLoad"></a> | 1412 | <a id="aclrtBinaryUnLoad"></a> |
| 1413 | 1413 | ||
| 1414 | -# aclrtBinaryUnLoad | 1414 | +## aclrtBinaryUnLoad |
| 1415 | 1415 | ||
| 1416 | ```c | 1416 | ```c |
| 1417 | aclError aclrtBinaryUnLoad(aclrtBinHandle binHandle) | 1417 | aclError aclrtBinaryUnLoad(aclrtBinHandle binHandle) |
| @@ -1454,7 +1454,7 @@ aclError aclrtBinaryUnLoad(aclrtBinHandle binHandle) | |||
| 1454 | 1454 | ||
| 1455 | <a id="aclrtFunctionGetBinary"></a> | 1455 | <a id="aclrtFunctionGetBinary"></a> |
| 1456 | 1456 | ||
| 1457 | -# aclrtFunctionGetBinary | 1457 | +## aclrtFunctionGetBinary |
| 1458 | 1458 | ||
| 1459 | ```c | 1459 | ```c |
| 1460 | aclError aclrtFunctionGetBinary(const aclrtFuncHandle funcHandle, aclrtBinHandle *binHandle) | 1460 | aclError aclrtFunctionGetBinary(const aclrtFuncHandle funcHandle, aclrtBinHandle *binHandle) |
| @@ -1484,3 +1484,4 @@ aclError aclrtFunctionGetBinary(const aclrtFuncHandle funcHandle, aclrtBinHandle | |||
| 1484 | ### 返回值说明 | 1484 | ### 返回值说明 |
| 1485 | 1485 | ||
| 1486 | 返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 | 1486 | 返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 |
| 1487 | + | ||
| @@ -38,7 +38,7 @@ | |||
| 38 | 38 | ||
| 39 | <a id="aclmdlRICaptureBegin"></a> | 39 | <a id="aclmdlRICaptureBegin"></a> |
| 40 | 40 | ||
| 41 | -# aclmdlRICaptureBegin | 41 | +## aclmdlRICaptureBegin |
| 42 | 42 | ||
| 43 | ```c | 43 | ```c |
| 44 | aclError aclmdlRICaptureBegin(aclrtStream stream, aclmdlRICaptureMode mode) | 44 | aclError aclmdlRICaptureBegin(aclrtStream stream, aclmdlRICaptureMode mode) |
| @@ -88,7 +88,7 @@ aclmdlRICaptureBegin和[aclmdlRICaptureEnd](#aclmdlRICaptureEnd)接口要成对 | |||
| 88 | 88 | ||
| 89 | <a id="aclmdlRICaptureGetInfo"></a> | 89 | <a id="aclmdlRICaptureGetInfo"></a> |
| 90 | 90 | ||
| 91 | -# aclmdlRICaptureGetInfo | 91 | +## aclmdlRICaptureGetInfo |
| 92 | 92 | ||
| 93 | ```c | 93 | ```c |
| 94 | aclError aclmdlRICaptureGetInfo(aclrtStream stream, aclmdlRICaptureStatus *status, aclmdlRI *modelRI) | 94 | aclError aclmdlRICaptureGetInfo(aclrtStream stream, aclmdlRICaptureStatus *status, aclmdlRI *modelRI) |
| @@ -131,7 +131,7 @@ aclError aclmdlRICaptureGetInfo(aclrtStream stream, aclmdlRICaptureStatus *statu | |||
| 131 | 131 | ||
| 132 | <a id="aclmdlRICaptureThreadExchangeMode"></a> | 132 | <a id="aclmdlRICaptureThreadExchangeMode"></a> |
| 133 | 133 | ||
| 134 | -# aclmdlRICaptureThreadExchangeMode | 134 | +## aclmdlRICaptureThreadExchangeMode |
| 135 | 135 | ||
| 136 | ```c | 136 | ```c |
| 137 | aclError aclmdlRICaptureThreadExchangeMode(aclmdlRICaptureMode *mode) | 137 | aclError aclmdlRICaptureThreadExchangeMode(aclmdlRICaptureMode *mode) |
| @@ -180,7 +180,7 @@ aclError aclmdlRICaptureThreadExchangeMode(aclmdlRICaptureMode *mode) | |||
| 180 | 180 | ||
| 181 | <a id="aclmdlRICaptureEnd"></a> | 181 | <a id="aclmdlRICaptureEnd"></a> |
| 182 | 182 | ||
| 183 | -# aclmdlRICaptureEnd | 183 | +## aclmdlRICaptureEnd |
| 184 | 184 | ||
| 185 | ```c | 185 | ```c |
| 186 | aclError aclmdlRICaptureEnd(aclrtStream stream, aclmdlRI *modelRI) | 186 | aclError aclmdlRICaptureEnd(aclrtStream stream, aclmdlRI *modelRI) |
| @@ -226,7 +226,7 @@ aclError aclmdlRICaptureEnd(aclrtStream stream, aclmdlRI *modelRI) | |||
| 226 | 226 | ||
| 227 | <a id="aclmdlRICaptureTaskGrpBegin"></a> | 227 | <a id="aclmdlRICaptureTaskGrpBegin"></a> |
| 228 | 228 | ||
| 229 | -# aclmdlRICaptureTaskGrpBegin | 229 | +## aclmdlRICaptureTaskGrpBegin |
| 230 | 230 | ||
| 231 | ```c | 231 | ```c |
| 232 | aclError aclmdlRICaptureTaskGrpBegin(aclrtStream stream) | 232 | aclError aclmdlRICaptureTaskGrpBegin(aclrtStream stream) |
| @@ -271,7 +271,7 @@ aclError aclmdlRICaptureTaskGrpBegin(aclrtStream stream) | |||
| 271 | 271 | ||
| 272 | <a id="aclmdlRICaptureTaskGrpEnd"></a> | 272 | <a id="aclmdlRICaptureTaskGrpEnd"></a> |
| 273 | 273 | ||
| 274 | -# aclmdlRICaptureTaskGrpEnd | 274 | +## aclmdlRICaptureTaskGrpEnd |
| 275 | 275 | ||
| 276 | ```c | 276 | ```c |
| 277 | aclError aclmdlRICaptureTaskGrpEnd(aclrtStream stream, aclrtTaskGrp *handle) | 277 | aclError aclmdlRICaptureTaskGrpEnd(aclrtStream stream, aclrtTaskGrp *handle) |
| @@ -315,7 +315,7 @@ aclError aclmdlRICaptureTaskGrpEnd(aclrtStream stream, aclrtTaskGrp *handle) | |||
| 315 | 315 | ||
| 316 | <a id="aclmdlRICaptureTaskUpdateBegin"></a> | 316 | <a id="aclmdlRICaptureTaskUpdateBegin"></a> |
| 317 | 317 | ||
| 318 | -# aclmdlRICaptureTaskUpdateBegin | 318 | +## aclmdlRICaptureTaskUpdateBegin |
| 319 | 319 | ||
| 320 | ```c | 320 | ```c |
| 321 | aclError aclmdlRICaptureTaskUpdateBegin(aclrtStream stream, aclrtTaskGrp handle) | 321 | aclError aclmdlRICaptureTaskUpdateBegin(aclrtStream stream, aclrtTaskGrp handle) |
| @@ -369,7 +369,7 @@ aclmdlRICaptureTaskUpdateBegin、[aclmdlRICaptureTaskUpdateEnd](#aclmdlRICapture | |||
| 369 | 369 | ||
| 370 | <a id="aclmdlRICaptureTaskUpdateEnd"></a> | 370 | <a id="aclmdlRICaptureTaskUpdateEnd"></a> |
| 371 | 371 | ||
| 372 | -# aclmdlRICaptureTaskUpdateEnd | 372 | +## aclmdlRICaptureTaskUpdateEnd |
| 373 | 373 | ||
| 374 | ```c | 374 | ```c |
| 375 | aclError aclmdlRICaptureTaskUpdateEnd(aclrtStream stream) | 375 | aclError aclmdlRICaptureTaskUpdateEnd(aclrtStream stream) |
| @@ -418,7 +418,7 @@ aclError aclmdlRICaptureTaskUpdateEnd(aclrtStream stream) | |||
| 418 | 418 | ||
| 419 | <a id="aclmdlRIDebugJsonPrint"></a> | 419 | <a id="aclmdlRIDebugJsonPrint"></a> |
| 420 | 420 | ||
| 421 | -# aclmdlRIDebugJsonPrint | 421 | +## aclmdlRIDebugJsonPrint |
| 422 | 422 | ||
| 423 | ```c | 423 | ```c |
| 424 | aclError aclmdlRIDebugJsonPrint(aclmdlRI modelRI, const char *path, uint32_t flags) | 424 | aclError aclmdlRIDebugJsonPrint(aclmdlRI modelRI, const char *path, uint32_t flags) |
| @@ -459,7 +459,7 @@ aclError aclmdlRIDebugJsonPrint(aclmdlRI modelRI, const char *path, uint32_t fla | |||
| 459 | 459 | ||
| 460 | <a id="aclmdlRIDebugPrint"></a> | 460 | <a id="aclmdlRIDebugPrint"></a> |
| 461 | 461 | ||
| 462 | -# aclmdlRIDebugPrint | 462 | +## aclmdlRIDebugPrint |
| 463 | 463 | ||
| 464 | ```c | 464 | ```c |
| 465 | aclError aclmdlRIDebugPrint(aclmdlRI modelRI) | 465 | aclError aclmdlRIDebugPrint(aclmdlRI modelRI) |
| @@ -500,7 +500,7 @@ aclError aclmdlRIDebugPrint(aclmdlRI modelRI) | |||
| 500 | 500 | ||
| 501 | <a id="aclmdlRIBuildBegin"></a> | 501 | <a id="aclmdlRIBuildBegin"></a> |
| 502 | 502 | ||
| 503 | -# aclmdlRIBuildBegin | 503 | +## aclmdlRIBuildBegin |
| 504 | 504 | ||
| 505 | ```c | 505 | ```c |
| 506 | aclError aclmdlRIBuildBegin(aclmdlRI *modelRI, uint32_t flag) | 506 | aclError aclmdlRIBuildBegin(aclmdlRI *modelRI, uint32_t flag) |
| @@ -544,7 +544,7 @@ aclError aclmdlRIBuildBegin(aclmdlRI *modelRI, uint32_t flag) | |||
| 544 | 544 | ||
| 545 | <a id="aclmdlRIBindStream"></a> | 545 | <a id="aclmdlRIBindStream"></a> |
| 546 | 546 | ||
| 547 | -# aclmdlRIBindStream | 547 | +## aclmdlRIBindStream |
| 548 | 548 | ||
| 549 | ```c | 549 | ```c |
| 550 | aclError aclmdlRIBindStream(aclmdlRI modelRI, aclrtStream stream, uint32_t flag) | 550 | aclError aclmdlRIBindStream(aclmdlRI modelRI, aclrtStream stream, uint32_t flag) |
| @@ -585,7 +585,7 @@ aclError aclmdlRIBindStream(aclmdlRI modelRI, aclrtStream stream, uint32_t flag) | |||
| 585 | 585 | ||
| 586 | <a id="aclmdlRIEndTask"></a> | 586 | <a id="aclmdlRIEndTask"></a> |
| 587 | 587 | ||
| 588 | -# aclmdlRIEndTask | 588 | +## aclmdlRIEndTask |
| 589 | 589 | ||
| 590 | ```c | 590 | ```c |
| 591 | aclError aclmdlRIEndTask(aclmdlRI modelRI, aclrtStream stream) | 591 | aclError aclmdlRIEndTask(aclmdlRI modelRI, aclrtStream stream) |
| @@ -625,7 +625,7 @@ aclError aclmdlRIEndTask(aclmdlRI modelRI, aclrtStream stream) | |||
| 625 | 625 | ||
| 626 | <a id="aclmdlRIBuildEnd"></a> | 626 | <a id="aclmdlRIBuildEnd"></a> |
| 627 | 627 | ||
| 628 | -# aclmdlRIBuildEnd | 628 | +## aclmdlRIBuildEnd |
| 629 | 629 | ||
| 630 | ```c | 630 | ```c |
| 631 | aclError aclmdlRIBuildEnd(aclmdlRI modelRI, void *reserve) | 631 | aclError aclmdlRIBuildEnd(aclmdlRI modelRI, void *reserve) |
| @@ -665,7 +665,7 @@ aclError aclmdlRIBuildEnd(aclmdlRI modelRI, void *reserve) | |||
| 665 | 665 | ||
| 666 | <a id="aclmdlRIUnbindStream"></a> | 666 | <a id="aclmdlRIUnbindStream"></a> |
| 667 | 667 | ||
| 668 | -# aclmdlRIUnbindStream | 668 | +## aclmdlRIUnbindStream |
| 669 | 669 | ||
| 670 | ```c | 670 | ```c |
| 671 | aclError aclmdlRIUnbindStream(aclmdlRI modelRI, aclrtStream stream) | 671 | aclError aclmdlRIUnbindStream(aclmdlRI modelRI, aclrtStream stream) |
| @@ -705,7 +705,7 @@ aclError aclmdlRIUnbindStream(aclmdlRI modelRI, aclrtStream stream) | |||
| 705 | 705 | ||
| 706 | <a id="aclmdlRIExecute"></a> | 706 | <a id="aclmdlRIExecute"></a> |
| 707 | 707 | ||
| 708 | -# aclmdlRIExecute | 708 | +## aclmdlRIExecute |
| 709 | 709 | ||
| 710 | ```c | 710 | ```c |
| 711 | aclError aclmdlRIExecute(aclmdlRI modelRI, int32_t timeout) | 711 | aclError aclmdlRIExecute(aclmdlRI modelRI, int32_t timeout) |
| @@ -745,7 +745,7 @@ aclError aclmdlRIExecute(aclmdlRI modelRI, int32_t timeout) | |||
| 745 | 745 | ||
| 746 | <a id="aclmdlRIExecuteAsync"></a> | 746 | <a id="aclmdlRIExecuteAsync"></a> |
| 747 | 747 | ||
| 748 | -# aclmdlRIExecuteAsync | 748 | +## aclmdlRIExecuteAsync |
| 749 | 749 | ||
| 750 | ```c | 750 | ```c |
| 751 | aclError aclmdlRIExecuteAsync(aclmdlRI modelRI, aclrtStream stream) | 751 | aclError aclmdlRIExecuteAsync(aclmdlRI modelRI, aclrtStream stream) |
| @@ -787,7 +787,7 @@ aclError aclmdlRIExecuteAsync(aclmdlRI modelRI, aclrtStream stream) | |||
| 787 | 787 | ||
| 788 | <a id="aclmdlRIDestroy"></a> | 788 | <a id="aclmdlRIDestroy"></a> |
| 789 | 789 | ||
| 790 | -# aclmdlRIDestroy | 790 | +## aclmdlRIDestroy |
| 791 | 791 | ||
| 792 | ```c | 792 | ```c |
| 793 | aclError aclmdlRIDestroy(aclmdlRI modelRI) | 793 | aclError aclmdlRIDestroy(aclmdlRI modelRI) |
| @@ -828,7 +828,7 @@ aclError aclmdlRIDestroy(aclmdlRI modelRI) | |||
| 828 | 828 | ||
| 829 | <a id="aclmdlRISetName"></a> | 829 | <a id="aclmdlRISetName"></a> |
| 830 | 830 | ||
| 831 | -# aclmdlRISetName | 831 | +## aclmdlRISetName |
| 832 | 832 | ||
| 833 | ```c | 833 | ```c |
| 834 | aclError aclmdlRISetName(aclmdlRI modelRI, const char *name) | 834 | aclError aclmdlRISetName(aclmdlRI modelRI, const char *name) |
| @@ -868,7 +868,7 @@ aclError aclmdlRISetName(aclmdlRI modelRI, const char *name) | |||
| 868 | 868 | ||
| 869 | <a id="aclmdlRIGetName"></a> | 869 | <a id="aclmdlRIGetName"></a> |
| 870 | 870 | ||
| 871 | -# aclmdlRIGetName | 871 | +## aclmdlRIGetName |
| 872 | 872 | ||
| 873 | ```c | 873 | ```c |
| 874 | aclError aclmdlRIGetName(aclmdlRI modelRI, uint32_t maxLen, char *name) | 874 | aclError aclmdlRIGetName(aclmdlRI modelRI, uint32_t maxLen, char *name) |
| @@ -909,7 +909,7 @@ aclError aclmdlRIGetName(aclmdlRI modelRI, uint32_t maxLen, char *name) | |||
| 909 | 909 | ||
| 910 | <a id="aclrtCheckArchCompatibility"></a> | 910 | <a id="aclrtCheckArchCompatibility"></a> |
| 911 | 911 | ||
| 912 | -# aclrtCheckArchCompatibility | 912 | +## aclrtCheckArchCompatibility |
| 913 | 913 | ||
| 914 | ```c | 914 | ```c |
| 915 | aclError aclrtCheckArchCompatibility(const char *socVersion, int32_t *canCompatible) | 915 | aclError aclrtCheckArchCompatibility(const char *socVersion, int32_t *canCompatible) |
| @@ -949,7 +949,7 @@ aclError aclrtCheckArchCompatibility(const char *socVersion, int32_t *canCompati | |||
| 949 | 949 | ||
| 950 | <a id="aclmdlRIAbort"></a> | 950 | <a id="aclmdlRIAbort"></a> |
| 951 | 951 | ||
| 952 | -# aclmdlRIAbort | 952 | +## aclmdlRIAbort |
| 953 | 953 | ||
| 954 | ```c | 954 | ```c |
| 955 | aclError aclmdlRIAbort(aclmdlRI modelRI) | 955 | aclError aclmdlRIAbort(aclmdlRI modelRI) |
| @@ -992,7 +992,7 @@ aclError aclmdlRIAbort(aclmdlRI modelRI) | |||
| 992 | 992 | ||
| 993 | <a id="aclmdlRIGetStreams"></a> | 993 | <a id="aclmdlRIGetStreams"></a> |
| 994 | 994 | ||
| 995 | -# aclmdlRIGetStreams | 995 | +## aclmdlRIGetStreams |
| 996 | 996 | ||
| 997 | ```c | 997 | ```c |
| 998 | aclError aclmdlRIGetStreams(aclmdlRI modelRI, aclrtStream *streams, uint32_t *numStreams) | 998 | aclError aclmdlRIGetStreams(aclmdlRI modelRI, aclrtStream *streams, uint32_t *numStreams) |
| @@ -1040,7 +1040,7 @@ aclError aclmdlRIGetStreams(aclmdlRI modelRI, aclrtStream *streams, uint32_t *nu | |||
| 1040 | 1040 | ||
| 1041 | <a id="aclmdlRIGetTasksByStream"></a> | 1041 | <a id="aclmdlRIGetTasksByStream"></a> |
| 1042 | 1042 | ||
| 1043 | -# aclmdlRIGetTasksByStream | 1043 | +## aclmdlRIGetTasksByStream |
| 1044 | 1044 | ||
| 1045 | ```c | 1045 | ```c |
| 1046 | aclError aclmdlRIGetTasksByStream(aclrtStream stream, aclmdlRITask *tasks, uint32_t *numTasks) | 1046 | aclError aclmdlRIGetTasksByStream(aclrtStream stream, aclmdlRITask *tasks, uint32_t *numTasks) |
| @@ -1090,7 +1090,7 @@ aclError aclmdlRIGetTasksByStream(aclrtStream stream, aclmdlRITask *tasks, uint3 | |||
| 1090 | 1090 | ||
| 1091 | <a id="aclmdlRITaskGetSeqId"></a> | 1091 | <a id="aclmdlRITaskGetSeqId"></a> |
| 1092 | 1092 | ||
| 1093 | -# aclmdlRITaskGetSeqId | 1093 | +## aclmdlRITaskGetSeqId |
| 1094 | 1094 | ||
| 1095 | ```c | 1095 | ```c |
| 1096 | aclError aclmdlRITaskGetSeqId(aclmdlRITask task, uint32_t *id) | 1096 | aclError aclmdlRITaskGetSeqId(aclmdlRITask task, uint32_t *id) |
| @@ -1134,7 +1134,7 @@ aclError aclmdlRITaskGetSeqId(aclmdlRITask task, uint32_t *id) | |||
| 1134 | 1134 | ||
| 1135 | <a id="aclmdlRITaskGetParams"></a> | 1135 | <a id="aclmdlRITaskGetParams"></a> |
| 1136 | 1136 | ||
| 1137 | -# aclmdlRITaskGetParams | 1137 | +## aclmdlRITaskGetParams |
| 1138 | 1138 | ||
| 1139 | ```c | 1139 | ```c |
| 1140 | aclError aclmdlRITaskGetParams(aclmdlRITask task, aclmdlRITaskParams* params) | 1140 | aclError aclmdlRITaskGetParams(aclmdlRITask task, aclmdlRITaskParams* params) |
| @@ -1178,7 +1178,7 @@ aclError aclmdlRITaskGetParams(aclmdlRITask task, aclmdlRITaskParams* params) | |||
| 1178 | 1178 | ||
| 1179 | <a id="aclmdlRITaskSetParams"></a> | 1179 | <a id="aclmdlRITaskSetParams"></a> |
| 1180 | 1180 | ||
| 1181 | -# aclmdlRITaskSetParams | 1181 | +## aclmdlRITaskSetParams |
| 1182 | 1182 | ||
| 1183 | ```c | 1183 | ```c |
| 1184 | aclError aclmdlRITaskSetParams(aclmdlRITask task, aclmdlRITaskParams* params) | 1184 | aclError aclmdlRITaskSetParams(aclmdlRITask task, aclmdlRITaskParams* params) |
| @@ -1222,7 +1222,7 @@ aclError aclmdlRITaskSetParams(aclmdlRITask task, aclmdlRITaskParams* params) | |||
| 1222 | 1222 | ||
| 1223 | <a id="aclmdlRITaskDisable"></a> | 1223 | <a id="aclmdlRITaskDisable"></a> |
| 1224 | 1224 | ||
| 1225 | -# aclmdlRITaskDisable | 1225 | +## aclmdlRITaskDisable |
| 1226 | 1226 | ||
| 1227 | ```c | 1227 | ```c |
| 1228 | aclError aclmdlRITaskDisable(aclmdlRITask task) | 1228 | aclError aclmdlRITaskDisable(aclmdlRITask task) |
| @@ -1265,7 +1265,7 @@ aclError aclmdlRITaskDisable(aclmdlRITask task) | |||
| 1265 | 1265 | ||
| 1266 | <a id="aclmdlRIUpdate"></a> | 1266 | <a id="aclmdlRIUpdate"></a> |
| 1267 | 1267 | ||
| 1268 | -# aclmdlRIUpdate | 1268 | +## aclmdlRIUpdate |
| 1269 | 1269 | ||
| 1270 | ```c | 1270 | ```c |
| 1271 | aclError aclmdlRIUpdate(aclmdlRI modelRI) | 1271 | aclError aclmdlRIUpdate(aclmdlRI modelRI) |
| @@ -1310,7 +1310,7 @@ aclError aclmdlRIUpdate(aclmdlRI modelRI) | |||
| 1310 | 1310 | ||
| 1311 | <a id="aclmdlRITaskGetType"></a> | 1311 | <a id="aclmdlRITaskGetType"></a> |
| 1312 | 1312 | ||
| 1313 | -# aclmdlRITaskGetType | 1313 | +## aclmdlRITaskGetType |
| 1314 | 1314 | ||
| 1315 | ```c | 1315 | ```c |
| 1316 | aclError aclmdlRITaskGetType(aclmdlRITask task, aclmdlRITaskType *type) | 1316 | aclError aclmdlRITaskGetType(aclmdlRITask task, aclmdlRITaskType *type) |
| @@ -1354,7 +1354,7 @@ aclError aclmdlRITaskGetType(aclmdlRITask task, aclmdlRITaskType *type) | |||
| 1354 | 1354 | ||
| 1355 | <a id="aclmdlRIDestroyRegisterCallback"></a> | 1355 | <a id="aclmdlRIDestroyRegisterCallback"></a> |
| 1356 | 1356 | ||
| 1357 | -# aclmdlRIDestroyRegisterCallback | 1357 | +## aclmdlRIDestroyRegisterCallback |
| 1358 | 1358 | ||
| 1359 | ```c | 1359 | ```c |
| 1360 | aclError aclmdlRIDestroyRegisterCallback(aclmdlRI modelRI, aclrtCallback func, void *userData) | 1360 | aclError aclmdlRIDestroyRegisterCallback(aclmdlRI modelRI, aclrtCallback func, void *userData) |
| @@ -1397,7 +1397,7 @@ aclError aclmdlRIDestroyRegisterCallback(aclmdlRI modelRI, aclrtCallback func, v | |||
| 1397 | 1397 | ||
| 1398 | <a id="aclmdlRIDestroyUnregisterCallback"></a> | 1398 | <a id="aclmdlRIDestroyUnregisterCallback"></a> |
| 1399 | 1399 | ||
| 1400 | -# aclmdlRIDestroyUnregisterCallback | 1400 | +## aclmdlRIDestroyUnregisterCallback |
| 1401 | 1401 | ||
| 1402 | ```c | 1402 | ```c |
| 1403 | aclError aclmdlRIDestroyUnregisterCallback(aclmdlRI modelRI, aclrtCallback func) | 1403 | aclError aclmdlRIDestroyUnregisterCallback(aclmdlRI modelRI, aclrtCallback func) |
| @@ -12,7 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | <a id="aclrtSetGroup"></a> | 13 | <a id="aclrtSetGroup"></a> |
| 14 | 14 | ||
| 15 | -# aclrtSetGroup | 15 | +## aclrtSetGroup |
| 16 | 16 | ||
| 17 | ```c | 17 | ```c |
| 18 | aclError aclrtSetGroup(int32_t groupId) | 18 | aclError aclrtSetGroup(int32_t groupId) |
| @@ -51,7 +51,7 @@ aclError aclrtSetGroup(int32_t groupId) | |||
| 51 | 51 | ||
| 52 | <a id="aclrtGetGroupCount"></a> | 52 | <a id="aclrtGetGroupCount"></a> |
| 53 | 53 | ||
| 54 | -# aclrtGetGroupCount | 54 | +## aclrtGetGroupCount |
| 55 | 55 | ||
| 56 | ```c | 56 | ```c |
| 57 | aclError aclrtGetGroupCount(uint32_t *count) | 57 | aclError aclrtGetGroupCount(uint32_t *count) |
| @@ -86,7 +86,7 @@ aclError aclrtGetGroupCount(uint32_t *count) | |||
| 86 | 86 | ||
| 87 | <a id="aclrtGetAllGroupInfo"></a> | 87 | <a id="aclrtGetAllGroupInfo"></a> |
| 88 | 88 | ||
| 89 | -# aclrtGetAllGroupInfo | 89 | +## aclrtGetAllGroupInfo |
| 90 | 90 | ||
| 91 | ```c | 91 | ```c |
| 92 | aclError aclrtGetAllGroupInfo(aclrtGroupInfo *groupInfo) | 92 | aclError aclrtGetAllGroupInfo(aclrtGroupInfo *groupInfo) |
| @@ -125,7 +125,7 @@ aclError aclrtGetAllGroupInfo(aclrtGroupInfo *groupInfo) | |||
| 125 | 125 | ||
| 126 | <a id="aclrtGetGroupInfoDetail"></a> | 126 | <a id="aclrtGetGroupInfoDetail"></a> |
| 127 | 127 | ||
| 128 | -# aclrtGetGroupInfoDetail | 128 | +## aclrtGetGroupInfoDetail |
| 129 | 129 | ||
| 130 | ```c | 130 | ```c |
| 131 | aclError aclrtGetGroupInfoDetail(const aclrtGroupInfo *groupInfo, int32_t groupIndex, aclrtGroupAttr attr, void *attrValue, size_t valueLen, size_t *paramRetSize) | 131 | aclError aclrtGetGroupInfoDetail(const aclrtGroupInfo *groupInfo, int32_t groupIndex, aclrtGroupAttr attr, void *attrValue, size_t valueLen, size_t *paramRetSize) |
| @@ -169,7 +169,7 @@ aclError aclrtGetGroupInfoDetail(const aclrtGroupInfo *groupInfo, int32_t group | |||
| 169 | 169 | ||
| 170 | <a id="aclrtCreateGroupInfo"></a> | 170 | <a id="aclrtCreateGroupInfo"></a> |
| 171 | 171 | ||
| 172 | -# aclrtCreateGroupInfo | 172 | +## aclrtCreateGroupInfo |
| 173 | 173 | ||
| 174 | ```c | 174 | ```c |
| 175 | aclrtGroupInfo *aclrtCreateGroupInfo() | 175 | aclrtGroupInfo *aclrtCreateGroupInfo() |
| @@ -207,7 +207,7 @@ aclrtGroupInfo *aclrtCreateGroupInfo() | |||
| 207 | 207 | ||
| 208 | <a id="aclrtDestroyGroupInfo"></a> | 208 | <a id="aclrtDestroyGroupInfo"></a> |
| 209 | 209 | ||
| 210 | -# aclrtDestroyGroupInfo | 210 | +## aclrtDestroyGroupInfo |
| 211 | 211 | ||
| 212 | ```c | 212 | ```c |
| 213 | aclError aclrtDestroyGroupInfo(aclrtGroupInfo *groupInfo) | 213 | aclError aclrtDestroyGroupInfo(aclrtGroupInfo *groupInfo) |
| @@ -15,7 +15,7 @@ | |||
| 15 | 15 | ||
| 16 | <a id="acltdtCreateChannel"></a> | 16 | <a id="acltdtCreateChannel"></a> |
| 17 | 17 | ||
| 18 | -# acltdtCreateChannel | 18 | +## acltdtCreateChannel |
| 19 | 19 | ||
| 20 | ```c | 20 | ```c |
| 21 | acltdtChannelHandle *acltdtCreateChannel(uint32_t deviceId, const char *name) | 21 | acltdtChannelHandle *acltdtCreateChannel(uint32_t deviceId, const char *name) |
| @@ -56,7 +56,7 @@ acltdtChannelHandle *acltdtCreateChannel(uint32_t deviceId, const char *name) | |||
| 56 | 56 | ||
| 57 | <a id="acltdtCreateChannelWithCapacity"></a> | 57 | <a id="acltdtCreateChannelWithCapacity"></a> |
| 58 | 58 | ||
| 59 | -# acltdtCreateChannelWithCapacity | 59 | +## acltdtCreateChannelWithCapacity |
| 60 | 60 | ||
| 61 | ```c | 61 | ```c |
| 62 | acltdtChannelHandle *acltdtCreateChannelWithCapacity(uint32_t deviceId, const char *name, size_t capacity) | 62 | acltdtChannelHandle *acltdtCreateChannelWithCapacity(uint32_t deviceId, const char *name, size_t capacity) |
| @@ -98,7 +98,7 @@ acltdtChannelHandle *acltdtCreateChannelWithCapacity(uint32_t deviceId, const ch | |||
| 98 | 98 | ||
| 99 | <a id="acltdtSendTensor"></a> | 99 | <a id="acltdtSendTensor"></a> |
| 100 | 100 | ||
| 101 | -# acltdtSendTensor | 101 | +## acltdtSendTensor |
| 102 | 102 | ||
| 103 | ```c | 103 | ```c |
| 104 | aclError acltdtSendTensor(const acltdtChannelHandle *handle, const acltdtDataset *dataset, int32_t timeout) | 104 | aclError acltdtSendTensor(const acltdtChannelHandle *handle, const acltdtDataset *dataset, int32_t timeout) |
| @@ -139,7 +139,7 @@ aclError acltdtSendTensor(const acltdtChannelHandle *handle, const acltdtDataset | |||
| 139 | 139 | ||
| 140 | <a id="acltdtReceiveTensor"></a> | 140 | <a id="acltdtReceiveTensor"></a> |
| 141 | 141 | ||
| 142 | -# acltdtReceiveTensor | 142 | +## acltdtReceiveTensor |
| 143 | 143 | ||
| 144 | ```c | 144 | ```c |
| 145 | aclError acltdtReceiveTensor(const acltdtChannelHandle *handle, acltdtDataset *dataset, int32_t timeout) | 145 | aclError acltdtReceiveTensor(const acltdtChannelHandle *handle, acltdtDataset *dataset, int32_t timeout) |
| @@ -180,7 +180,7 @@ aclError acltdtReceiveTensor(const acltdtChannelHandle *handle, acltdtDataset *d | |||
| 180 | 180 | ||
| 181 | <a id="acltdtStopChannel"></a> | 181 | <a id="acltdtStopChannel"></a> |
| 182 | 182 | ||
| 183 | -# acltdtStopChannel | 183 | +## acltdtStopChannel |
| 184 | 184 | ||
| 185 | ```c | 185 | ```c |
| 186 | aclError acltdtStopChannel(acltdtChannelHandle *handle) | 186 | aclError acltdtStopChannel(acltdtChannelHandle *handle) |
| @@ -219,7 +219,7 @@ aclError acltdtStopChannel(acltdtChannelHandle *handle) | |||
| 219 | 219 | ||
| 220 | <a id="acltdtDestroyChannel"></a> | 220 | <a id="acltdtDestroyChannel"></a> |
| 221 | 221 | ||
| 222 | -# acltdtDestroyChannel | 222 | +## acltdtDestroyChannel |
| 223 | 223 | ||
| 224 | ```c | 224 | ```c |
| 225 | aclError acltdtDestroyChannel(acltdtChannelHandle *handle) | 225 | aclError acltdtDestroyChannel(acltdtChannelHandle *handle) |
| @@ -258,7 +258,7 @@ aclError acltdtDestroyChannel(acltdtChannelHandle *handle) | |||
| 258 | 258 | ||
| 259 | <a id="acltdtQueryChannelSize"></a> | 259 | <a id="acltdtQueryChannelSize"></a> |
| 260 | 260 | ||
| 261 | -# acltdtQueryChannelSize | 261 | +## acltdtQueryChannelSize |
| 262 | 262 | ||
| 263 | ```c | 263 | ```c |
| 264 | aclError acltdtQueryChannelSize(const acltdtChannelHandle *handle, size_t *size) | 264 | aclError acltdtQueryChannelSize(const acltdtChannelHandle *handle, size_t *size) |
| @@ -298,7 +298,7 @@ aclError acltdtQueryChannelSize(const acltdtChannelHandle *handle, size_t *size) | |||
| 298 | 298 | ||
| 299 | <a id="acltdtGetSliceInfoFromItem"></a> | 299 | <a id="acltdtGetSliceInfoFromItem"></a> |
| 300 | 300 | ||
| 301 | -# acltdtGetSliceInfoFromItem | 301 | +## acltdtGetSliceInfoFromItem |
| 302 | 302 | ||
| 303 | ```c | 303 | ```c |
| 304 | aclError acltdtGetSliceInfoFromItem(const acltdtDataItem *dataItem, size_t *sliceNum, size_t* sliceId) | 304 | aclError acltdtGetSliceInfoFromItem(const acltdtDataItem *dataItem, size_t *sliceNum, size_t* sliceId) |
| @@ -341,7 +341,7 @@ aclError acltdtGetSliceInfoFromItem(const acltdtDataItem *dataItem, size_t *slic | |||
| 341 | 341 | ||
| 342 | <a id="acltdtCleanChannel"></a> | 342 | <a id="acltdtCleanChannel"></a> |
| 343 | 343 | ||
| 344 | -# acltdtCleanChannel | 344 | +## acltdtCleanChannel |
| 345 | 345 | ||
| 346 | ```c | 346 | ```c |
| 347 | aclError acltdtCleanChannel(acltdtChannelHandle *handle) | 347 | aclError acltdtCleanChannel(acltdtChannelHandle *handle) |
| @@ -17,7 +17,7 @@ | |||
| 17 | 17 | ||
| 18 | <a id="acltdtCreateQueue"></a> | 18 | <a id="acltdtCreateQueue"></a> |
| 19 | 19 | ||
| 20 | -# acltdtCreateQueue | 20 | +## acltdtCreateQueue |
| 21 | 21 | ||
| 22 | ```c | 22 | ```c |
| 23 | aclError acltdtCreateQueue(const acltdtQueueAttr *attr, uint32_t *qid) | 23 | aclError acltdtCreateQueue(const acltdtQueueAttr *attr, uint32_t *qid) |
| @@ -57,7 +57,7 @@ aclError acltdtCreateQueue(const acltdtQueueAttr *attr, uint32_t *qid) | |||
| 57 | 57 | ||
| 58 | <a id="acltdtDestroyQueue"></a> | 58 | <a id="acltdtDestroyQueue"></a> |
| 59 | 59 | ||
| 60 | -# acltdtDestroyQueue | 60 | +## acltdtDestroyQueue |
| 61 | 61 | ||
| 62 | ```c | 62 | ```c |
| 63 | aclError acltdtDestroyQueue(uint32_t qid) | 63 | aclError acltdtDestroyQueue(uint32_t qid) |
| @@ -96,7 +96,7 @@ aclError acltdtDestroyQueue(uint32_t qid) | |||
| 96 | 96 | ||
| 97 | <a id="acltdtEnqueueData"></a> | 97 | <a id="acltdtEnqueueData"></a> |
| 98 | 98 | ||
| 99 | -# acltdtEnqueueData | 99 | +## acltdtEnqueueData |
| 100 | 100 | ||
| 101 | ```c | 101 | ```c |
| 102 | aclError acltdtEnqueueData(uint32_t qid, const void *data, size_t dataSize, const void *userData, size_t userDataSize, int32_t timeout, uint32_t rsv) | 102 | aclError acltdtEnqueueData(uint32_t qid, const void *data, size_t dataSize, const void *userData, size_t userDataSize, int32_t timeout, uint32_t rsv) |
| @@ -141,7 +141,7 @@ aclError acltdtEnqueueData(uint32_t qid, const void *data, size_t dataSize, cons | |||
| 141 | 141 | ||
| 142 | <a id="acltdtDequeueData"></a> | 142 | <a id="acltdtDequeueData"></a> |
| 143 | 143 | ||
| 144 | -# acltdtDequeueData | 144 | +## acltdtDequeueData |
| 145 | 145 | ||
| 146 | ```c | 146 | ```c |
| 147 | aclError acltdtDequeueData(uint32_t qid, void *data, size_t dataSize, size_t *retDataSize, void *userData, size_t userDataSize, int32_t timeout) | 147 | aclError acltdtDequeueData(uint32_t qid, void *data, size_t dataSize, size_t *retDataSize, void *userData, size_t userDataSize, int32_t timeout) |
| @@ -186,7 +186,7 @@ aclError acltdtDequeueData(uint32_t qid, void *data, size_t dataSize, size_t *re | |||
| 186 | 186 | ||
| 187 | <a id="acltdtEnqueue"></a> | 187 | <a id="acltdtEnqueue"></a> |
| 188 | 188 | ||
| 189 | -# acltdtEnqueue | 189 | +## acltdtEnqueue |
| 190 | 190 | ||
| 191 | ```c | 191 | ```c |
| 192 | aclError acltdtEnqueue(uint32_t qid, acltdtBuf buf, int32_t timeout) | 192 | aclError acltdtEnqueue(uint32_t qid, acltdtBuf buf, int32_t timeout) |
| @@ -227,7 +227,7 @@ aclError acltdtEnqueue(uint32_t qid, acltdtBuf buf, int32_t timeout) | |||
| 227 | 227 | ||
| 228 | <a id="acltdtDequeue"></a> | 228 | <a id="acltdtDequeue"></a> |
| 229 | 229 | ||
| 230 | -# acltdtDequeue | 230 | +## acltdtDequeue |
| 231 | 231 | ||
| 232 | ```c | 232 | ```c |
| 233 | aclError acltdtDequeue(uint32_t qid, acltdtBuf *buf, int32_t timeout) | 233 | aclError acltdtDequeue(uint32_t qid, acltdtBuf *buf, int32_t timeout) |
| @@ -268,7 +268,7 @@ aclError acltdtDequeue(uint32_t qid, acltdtBuf *buf, int32_t timeout) | |||
| 268 | 268 | ||
| 269 | <a id="acltdtBindQueueRoutes"></a> | 269 | <a id="acltdtBindQueueRoutes"></a> |
| 270 | 270 | ||
| 271 | -# acltdtBindQueueRoutes | 271 | +## acltdtBindQueueRoutes |
| 272 | 272 | ||
| 273 | ```c | 273 | ```c |
| 274 | aclError acltdtBindQueueRoutes(acltdtQueueRouteList *qRouteList) | 274 | aclError acltdtBindQueueRoutes(acltdtQueueRouteList *qRouteList) |
| @@ -318,7 +318,7 @@ aclError acltdtBindQueueRoutes(acltdtQueueRouteList *qRouteList) | |||
| 318 | 318 | ||
| 319 | <a id="acltdtUnbindQueueRoutes"></a> | 319 | <a id="acltdtUnbindQueueRoutes"></a> |
| 320 | 320 | ||
| 321 | -# acltdtUnbindQueueRoutes | 321 | +## acltdtUnbindQueueRoutes |
| 322 | 322 | ||
| 323 | ```c | 323 | ```c |
| 324 | aclError acltdtUnbindQueueRoutes(acltdtQueueRouteList *qRouteList) | 324 | aclError acltdtUnbindQueueRoutes(acltdtQueueRouteList *qRouteList) |
| @@ -359,7 +359,7 @@ aclError acltdtUnbindQueueRoutes(acltdtQueueRouteList *qRouteList) | |||
| 359 | 359 | ||
| 360 | <a id="acltdtQueryQueueRoutes"></a> | 360 | <a id="acltdtQueryQueueRoutes"></a> |
| 361 | 361 | ||
| 362 | -# acltdtQueryQueueRoutes | 362 | +## acltdtQueryQueueRoutes |
| 363 | 363 | ||
| 364 | ```c | 364 | ```c |
| 365 | aclError acltdtQueryQueueRoutes(const acltdtQueueRouteQueryInfo *queryInfo, acltdtQueueRouteList *qRouteList) | 365 | aclError acltdtQueryQueueRoutes(const acltdtQueueRouteQueryInfo *queryInfo, acltdtQueueRouteList *qRouteList) |
| @@ -399,7 +399,7 @@ aclError acltdtQueryQueueRoutes(const acltdtQueueRouteQueryInfo *queryInfo, aclt | |||
| 399 | 399 | ||
| 400 | <a id="acltdtGrantQueue"></a> | 400 | <a id="acltdtGrantQueue"></a> |
| 401 | 401 | ||
| 402 | -# acltdtGrantQueue | 402 | +## acltdtGrantQueue |
| 403 | 403 | ||
| 404 | ```c | 404 | ```c |
| 405 | aclError acltdtGrantQueue(uint32_t qid, int32_t pid, uint32_t permission, int32_t timeout) | 405 | aclError acltdtGrantQueue(uint32_t qid, int32_t pid, uint32_t permission, int32_t timeout) |
| @@ -443,7 +443,7 @@ aclError acltdtGrantQueue(uint32_t qid, int32_t pid, uint32_t permission, int32_ | |||
| 443 | 443 | ||
| 444 | <a id="acltdtAttachQueue"></a> | 444 | <a id="acltdtAttachQueue"></a> |
| 445 | 445 | ||
| 446 | -# acltdtAttachQueue | 446 | +## acltdtAttachQueue |
| 447 | 447 | ||
| 448 | ```c | 448 | ```c |
| 449 | aclError acltdtAttachQueue(uint32_t qid, int32_t timeout, uint32_t *permission) | 449 | aclError acltdtAttachQueue(uint32_t qid, int32_t timeout, uint32_t *permission) |
| @@ -17,7 +17,7 @@ | |||
| 17 | 17 | ||
| 18 | <a id="acltdtAllocBuf"></a> | 18 | <a id="acltdtAllocBuf"></a> |
| 19 | 19 | ||
| 20 | -# acltdtAllocBuf | 20 | +## acltdtAllocBuf |
| 21 | 21 | ||
| 22 | ```c | 22 | ```c |
| 23 | aclError acltdtAllocBuf(size_t size, uint32_t type, acltdtBuf *buf) | 23 | aclError acltdtAllocBuf(size_t size, uint32_t type, acltdtBuf *buf) |
| @@ -62,7 +62,7 @@ aclError acltdtAllocBuf(size_t size, uint32_t type, acltdtBuf *buf) | |||
| 62 | 62 | ||
| 63 | <a id="acltdtFreeBuf"></a> | 63 | <a id="acltdtFreeBuf"></a> |
| 64 | 64 | ||
| 65 | -# acltdtFreeBuf | 65 | +## acltdtFreeBuf |
| 66 | 66 | ||
| 67 | ```c | 67 | ```c |
| 68 | aclError acltdtFreeBuf(acltdtBuf buf) | 68 | aclError acltdtFreeBuf(acltdtBuf buf) |
| @@ -101,7 +101,7 @@ aclError acltdtFreeBuf(acltdtBuf buf) | |||
| 101 | 101 | ||
| 102 | <a id="acltdtGetBufData"></a> | 102 | <a id="acltdtGetBufData"></a> |
| 103 | 103 | ||
| 104 | -# acltdtGetBufData | 104 | +## acltdtGetBufData |
| 105 | 105 | ||
| 106 | ```c | 106 | ```c |
| 107 | aclError acltdtGetBufData(const acltdtBuf buf, void **dataPtr, size_t *size) | 107 | aclError acltdtGetBufData(const acltdtBuf buf, void **dataPtr, size_t *size) |
| @@ -144,7 +144,7 @@ aclError acltdtGetBufData(const acltdtBuf buf, void **dataPtr, size_t *size) | |||
| 144 | 144 | ||
| 145 | <a id="acltdtSetBufUserData"></a> | 145 | <a id="acltdtSetBufUserData"></a> |
| 146 | 146 | ||
| 147 | -# acltdtSetBufUserData | 147 | +## acltdtSetBufUserData |
| 148 | 148 | ||
| 149 | ```c | 149 | ```c |
| 150 | aclError acltdtSetBufUserData(acltdtBuf buf, const void *dataPtr, size_t size, size_t offset) | 150 | aclError acltdtSetBufUserData(acltdtBuf buf, const void *dataPtr, size_t size, size_t offset) |
| @@ -186,7 +186,7 @@ aclError acltdtSetBufUserData(acltdtBuf buf, const void *dataPtr, size_t size, s | |||
| 186 | 186 | ||
| 187 | <a id="acltdtGetBufUserData"></a> | 187 | <a id="acltdtGetBufUserData"></a> |
| 188 | 188 | ||
| 189 | -# acltdtGetBufUserData | 189 | +## acltdtGetBufUserData |
| 190 | 190 | ||
| 191 | ```c | 191 | ```c |
| 192 | aclError acltdtGetBufUserData(const acltdtBuf buf, void *dataPtr, size_t size, size_t offset) | 192 | aclError acltdtGetBufUserData(const acltdtBuf buf, void *dataPtr, size_t size, size_t offset) |
| @@ -228,7 +228,7 @@ aclError acltdtGetBufUserData(const acltdtBuf buf, void *dataPtr, size_t size, s | |||
| 228 | 228 | ||
| 229 | <a id="acltdtSetBufDataLen"></a> | 229 | <a id="acltdtSetBufDataLen"></a> |
| 230 | 230 | ||
| 231 | -# acltdtSetBufDataLen | 231 | +## acltdtSetBufDataLen |
| 232 | 232 | ||
| 233 | ```c | 233 | ```c |
| 234 | aclError acltdtSetBufDataLen(acltdtBuf buf, size_t len) | 234 | aclError acltdtSetBufDataLen(acltdtBuf buf, size_t len) |
| @@ -270,7 +270,7 @@ aclError acltdtSetBufDataLen(acltdtBuf buf, size_t len) | |||
| 270 | 270 | ||
| 271 | <a id="acltdtGetBufDataLen"></a> | 271 | <a id="acltdtGetBufDataLen"></a> |
| 272 | 272 | ||
| 273 | -# acltdtGetBufDataLen | 273 | +## acltdtGetBufDataLen |
| 274 | 274 | ||
| 275 | ```c | 275 | ```c |
| 276 | aclError acltdtGetBufDataLen(acltdtBuf buf, size_t *len) | 276 | aclError acltdtGetBufDataLen(acltdtBuf buf, size_t *len) |
| @@ -312,7 +312,7 @@ aclError acltdtGetBufDataLen(acltdtBuf buf, size_t *len) | |||
| 312 | 312 | ||
| 313 | <a id="acltdtCopyBufRef"></a> | 313 | <a id="acltdtCopyBufRef"></a> |
| 314 | 314 | ||
| 315 | -# acltdtCopyBufRef | 315 | +## acltdtCopyBufRef |
| 316 | 316 | ||
| 317 | ```c | 317 | ```c |
| 318 | aclError acltdtCopyBufRef(const acltdtBuf buf, acltdtBuf *newBuf) | 318 | aclError acltdtCopyBufRef(const acltdtBuf buf, acltdtBuf *newBuf) |
| @@ -352,7 +352,7 @@ aclError acltdtCopyBufRef(const acltdtBuf buf, acltdtBuf *newBuf) | |||
| 352 | 352 | ||
| 353 | <a id="acltdtAppendBufChain"></a> | 353 | <a id="acltdtAppendBufChain"></a> |
| 354 | 354 | ||
| 355 | -# acltdtAppendBufChain | 355 | +## acltdtAppendBufChain |
| 356 | 356 | ||
| 357 | ```c | 357 | ```c |
| 358 | aclError acltdtAppendBufChain(acltdtBuf headBuf, acltdtBuf buf) | 358 | aclError acltdtAppendBufChain(acltdtBuf headBuf, acltdtBuf buf) |
| @@ -392,7 +392,7 @@ aclError acltdtAppendBufChain(acltdtBuf headBuf, acltdtBuf buf) | |||
| 392 | 392 | ||
| 393 | <a id="acltdtGetBufChainNum"></a> | 393 | <a id="acltdtGetBufChainNum"></a> |
| 394 | 394 | ||
| 395 | -# acltdtGetBufChainNum | 395 | +## acltdtGetBufChainNum |
| 396 | 396 | ||
| 397 | ```c | 397 | ```c |
| 398 | aclError acltdtGetBufChainNum(acltdtBuf headBuf, uint32_t *num) | 398 | aclError acltdtGetBufChainNum(acltdtBuf headBuf, uint32_t *num) |
| @@ -432,7 +432,7 @@ aclError acltdtGetBufChainNum(acltdtBuf headBuf, uint32_t *num) | |||
| 432 | 432 | ||
| 433 | <a id="acltdtGetBufFromChain"></a> | 433 | <a id="acltdtGetBufFromChain"></a> |
| 434 | 434 | ||
| 435 | -# acltdtGetBufFromChain | 435 | +## acltdtGetBufFromChain |
| 436 | 436 | ||
| 437 | ```c | 437 | ```c |
| 438 | aclError acltdtGetBufFromChain(acltdtBuf headBuf, uint32_t index, acltdtBuf *buf) | 438 | aclError acltdtGetBufFromChain(acltdtBuf headBuf, uint32_t index, acltdtBuf *buf) |
| @@ -14,7 +14,7 @@ | |||
| 14 | 14 | ||
| 15 | <a id="aclmdlInitDump"></a> | 15 | <a id="aclmdlInitDump"></a> |
| 16 | 16 | ||
| 17 | -# aclmdlInitDump | 17 | +## aclmdlInitDump |
| 18 | 18 | ||
| 19 | ```c | 19 | ```c |
| 20 | aclError aclmdlInitDump() | 20 | aclError aclmdlInitDump() |
| @@ -80,7 +80,7 @@ Dump初始化。 | |||
| 80 | 80 | ||
| 81 | <a id="aclmdlSetDump"></a> | 81 | <a id="aclmdlSetDump"></a> |
| 82 | 82 | ||
| 83 | -# aclmdlSetDump | 83 | +## aclmdlSetDump |
| 84 | 84 | ||
| 85 | ```c | 85 | ```c |
| 86 | aclError aclmdlSetDump(const char *dumpCfgPath) | 86 | aclError aclmdlSetDump(const char *dumpCfgPath) |
| @@ -371,7 +371,7 @@ Atlas A2 训练系列产品/Atlas A2 推理系列产品 | |||
| 371 | 371 | ||
| 372 | <a id="acldumpRegCallback"></a> | 372 | <a id="acldumpRegCallback"></a> |
| 373 | 373 | ||
| 374 | -# acldumpRegCallback | 374 | +## acldumpRegCallback |
| 375 | 375 | ||
| 376 | ```c | 376 | ```c |
| 377 | aclError acldumpRegCallback(int32_t (* const messageCallback)(const acldumpChunk *, int32_t len), int32_t flag) | 377 | aclError acldumpRegCallback(int32_t (* const messageCallback)(const acldumpChunk *, int32_t len), int32_t flag) |
| @@ -429,7 +429,7 @@ Dump数据回调函数注册接口。 | |||
| 429 | 429 | ||
| 430 | <a id="acldumpUnregCallback"></a> | 430 | <a id="acldumpUnregCallback"></a> |
| 431 | 431 | ||
| 432 | -# acldumpUnregCallback | 432 | +## acldumpUnregCallback |
| 433 | 433 | ||
| 434 | ```c | 434 | ```c |
| 435 | void acldumpUnregCallback() | 435 | void acldumpUnregCallback() |
| @@ -475,7 +475,7 @@ Dump数据回调函数取消注册接口。acldumpUnregCallback需要和acldumpR | |||
| 475 | 475 | ||
| 476 | <a id="acldumpGetPath"></a> | 476 | <a id="acldumpGetPath"></a> |
| 477 | 477 | ||
| 478 | -# acldumpGetPath | 478 | +## acldumpGetPath |
| 479 | 479 | ||
| 480 | ```c | 480 | ```c |
| 481 | const char* acldumpGetPath(acldumpType dumpType) | 481 | const char* acldumpGetPath(acldumpType dumpType) |
| @@ -516,7 +516,7 @@ const char* acldumpGetPath(acldumpType dumpType) | |||
| 516 | 516 | ||
| 517 | <a id="aclmdlFinalizeDump"></a> | 517 | <a id="aclmdlFinalizeDump"></a> |
| 518 | 518 | ||
| 519 | -# aclmdlFinalizeDump | 519 | +## aclmdlFinalizeDump |
| 520 | 520 | ||
| 521 | ```c | 521 | ```c |
| 522 | aclError aclmdlFinalizeDump() | 522 | aclError aclmdlFinalizeDump() |
| @@ -577,7 +577,7 @@ Dump去初始化。 | |||
| 577 | 577 | ||
| 578 | <a id="aclopStartDumpArgs"></a> | 578 | <a id="aclopStartDumpArgs"></a> |
| 579 | 579 | ||
| 580 | -# aclopStartDumpArgs | 580 | +## aclopStartDumpArgs |
| 581 | 581 | ||
| 582 | ```c | 582 | ```c |
| 583 | aclError aclopStartDumpArgs(uint32_t dumpType, const char *path) | 583 | aclError aclopStartDumpArgs(uint32_t dumpType, const char *path) |
| @@ -623,7 +623,7 @@ aclError aclopStartDumpArgs(uint32_t dumpType, const char *path) | |||
| 623 | 623 | ||
| 624 | <a id="aclopStopDumpArgs"></a> | 624 | <a id="aclopStopDumpArgs"></a> |
| 625 | 625 | ||
| 626 | -# aclopStopDumpArgs | 626 | +## aclopStopDumpArgs |
| 627 | 627 | ||
| 628 | ```c | 628 | ```c |
| 629 | aclError aclopStopDumpArgs(uint32_t dumpType) | 629 | aclError aclopStopDumpArgs(uint32_t dumpType) |
| @@ -1,4 +1,4 @@ | |||
| 1 | -# 19-01 Profiling数据采集接口 | 1 | +# 19-01 Profiling数据采集接口 |
| 2 | 2 | ||
| 3 | 本章节描述 Profiling 数据采集的核心接口,用于性能采集的初始化、配置、启停控制。 | 3 | 本章节描述 Profiling 数据采集的核心接口,用于性能采集的初始化、配置、启停控制。 |
| 4 | 4 | ||
| @@ -13,7 +13,7 @@ | |||
| 13 | 13 | ||
| 14 | ### 总体约束 | 14 | ### 总体约束 |
| 15 | 15 | ||
| 16 | -不能与[订阅算子信息](订阅算子信息.md)的接口交叉调用:[aclprofInit](#aclprofInit)接口和[aclprofFinalize](#aclprofFinalize)接口之间不能调用[aclprofModelSubscribe](19-03_订阅算子信息.md#aclprofModelSubscribe)接口、aclprofGet\*接口、[aclprofModelUnSubscribe](19-03_订阅算子信息.md#aclprofModelUnSubscribe)接口。 | 16 | +不能与[订阅算子信息](19-03_订阅算子信息.md)的接口交叉调用:[aclprofInit](#aclprofInit)接口和[aclprofFinalize](#aclprofFinalize)接口之间不能调用[aclprofModelSubscribe](19-03_订阅算子信息.md#aclprofModelSubscribe)接口、aclprofGet\*接口、[aclprofModelUnSubscribe](19-03_订阅算子信息.md#aclprofModelUnSubscribe)接口。 |
| 17 | 17 | ||
| 18 | ### 接口约束说明 | 18 | ### 接口约束说明 |
| 19 | 19 | ||
| @@ -49,7 +49,7 @@ | |||
| 49 | 49 | ||
| 50 | <a id="aclprofInit"></a> | 50 | <a id="aclprofInit"></a> |
| 51 | 51 | ||
| 52 | -# aclprofInit | 52 | +## aclprofInit |
| 53 | 53 | ||
| 54 | ```c | 54 | ```c |
| 55 | aclError aclprofInit(const char *profilerResultPath, size_t length) | 55 | aclError aclprofInit(const char *profilerResultPath, size_t length) |
| @@ -93,7 +93,7 @@ aclError aclprofInit(const char *profilerResultPath, size_t length) | |||
| 93 | 93 | ||
| 94 | <a id="aclprofSetConfig"></a> | 94 | <a id="aclprofSetConfig"></a> |
| 95 | 95 | ||
| 96 | -# aclprofSetConfig | 96 | +## aclprofSetConfig |
| 97 | 97 | ||
| 98 | ```c | 98 | ```c |
| 99 | aclError aclprofSetConfig(aclprofConfigType configType, const char *config, size_t configLength) | 99 | aclError aclprofSetConfig(aclprofConfigType configType, const char *config, size_t configLength) |
| @@ -140,7 +140,7 @@ aclprofCreateConfig接口的扩展接口,用于设置性能数据采集参数 | |||
| 140 | 140 | ||
| 141 | <a id="aclprofStart"></a> | 141 | <a id="aclprofStart"></a> |
| 142 | 142 | ||
| 143 | -# aclprofStart | 143 | +## aclprofStart |
| 144 | 144 | ||
| 145 | ```c | 145 | ```c |
| 146 | aclError aclprofStart(const aclprofConfig *profilerConfig) | 146 | aclError aclprofStart(const aclprofConfig *profilerConfig) |
| @@ -185,7 +185,7 @@ aclError aclprofStart(const aclprofConfig *profilerConfig) | |||
| 185 | 185 | ||
| 186 | <a id="aclprofStop"></a> | 186 | <a id="aclprofStop"></a> |
| 187 | 187 | ||
| 188 | -# aclprofStop | 188 | +## aclprofStop |
| 189 | 189 | ||
| 190 | ```c | 190 | ```c |
| 191 | aclError aclprofStop(const aclprofConfig *profilerConfig) | 191 | aclError aclprofStop(const aclprofConfig *profilerConfig) |
| @@ -228,7 +228,7 @@ aclError aclprofStop(const aclprofConfig *profilerConfig) | |||
| 228 | 228 | ||
| 229 | <a id="aclprofFinalize"></a> | 229 | <a id="aclprofFinalize"></a> |
| 230 | 230 | ||
| 231 | -# aclprofFinalize | 231 | +## aclprofFinalize |
| 232 | 232 | ||
| 233 | ```c | 233 | ```c |
| 234 | aclError aclprofFinalize() | 234 | aclError aclprofFinalize() |
| @@ -268,7 +268,7 @@ aclError aclprofFinalize() | |||
| 268 | 268 | ||
| 269 | <a id="aclprofStr2Id"></a> | 269 | <a id="aclprofStr2Id"></a> |
| 270 | 270 | ||
| 271 | -# aclprofStr2Id | 271 | +## aclprofStr2Id |
| 272 | 272 | ||
| 273 | ```c | 273 | ```c |
| 274 | uint64_t aclprofStr2Id(const char *message) | 274 | uint64_t aclprofStr2Id(const char *message) |
| @@ -301,3 +301,4 @@ msproftx用于将字符串转化为哈希ID。 | |||
| 301 | ### 约束说明 | 301 | ### 约束说明 |
| 302 | 302 | ||
| 303 | 与[aclprofRangePushEx](19-02_msproftx扩展接口.md#aclprofRangePushEx)和[aclprofRangePop](19-02_msproftx扩展接口.md#aclprofRangePop)接口配合使用,在[aclprofRangePushEx](19-02_msproftx扩展接口.md#aclprofRangePushEx)接口调用之前调用。 | 303 | 与[aclprofRangePushEx](19-02_msproftx扩展接口.md#aclprofRangePushEx)和[aclprofRangePop](19-02_msproftx扩展接口.md#aclprofRangePop)接口配合使用,在[aclprofRangePushEx](19-02_msproftx扩展接口.md#aclprofRangePushEx)接口调用之前调用。 |
| 304 | + | ||
| @@ -24,7 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | <a id="aclprofCreateStamp"></a> | 25 | <a id="aclprofCreateStamp"></a> |
| 26 | 26 | ||
| 27 | -# aclprofCreateStamp | 27 | +## aclprofCreateStamp |
| 28 | 28 | ||
| 29 | ```c | 29 | ```c |
| 30 | void *aclprofCreateStamp() | 30 | void *aclprofCreateStamp() |
| @@ -61,7 +61,7 @@ void *aclprofCreateStamp() | |||
| 61 | 61 | ||
| 62 | <a id="aclprofSetStampTraceMessage"></a> | 62 | <a id="aclprofSetStampTraceMessage"></a> |
| 63 | 63 | ||
| 64 | -# aclprofSetStampTraceMessage | 64 | +## aclprofSetStampTraceMessage |
| 65 | 65 | ||
| 66 | ```c | 66 | ```c |
| 67 | aclError aclprofSetStampTraceMessage(void *stamp, const char *msg, uint32_t msgLen) | 67 | aclError aclprofSetStampTraceMessage(void *stamp, const char *msg, uint32_t msgLen) |
| @@ -106,7 +106,7 @@ aclError aclprofSetStampTraceMessage(void *stamp, const char *msg, uint32_t msgL | |||
| 106 | 106 | ||
| 107 | <a id="aclprofMark"></a> | 107 | <a id="aclprofMark"></a> |
| 108 | 108 | ||
| 109 | -# aclprofMark | 109 | +## aclprofMark |
| 110 | 110 | ||
| 111 | ```c | 111 | ```c |
| 112 | aclError aclprofMark(void *stamp) | 112 | aclError aclprofMark(void *stamp) |
| @@ -151,7 +151,7 @@ msproftx标记瞬时事件。 | |||
| 151 | 151 | ||
| 152 | <a id="aclprofMarkEx"></a> | 152 | <a id="aclprofMarkEx"></a> |
| 153 | 153 | ||
| 154 | -# aclprofMarkEx | 154 | +## aclprofMarkEx |
| 155 | 155 | ||
| 156 | ```c | 156 | ```c |
| 157 | aclError aclprofMarkEx(const char *msg, size_t msgLen, aclrtStream stream) | 157 | aclError aclprofMarkEx(const char *msg, size_t msgLen, aclrtStream stream) |
| @@ -194,7 +194,7 @@ aclprofMarkEx打点接口。 | |||
| 194 | 194 | ||
| 195 | <a id="aclprofPush"></a> | 195 | <a id="aclprofPush"></a> |
| 196 | 196 | ||
| 197 | -# aclprofPush | 197 | +## aclprofPush |
| 198 | 198 | ||
| 199 | ```c | 199 | ```c |
| 200 | aclError aclprofPush(void *stamp) | 200 | aclError aclprofPush(void *stamp) |
| @@ -241,7 +241,7 @@ msproftx用于记录事件发生的时间跨度的开始时间。 | |||
| 241 | 241 | ||
| 242 | <a id="aclprofPop"></a> | 242 | <a id="aclprofPop"></a> |
| 243 | 243 | ||
| 244 | -# aclprofPop | 244 | +## aclprofPop |
| 245 | 245 | ||
| 246 | ```c | 246 | ```c |
| 247 | aclError aclprofPop() | 247 | aclError aclprofPop() |
| @@ -281,7 +281,7 @@ msproftx用于记录事件发生的时间跨度的结束时间。 | |||
| 281 | 281 | ||
| 282 | <a id="aclprofRangeStart"></a> | 282 | <a id="aclprofRangeStart"></a> |
| 283 | 283 | ||
| 284 | -# aclprofRangeStart | 284 | +## aclprofRangeStart |
| 285 | 285 | ||
| 286 | ```c | 286 | ```c |
| 287 | aclError aclprofRangeStart(void *stamp, uint32_t *rangeId) | 287 | aclError aclprofRangeStart(void *stamp, uint32_t *rangeId) |
| @@ -329,7 +329,7 @@ msproftx用于记录事件发生的时间跨度的开始时间。 | |||
| 329 | 329 | ||
| 330 | <a id="aclprofRangeStop"></a> | 330 | <a id="aclprofRangeStop"></a> |
| 331 | 331 | ||
| 332 | -# aclprofRangeStop | 332 | +## aclprofRangeStop |
| 333 | 333 | ||
| 334 | ```c | 334 | ```c |
| 335 | aclError aclprofRangeStop(uint32_t rangeId) | 335 | aclError aclprofRangeStop(uint32_t rangeId) |
| @@ -376,7 +376,7 @@ msproftx用于记录事件发生的时间跨度的结束时间。 | |||
| 376 | 376 | ||
| 377 | <a id="aclprofRangePushEx"></a> | 377 | <a id="aclprofRangePushEx"></a> |
| 378 | 378 | ||
| 379 | -# aclprofRangePushEx | 379 | +## aclprofRangePushEx |
| 380 | 380 | ||
| 381 | ```c | 381 | ```c |
| 382 | aclError aclprofRangePushEx(aclprofEventAttributes *attr) | 382 | aclError aclprofRangePushEx(aclprofEventAttributes *attr) |
| @@ -421,7 +421,7 @@ aclError aclprofRangePushEx(aclprofEventAttributes *attr) | |||
| 421 | 421 | ||
| 422 | <a id="aclprofRangePop"></a> | 422 | <a id="aclprofRangePop"></a> |
| 423 | 423 | ||
| 424 | -# aclprofRangePop | 424 | +## aclprofRangePop |
| 425 | 425 | ||
| 426 | ```c | 426 | ```c |
| 427 | aclError aclprofRangePop() | 427 | aclError aclprofRangePop() |
| @@ -459,7 +459,7 @@ aclError aclprofRangePop() | |||
| 459 | 459 | ||
| 460 | <a id="aclprofDestroyStamp"></a> | 460 | <a id="aclprofDestroyStamp"></a> |
| 461 | 461 | ||
| 462 | -# aclprofDestroyStamp | 462 | +## aclprofDestroyStamp |
| 463 | 463 | ||
| 464 | ```c | 464 | ```c |
| 465 | void aclprofDestroyStamp(void *stamp) | 465 | void aclprofDestroyStamp(void *stamp) |
| @@ -1,4 +1,4 @@ | |||
| 1 | -# 19-03 订阅算子信息 | 1 | +# 19-03 订阅算子信息 |
| 2 | 2 | ||
| 3 | 本章节描述算子信息订阅接口,用于订阅模型中算子的执行信息(类型、名称、耗时等)。 | 3 | 本章节描述算子信息订阅接口,用于订阅模型中算子的执行信息(类型、名称、耗时等)。 |
| 4 | 4 | ||
| @@ -19,7 +19,7 @@ | |||
| 19 | 19 | ||
| 20 | ### 总体约束 | 20 | ### 总体约束 |
| 21 | 21 | ||
| 22 | -不能与[Profiling数据采集接口](Profiling数据采集接口.md)的接口交叉调用:[aclprofModelSubscribe](#aclprofModelSubscribe)接口和[aclprofModelUnSubscribe](#aclprofModelUnSubscribe)接口之间不能调用[aclprofInit](19-01_Profiling数据采集接口.md#aclprofInit)接口、[aclprofStart](19-01_Profiling数据采集接口.md#aclprofStart)接口、[aclprofStop](19-01_Profiling数据采集接口.md#aclprofStop)接口和[aclprofFinalize](19-01_Profiling数据采集接口.md#aclprofFinalize)接口。 | 22 | +不能与[Profiling数据采集接口](19-01_Profiling数据采集接口.md)的接口交叉调用:[aclprofModelSubscribe](#aclprofModelSubscribe)接口和[aclprofModelUnSubscribe](#aclprofModelUnSubscribe)接口之间不能调用[aclprofInit](19-01_Profiling数据采集接口.md#aclprofInit)接口、[aclprofStart](19-01_Profiling数据采集接口.md#aclprofStart)接口、[aclprofStop](19-01_Profiling数据采集接口.md#aclprofStop)接口和[aclprofFinalize](19-01_Profiling数据采集接口.md#aclprofFinalize)接口。 |
| 23 | 23 | ||
| 24 | ### 接口约束说明 | 24 | ### 接口约束说明 |
| 25 | 25 | ||
| @@ -47,7 +47,7 @@ | |||
| 47 | 47 | ||
| 48 | <a id="aclprofModelSubscribe"></a> | 48 | <a id="aclprofModelSubscribe"></a> |
| 49 | 49 | ||
| 50 | -# aclprofModelSubscribe | 50 | +## aclprofModelSubscribe |
| 51 | 51 | ||
| 52 | ```c | 52 | ```c |
| 53 | aclError aclprofModelSubscribe(uint32_t modelId, const aclprofSubscribeConfig *profSubscribeConfig) | 53 | aclError aclprofModelSubscribe(uint32_t modelId, const aclprofSubscribeConfig *profSubscribeConfig) |
| @@ -91,7 +91,7 @@ aclError aclprofModelSubscribe(uint32_t modelId, const aclprofSubscribeConfig *p | |||
| 91 | 91 | ||
| 92 | <a id="aclprofModelUnSubscribe"></a> | 92 | <a id="aclprofModelUnSubscribe"></a> |
| 93 | 93 | ||
| 94 | -# aclprofModelUnSubscribe | 94 | +## aclprofModelUnSubscribe |
| 95 | 95 | ||
| 96 | ```c | 96 | ```c |
| 97 | aclError aclprofModelUnSubscribe(uint32_t modelId) | 97 | aclError aclprofModelUnSubscribe(uint32_t modelId) |
| @@ -134,7 +134,7 @@ aclError aclprofModelUnSubscribe(uint32_t modelId) | |||
| 134 | 134 | ||
| 135 | <a id="aclprofGetOpDescSize"></a> | 135 | <a id="aclprofGetOpDescSize"></a> |
| 136 | 136 | ||
| 137 | -# aclprofGetOpDescSize | 137 | +## aclprofGetOpDescSize |
| 138 | 138 | ||
| 139 | ```c | 139 | ```c |
| 140 | aclError aclprofGetOpDescSize(size_t *opDescSize) | 140 | aclError aclprofGetOpDescSize(size_t *opDescSize) |
| @@ -175,7 +175,7 @@ aclError aclprofGetOpDescSize(size_t *opDescSize) | |||
| 175 | 175 | ||
| 176 | <a id="aclprofGetOpNum"></a> | 176 | <a id="aclprofGetOpNum"></a> |
| 177 | 177 | ||
| 178 | -# aclprofGetOpNum | 178 | +## aclprofGetOpNum |
| 179 | 179 | ||
| 180 | ```c | 180 | ```c |
| 181 | aclError aclprofGetOpNum(const void *opInfo, size_t opInfoLen, uint32_t *opNumber) | 181 | aclError aclprofGetOpNum(const void *opInfo, size_t opInfoLen, uint32_t *opNumber) |
| @@ -218,7 +218,7 @@ aclError aclprofGetOpNum(const void *opInfo, size_t opInfoLen, uint32_t *opNumbe | |||
| 218 | 218 | ||
| 219 | <a id="aclprofGetOpTypeLen"></a> | 219 | <a id="aclprofGetOpTypeLen"></a> |
| 220 | 220 | ||
| 221 | -# aclprofGetOpTypeLen | 221 | +## aclprofGetOpTypeLen |
| 222 | 222 | ||
| 223 | ```c | 223 | ```c |
| 224 | aclError aclprofGetOpTypeLen(const void *opInfo, size_t opInfoLen, uint32_t index, size_t *opTypeLen) | 224 | aclError aclprofGetOpTypeLen(const void *opInfo, size_t opInfoLen, uint32_t index, size_t *opTypeLen) |
| @@ -262,7 +262,7 @@ aclError aclprofGetOpTypeLen(const void *opInfo, size_t opInfoLen, uint32_t inde | |||
| 262 | 262 | ||
| 263 | <a id="aclprofGetOpType"></a> | 263 | <a id="aclprofGetOpType"></a> |
| 264 | 264 | ||
| 265 | -# aclprofGetOpType | 265 | +## aclprofGetOpType |
| 266 | 266 | ||
| 267 | ```c | 267 | ```c |
| 268 | aclError aclprofGetOpType(const void *opInfo, size_t opInfoLen, uint32_t index, char *opType, size_t opTypeLen) | 268 | aclError aclprofGetOpType(const void *opInfo, size_t opInfoLen, uint32_t index, char *opType, size_t opTypeLen) |
| @@ -307,7 +307,7 @@ aclError aclprofGetOpType(const void *opInfo, size_t opInfoLen, uint32_t index, | |||
| 307 | 307 | ||
| 308 | <a id="aclprofGetOpNameLen"></a> | 308 | <a id="aclprofGetOpNameLen"></a> |
| 309 | 309 | ||
| 310 | -# aclprofGetOpNameLen | 310 | +## aclprofGetOpNameLen |
| 311 | 311 | ||
| 312 | ```c | 312 | ```c |
| 313 | aclError aclprofGetOpNameLen(const void *opInfo, size_t opInfoLen, uint32_t index, size_t *opNameLen) | 313 | aclError aclprofGetOpNameLen(const void *opInfo, size_t opInfoLen, uint32_t index, size_t *opNameLen) |
| @@ -351,7 +351,7 @@ aclError aclprofGetOpNameLen(const void *opInfo, size_t opInfoLen, uint32_t inde | |||
| 351 | 351 | ||
| 352 | <a id="aclprofGetOpName"></a> | 352 | <a id="aclprofGetOpName"></a> |
| 353 | 353 | ||
| 354 | -# aclprofGetOpName | 354 | +## aclprofGetOpName |
| 355 | 355 | ||
| 356 | ```c | 356 | ```c |
| 357 | aclError aclprofGetOpName(const void *opInfo, size_t opInfoLen, uint32_t index, char *opName, size_t opNameLen) | 357 | aclError aclprofGetOpName(const void *opInfo, size_t opInfoLen, uint32_t index, char *opName, size_t opNameLen) |
| @@ -396,7 +396,7 @@ aclError aclprofGetOpName(const void *opInfo, size_t opInfoLen, uint32_t index, | |||
| 396 | 396 | ||
| 397 | <a id="aclprofGetOpStart"></a> | 397 | <a id="aclprofGetOpStart"></a> |
| 398 | 398 | ||
| 399 | -# aclprofGetOpStart | 399 | +## aclprofGetOpStart |
| 400 | 400 | ||
| 401 | ```c | 401 | ```c |
| 402 | uint64_t aclprofGetOpStart(const void *opInfo, size_t opInfoLen, uint32_t index) | 402 | uint64_t aclprofGetOpStart(const void *opInfo, size_t opInfoLen, uint32_t index) |
| @@ -439,7 +439,7 @@ uint64_t aclprofGetOpStart(const void *opInfo, size_t opInfoLen, uint32_t index) | |||
| 439 | 439 | ||
| 440 | <a id="aclprofGetOpEnd"></a> | 440 | <a id="aclprofGetOpEnd"></a> |
| 441 | 441 | ||
| 442 | -# aclprofGetOpEnd | 442 | +## aclprofGetOpEnd |
| 443 | 443 | ||
| 444 | ```c | 444 | ```c |
| 445 | uint64_t aclprofGetOpEnd(const void *opInfo, size_t opInfoLen, uint32_t index) | 445 | uint64_t aclprofGetOpEnd(const void *opInfo, size_t opInfoLen, uint32_t index) |
| @@ -482,7 +482,7 @@ uint64_t aclprofGetOpEnd(const void *opInfo, size_t opInfoLen, uint32_t index) | |||
| 482 | 482 | ||
| 483 | <a id="aclprofGetOpDuration"></a> | 483 | <a id="aclprofGetOpDuration"></a> |
| 484 | 484 | ||
| 485 | -# aclprofGetOpDuration | 485 | +## aclprofGetOpDuration |
| 486 | 486 | ||
| 487 | ```c | 487 | ```c |
| 488 | uint64_t aclprofGetOpDuration(const void *opInfo, size_t opInfoLen, uint32_t index) | 488 | uint64_t aclprofGetOpDuration(const void *opInfo, size_t opInfoLen, uint32_t index) |
| @@ -525,7 +525,7 @@ uint64_t aclprofGetOpDuration(const void *opInfo, size_t opInfoLen, uint32_t ind | |||
| 525 | 525 | ||
| 526 | <a id="aclprofGetModelId"></a> | 526 | <a id="aclprofGetModelId"></a> |
| 527 | 527 | ||
| 528 | -# aclprofGetModelId | 528 | +## aclprofGetModelId |
| 529 | 529 | ||
| 530 | ```c | 530 | ```c |
| 531 | size_t aclprofGetModelId(const void *opInfo, size_t opInfoLen, uint32_t index) | 531 | size_t aclprofGetModelId(const void *opInfo, size_t opInfoLen, uint32_t index) |
| @@ -558,3 +558,4 @@ size_t aclprofGetModelId(const void *opInfo, size_t opInfoLen, uint32_t index) | |||
| 558 | ### 返回值说明 | 558 | ### 返回值说明 |
| 559 | 559 | ||
| 560 | 模型的ID。 | 560 | 模型的ID。 |
| 561 | + | ||
| @@ -7,7 +7,7 @@ | |||
| 7 | 7 | ||
| 8 | <a id="aclprofGetStepTimestamp"></a> | 8 | <a id="aclprofGetStepTimestamp"></a> |
| 9 | 9 | ||
| 10 | -# aclprofGetStepTimestamp | 10 | +## aclprofGetStepTimestamp |
| 11 | 11 | ||
| 12 | ```c | 12 | ```c |
| 13 | aclError aclprofGetStepTimestamp(aclprofStepInfo* stepInfo, aclprofStepTag tag, aclrtStream stream) | 13 | aclError aclprofGetStepTimestamp(aclprofStepInfo* stepInfo, aclprofStepTag tag, aclrtStream stream) |
| @@ -17,7 +17,7 @@ | |||
| 17 | 17 | ||
| 18 | <a id="aclrtAllocBuf"></a> | 18 | <a id="aclrtAllocBuf"></a> |
| 19 | 19 | ||
| 20 | -# aclrtAllocBuf | 20 | +## aclrtAllocBuf |
| 21 | 21 | ||
| 22 | ```c | 22 | ```c |
| 23 | aclError aclrtAllocBuf(aclrtMbuf *buf, size_t size) | 23 | aclError aclrtAllocBuf(aclrtMbuf *buf, size_t size) |
| @@ -48,7 +48,7 @@ aclError aclrtAllocBuf(aclrtMbuf *buf, size_t size) | |||
| 48 | 48 | ||
| 49 | <a id="aclrtFreeBuf"></a> | 49 | <a id="aclrtFreeBuf"></a> |
| 50 | 50 | ||
| 51 | -# aclrtFreeBuf | 51 | +## aclrtFreeBuf |
| 52 | 52 | ||
| 53 | ```c | 53 | ```c |
| 54 | aclError aclrtFreeBuf(aclrtMbuf buf) | 54 | aclError aclrtFreeBuf(aclrtMbuf buf) |
| @@ -78,7 +78,7 @@ aclError aclrtFreeBuf(aclrtMbuf buf) | |||
| 78 | 78 | ||
| 79 | <a id="aclrtGetBufData"></a> | 79 | <a id="aclrtGetBufData"></a> |
| 80 | 80 | ||
| 81 | -# aclrtGetBufData | 81 | +## aclrtGetBufData |
| 82 | 82 | ||
| 83 | ```c | 83 | ```c |
| 84 | aclError aclrtGetBufData(const aclrtMbuf buf, void **dataPtr, size_t *size) | 84 | aclError aclrtGetBufData(const aclrtMbuf buf, void **dataPtr, size_t *size) |
| @@ -112,7 +112,7 @@ aclError aclrtGetBufData(const aclrtMbuf buf, void **dataPtr, size_t *size) | |||
| 112 | 112 | ||
| 113 | <a id="aclrtSetBufUserData"></a> | 113 | <a id="aclrtSetBufUserData"></a> |
| 114 | 114 | ||
| 115 | -# aclrtSetBufUserData | 115 | +## aclrtSetBufUserData |
| 116 | 116 | ||
| 117 | ```c | 117 | ```c |
| 118 | aclError aclrtSetBufUserData(aclrtMbuf buf, const void *dataPtr, size_t size, size_t offset) | 118 | aclError aclrtSetBufUserData(aclrtMbuf buf, const void *dataPtr, size_t size, size_t offset) |
| @@ -145,7 +145,7 @@ aclError aclrtSetBufUserData(aclrtMbuf buf, const void *dataPtr, size_t size, si | |||
| 145 | 145 | ||
| 146 | <a id="aclrtGetBufUserData"></a> | 146 | <a id="aclrtGetBufUserData"></a> |
| 147 | 147 | ||
| 148 | -# aclrtGetBufUserData | 148 | +## aclrtGetBufUserData |
| 149 | 149 | ||
| 150 | ```c | 150 | ```c |
| 151 | aclError aclrtGetBufUserData(const aclrtMbuf buf, void *dataPtr, size_t size, size_t offset) | 151 | aclError aclrtGetBufUserData(const aclrtMbuf buf, void *dataPtr, size_t size, size_t offset) |
| @@ -178,7 +178,7 @@ aclError aclrtGetBufUserData(const aclrtMbuf buf, void *dataPtr, size_t size, si | |||
| 178 | 178 | ||
| 179 | <a id="aclrtGetBufDataLen"></a> | 179 | <a id="aclrtGetBufDataLen"></a> |
| 180 | 180 | ||
| 181 | -# aclrtGetBufDataLen | 181 | +## aclrtGetBufDataLen |
| 182 | 182 | ||
| 183 | ```c | 183 | ```c |
| 184 | aclError aclrtGetBufDataLen(aclrtMbuf buf, size_t *len) | 184 | aclError aclrtGetBufDataLen(aclrtMbuf buf, size_t *len) |
| @@ -211,7 +211,7 @@ aclError aclrtGetBufDataLen(aclrtMbuf buf, size_t *len) | |||
| 211 | 211 | ||
| 212 | <a id="aclrtSetBufDataLen"></a> | 212 | <a id="aclrtSetBufDataLen"></a> |
| 213 | 213 | ||
| 214 | -# aclrtSetBufDataLen | 214 | +## aclrtSetBufDataLen |
| 215 | 215 | ||
| 216 | ```c | 216 | ```c |
| 217 | aclError aclrtSetBufDataLen(aclrtMbuf buf, size_t len) | 217 | aclError aclrtSetBufDataLen(aclrtMbuf buf, size_t len) |
| @@ -244,7 +244,7 @@ aclError aclrtSetBufDataLen(aclrtMbuf buf, size_t len) | |||
| 244 | 244 | ||
| 245 | <a id="aclrtCopyBufRef"></a> | 245 | <a id="aclrtCopyBufRef"></a> |
| 246 | 246 | ||
| 247 | -# aclrtCopyBufRef | 247 | +## aclrtCopyBufRef |
| 248 | 248 | ||
| 249 | ```c | 249 | ```c |
| 250 | aclError aclrtCopyBufRef(const aclrtMbuf buf, aclrtMbuf *newBuf) | 250 | aclError aclrtCopyBufRef(const aclrtMbuf buf, aclrtMbuf *newBuf) |
| @@ -275,7 +275,7 @@ aclError aclrtCopyBufRef(const aclrtMbuf buf, aclrtMbuf *newBuf) | |||
| 275 | 275 | ||
| 276 | <a id="aclrtAppendBufChain"></a> | 276 | <a id="aclrtAppendBufChain"></a> |
| 277 | 277 | ||
| 278 | -# aclrtAppendBufChain | 278 | +## aclrtAppendBufChain |
| 279 | 279 | ||
| 280 | ```c | 280 | ```c |
| 281 | aclError aclrtAppendBufChain(aclrtMbuf headBuf, aclrtMbuf buf) | 281 | aclError aclrtAppendBufChain(aclrtMbuf headBuf, aclrtMbuf buf) |
| @@ -306,7 +306,7 @@ aclError aclrtAppendBufChain(aclrtMbuf headBuf, aclrtMbuf buf) | |||
| 306 | 306 | ||
| 307 | <a id="aclrtGetBufFromChain"></a> | 307 | <a id="aclrtGetBufFromChain"></a> |
| 308 | 308 | ||
| 309 | -# aclrtGetBufFromChain | 309 | +## aclrtGetBufFromChain |
| 310 | 310 | ||
| 311 | ```c | 311 | ```c |
| 312 | aclError aclrtGetBufFromChain(aclrtMbuf headBuf, uint32_t index, aclrtMbuf *buf) | 312 | aclError aclrtGetBufFromChain(aclrtMbuf headBuf, uint32_t index, aclrtMbuf *buf) |
| @@ -338,7 +338,7 @@ aclError aclrtGetBufFromChain(aclrtMbuf headBuf, uint32_t index, aclrtMbuf *buf) | |||
| 338 | 338 | ||
| 339 | <a id="aclrtGetBufChainNum"></a> | 339 | <a id="aclrtGetBufChainNum"></a> |
| 340 | 340 | ||
| 341 | -# aclrtGetBufChainNum | 341 | +## aclrtGetBufChainNum |
| 342 | 342 | ||
| 343 | ```c | 343 | ```c |
| 344 | aclError aclrtGetBufChainNum(aclrtMbuf headBuf, uint32_t *num) | 344 | aclError aclrtGetBufChainNum(aclrtMbuf headBuf, uint32_t *num) |
| @@ -12,7 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | <a id="aclrtSnapShotProcessLock"></a> | 13 | <a id="aclrtSnapShotProcessLock"></a> |
| 14 | 14 | ||
| 15 | -# aclrtSnapShotProcessLock | 15 | +## aclrtSnapShotProcessLock |
| 16 | 16 | ||
| 17 | ```c | 17 | ```c |
| 18 | aclError aclrtSnapShotProcessLock() | 18 | aclError aclrtSnapShotProcessLock() |
| @@ -52,7 +52,7 @@ aclError aclrtSnapShotProcessLock() | |||
| 52 | 52 | ||
| 53 | <a id="aclrtSnapShotProcessBackup"></a> | 53 | <a id="aclrtSnapShotProcessBackup"></a> |
| 54 | 54 | ||
| 55 | -# aclrtSnapShotProcessBackup | 55 | +## aclrtSnapShotProcessBackup |
| 56 | 56 | ||
| 57 | ```c | 57 | ```c |
| 58 | aclError aclrtSnapShotProcessBackup() | 58 | aclError aclrtSnapShotProcessBackup() |
| @@ -92,7 +92,7 @@ aclError aclrtSnapShotProcessBackup() | |||
| 92 | 92 | ||
| 93 | <a id="aclrtSnapShotProcessRestore"></a> | 93 | <a id="aclrtSnapShotProcessRestore"></a> |
| 94 | 94 | ||
| 95 | -# aclrtSnapShotProcessRestore | 95 | +## aclrtSnapShotProcessRestore |
| 96 | 96 | ||
| 97 | ```c | 97 | ```c |
| 98 | aclError aclrtSnapShotProcessRestore() | 98 | aclError aclrtSnapShotProcessRestore() |
| @@ -136,7 +136,7 @@ aclError aclrtSnapShotProcessRestore() | |||
| 136 | 136 | ||
| 137 | <a id="aclrtSnapShotProcessUnlock"></a> | 137 | <a id="aclrtSnapShotProcessUnlock"></a> |
| 138 | 138 | ||
| 139 | -# aclrtSnapShotProcessUnlock | 139 | +## aclrtSnapShotProcessUnlock |
| 140 | 140 | ||
| 141 | ```c | 141 | ```c |
| 142 | aclError aclrtSnapShotProcessUnlock() | 142 | aclError aclrtSnapShotProcessUnlock() |
| @@ -176,7 +176,7 @@ aclError aclrtSnapShotProcessUnlock() | |||
| 176 | 176 | ||
| 177 | <a id="aclrtSnapShotCallbackRegister"></a> | 177 | <a id="aclrtSnapShotCallbackRegister"></a> |
| 178 | 178 | ||
| 179 | -# aclrtSnapShotCallbackRegister | 179 | +## aclrtSnapShotCallbackRegister |
| 180 | 180 | ||
| 181 | ```c | 181 | ```c |
| 182 | aclError aclrtSnapShotCallbackRegister(aclrtSnapShotStage stage, aclrtSnapShotCallBack callback, void *args) | 182 | aclError aclrtSnapShotCallbackRegister(aclrtSnapShotStage stage, aclrtSnapShotCallBack callback, void *args) |
| @@ -219,7 +219,7 @@ aclError aclrtSnapShotCallbackRegister(aclrtSnapShotStage stage, aclrtSnapShotCa | |||
| 219 | 219 | ||
| 220 | <a id="aclrtSnapShotCallbackUnregister"></a> | 220 | <a id="aclrtSnapShotCallbackUnregister"></a> |
| 221 | 221 | ||
| 222 | -# aclrtSnapShotCallbackUnregister | 222 | +## aclrtSnapShotCallbackUnregister |
| 223 | 223 | ||
| 224 | ```c | 224 | ```c |
| 225 | aclError aclrtSnapShotCallbackUnregister(aclrtSnapShotStage stage, aclrtSnapShotCallBack callback) | 225 | aclError aclrtSnapShotCallbackUnregister(aclrtSnapShotStage stage, aclrtSnapShotCallBack callback) |
| @@ -1,4 +1,4 @@ | |||
| 1 | -# 22. 错误上报接口 | 1 | +# 22. 错误上报接口 |
| 2 | 2 | ||
| 3 | 本章节描述错误上报接口,用于注册和上报各类预定义与自定义的错误信息。 | 3 | 本章节描述错误上报接口,用于注册和上报各类预定义与自定义的错误信息。 |
| 4 | 4 | ||
| @@ -195,7 +195,7 @@ int32_t RegisterFormatErrorMessage(const char *error_msg, size_t error_msg_len) | |||
| 195 | 195 | ||
| 196 | ### 函数功能 | 196 | ### 函数功能 |
| 197 | 197 | ||
| 198 | -按照规定的json格式,调用本接口给CANN注册预定义的错误码信息后,再调用[ReportPredefinedErrMsg](##ReportPredefinedErrMsg)接口上报错误码。 | 198 | +按照规定的json格式,调用本接口给CANN注册预定义的错误码信息后,再调用[ReportPredefinedErrMsg](#ReportPredefinedErrMsg)接口上报错误码。 |
| 199 | 199 | ||
| 200 | 同时为了方便使用,封装了宏**REG_FORMAT_ERROR_MSG**,用户可直接使用该宏注册,该宏直接定义静态变量注册,进程加载时就会完成注册。 | 200 | 同时为了方便使用,封装了宏**REG_FORMAT_ERROR_MSG**,用户可直接使用该宏注册,该宏直接定义静态变量注册,进程加载时就会完成注册。 |
| 201 | 201 | ||
| @@ -214,7 +214,7 @@ int32_t RegisterFormatErrorMessage(const char *error_msg, size_t error_msg_len) | |||
| 214 | 214 | ||
| 215 | | 参数名 | 输入/输出 | 说明 | | 215 | | 参数名 | 输入/输出 | 说明 | |
| 216 | | --- | --- | --- | | 216 | | --- | --- | --- | |
| 217 | -| error_msg | 输入 | 错误码信息,可一次注册多个错误码。<br>错误码信息需按json格式组织,示例请参见[调用示例](##调用示例)。 | | 217 | +| error_msg | 输入 | 错误码信息,可一次注册多个错误码。<br>错误码信息需按json格式组织,示例请参见[调用示例](#调用示例)。 | |
| 218 | | error_msg_len | 输入 | error_msg长度,不包含末尾的'\0'。 | | 218 | | error_msg_len | 输入 | error_msg长度,不包含末尾的'\0'。 | |
| 219 | 219 | ||
| 220 | ### 返回值 | 220 | ### 返回值 |
| @@ -273,3 +273,4 @@ const std::string error_msg = R"( | |||
| 273 | 273 | ||
| 274 | REG_FORMAT_ERROR_MSG(error_msg.c_str(), error_msg.size()); | 274 | REG_FORMAT_ERROR_MSG(error_msg.c_str(), error_msg.size()); |
| 275 | ``` | 275 | ``` |
| 276 | + | ||
| @@ -1,11 +1,11 @@ | |||
| 1 | -# 23. 日志接口 | 1 | +# 23. 日志接口 |
| 2 | 2 | ||
| 3 | 本章节描述日志接口,用于记录模块产生的日志并校验调测日志级别。 | 3 | 本章节描述日志接口,用于记录模块产生的日志并校验调测日志级别。 |
| 4 | 4 | ||
| 5 | - [使用须知](#使用须知) | 5 | - [使用须知](#使用须知) |
| 6 | - [`void AlogRecord(uint32_t moduleId, uint32_t logType, int32_t level, const char *fmt, ...)`](#AlogRecord):用于记录各模块产生的日志。 | 6 | - [`void AlogRecord(uint32_t moduleId, uint32_t logType, int32_t level, const char *fmt, ...)`](#AlogRecord):用于记录各模块产生的日志。 |
| 7 | - [`int32_t AlogCheckDebugLevel(uint32_t moduleId, int32_t level)`](#AlogCheckDebugLevel):用于校验调测日志级别。 | 7 | - [`int32_t AlogCheckDebugLevel(uint32_t moduleId, int32_t level)`](#AlogCheckDebugLevel):用于校验调测日志级别。 |
| 8 | -- [`数据类型定义`](##数据类型定义):日志级别、日志类型和模块ID等数据类型定义。 | 8 | +- [`数据类型定义`](#数据类型定义):日志级别、日志类型和模块ID等数据类型定义。 |
| 9 | 9 | ||
| 10 | 10 | ||
| 11 | <br> | 11 | <br> |
| @@ -59,9 +59,9 @@ void AlogRecord(uint32_t moduleId, uint32_t logType, int32_t level, const char * | |||
| 59 | 59 | ||
| 60 | | 参数 | 输入/输出 | 说明 | | 60 | | 参数 | 输入/输出 | 说明 | |
| 61 | | --- | --- | --- | | 61 | | --- | --- | --- | |
| 62 | -| moduleId | 输入 | 模块ID,枚举值请参见[数据类型定义](##数据类型定义)。 | | 62 | +| moduleId | 输入 | 模块ID,枚举值请参见[数据类型定义](#数据类型定义)。 | |
| 63 | -| logType | 输入 | 本条日志类型,枚举值请参见[数据类型定义](##数据类型定义)。传入其他值视作调试日志。 | | 63 | +| logType | 输入 | 本条日志类型,枚举值请参见[数据类型定义](#数据类型定义)。传入其他值视作调试日志。 | |
| 64 | -| level | 输入 | 本条日志级别,宏定义请参见[数据类型定义](##数据类型定义)。<br> 说明: 运行日志不会记录debug级别日志,DLOG_TYPE_RUN和DLOG_DEBUG不可组合使用。 | | 64 | +| level | 输入 | 本条日志级别,宏定义请参见[数据类型定义](#数据类型定义)。<br> 说明: 运行日志不会记录debug级别日志,DLOG_TYPE_RUN和DLOG_DEBUG不可组合使用。 | |
| 65 | | fmt | 输入 | 待打印的内容。<br><br> - 接口不校验内容合法性。<br> - 单条日志最大长度为1024字节,超出则会截断。 | | 65 | | fmt | 输入 | 待打印的内容。<br><br> - 接口不校验内容合法性。<br> - 单条日志最大长度为1024字节,超出则会截断。 | |
| 66 | 66 | ||
| 67 | ### 返回值 | 67 | ### 返回值 |
| @@ -107,8 +107,8 @@ int32_t AlogCheckDebugLevel(uint32_t moduleId, int32_t level) | |||
| 107 | 107 | ||
| 108 | | 参数 | 输入/输出 | 说明 | | 108 | | 参数 | 输入/输出 | 说明 | |
| 109 | | --- | --- | --- | | 109 | | --- | --- | --- | |
| 110 | -| moduleId | 输入 | 模块ID,枚举值请参见[数据类型定义](##数据类型定义)。 | | 110 | +| moduleId | 输入 | 模块ID,枚举值请参见[数据类型定义](#数据类型定义)。 | |
| 111 | -| level | 输入 | 日志级别,宏定义请参见[数据类型定义](##数据类型定义)。 | | 111 | +| level | 输入 | 日志级别,宏定义请参见[数据类型定义](#数据类型定义)。 | |
| 112 | 112 | ||
| 113 | ### 返回值 | 113 | ### 返回值 |
| 114 | 114 | ||
| @@ -222,3 +222,4 @@ enum { | |||
| 222 | INVLID_MOUDLE_ID = 76 /* add new module before INVLID_MOUDLE_ID */ | 222 | INVLID_MOUDLE_ID = 76 /* add new module before INVLID_MOUDLE_ID */ |
| 223 | }; | 223 | }; |
| 224 | ``` | 224 | ``` |
| 225 | + | ||
| @@ -1,4 +1,4 @@ | |||
| 1 | -# 24. 其他接口 | 1 | +# 24. 其他接口 |
| 2 | 2 | ||
| 3 | 本章节描述 CANN Runtime 的其他辅助接口,包括版本查询、数据类型转换等。 | 3 | 本章节描述 CANN Runtime 的其他辅助接口,包括版本查询、数据类型转换等。 |
| 4 | 4 | ||
| @@ -20,7 +20,7 @@ | |||
| 20 | 20 | ||
| 21 | <a id="aclDataTypeSize"></a> | 21 | <a id="aclDataTypeSize"></a> |
| 22 | 22 | ||
| 23 | -# aclDataTypeSize | 23 | +## aclDataTypeSize |
| 24 | 24 | ||
| 25 | ```c | 25 | ```c |
| 26 | size_t aclDataTypeSize(aclDataType dataType) | 26 | size_t aclDataTypeSize(aclDataType dataType) |
| @@ -59,7 +59,7 @@ size_t aclDataTypeSize(aclDataType dataType) | |||
| 59 | 59 | ||
| 60 | <a id="aclFloat16ToFloat"></a> | 60 | <a id="aclFloat16ToFloat"></a> |
| 61 | 61 | ||
| 62 | -# aclFloat16ToFloat | 62 | +## aclFloat16ToFloat |
| 63 | 63 | ||
| 64 | ```c | 64 | ```c |
| 65 | float aclFloat16ToFloat(aclFloat16 value) | 65 | float aclFloat16ToFloat(aclFloat16 value) |
| @@ -98,7 +98,7 @@ float aclFloat16ToFloat(aclFloat16 value) | |||
| 98 | 98 | ||
| 99 | <a id="aclFloatToFloat16"></a> | 99 | <a id="aclFloatToFloat16"></a> |
| 100 | 100 | ||
| 101 | -# aclFloatToFloat16 | 101 | +## aclFloatToFloat16 |
| 102 | 102 | ||
| 103 | ```c | 103 | ```c |
| 104 | aclFloat16 aclFloatToFloat16(float value) | 104 | aclFloat16 aclFloatToFloat16(float value) |
| @@ -139,7 +139,7 @@ aclFloat16 aclFloatToFloat16(float value) | |||
| 139 | 139 | ||
| 140 | <a id="aclrtGetVersion"></a> | 140 | <a id="aclrtGetVersion"></a> |
| 141 | 141 | ||
| 142 | -# aclrtGetVersion | 142 | +## aclrtGetVersion |
| 143 | 143 | ||
| 144 | ```c | 144 | ```c |
| 145 | aclError aclrtGetVersion(int32_t *majorVersion, int32_t *minorVersion, int32_t *patchVersion) | 145 | aclError aclrtGetVersion(int32_t *majorVersion, int32_t *minorVersion, int32_t *patchVersion) |
| @@ -180,7 +180,7 @@ aclError aclrtGetVersion(int32_t *majorVersion, int32_t *minorVersion, int32_t * | |||
| 180 | 180 | ||
| 181 | <a id="aclsysGetCANNVersion(废弃)"></a> | 181 | <a id="aclsysGetCANNVersion(废弃)"></a> |
| 182 | 182 | ||
| 183 | -# aclsysGetCANNVersion(废弃) | 183 | +## aclsysGetCANNVersion(废弃) |
| 184 | 184 | ||
| 185 | ```c | 185 | ```c |
| 186 | aclError aclsysGetCANNVersion(aclCANNPackageName name, aclCANNPackageVersion *version) | 186 | aclError aclsysGetCANNVersion(aclCANNPackageName name, aclCANNPackageVersion *version) |
| @@ -222,7 +222,7 @@ aclError aclsysGetCANNVersion(aclCANNPackageName name, aclCANNPackageVersion *ve | |||
| 222 | 222 | ||
| 223 | <a id="aclGetCannAttributeList"></a> | 223 | <a id="aclGetCannAttributeList"></a> |
| 224 | 224 | ||
| 225 | -# aclGetCannAttributeList | 225 | +## aclGetCannAttributeList |
| 226 | 226 | ||
| 227 | ```c | 227 | ```c |
| 228 | aclError aclGetCannAttributeList(const aclCannAttr **cannAttrList, size_t *num) | 228 | aclError aclGetCannAttributeList(const aclCannAttr **cannAttrList, size_t *num) |
| @@ -262,7 +262,7 @@ aclError aclGetCannAttributeList(const aclCannAttr **cannAttrList, size_t *num) | |||
| 262 | 262 | ||
| 263 | <a id="aclGetCannAttribute"></a> | 263 | <a id="aclGetCannAttribute"></a> |
| 264 | 264 | ||
| 265 | -# aclGetCannAttribute | 265 | +## aclGetCannAttribute |
| 266 | 266 | ||
| 267 | ```c | 267 | ```c |
| 268 | aclError aclGetCannAttribute(aclCannAttr cannAttr, int32_t *value) | 268 | aclError aclGetCannAttribute(aclCannAttr cannAttr, int32_t *value) |
| @@ -302,7 +302,7 @@ aclError aclGetCannAttribute(aclCannAttr cannAttr, int32_t *value) | |||
| 302 | 302 | ||
| 303 | <a id="aclGetDeviceCapability"></a> | 303 | <a id="aclGetDeviceCapability"></a> |
| 304 | 304 | ||
| 305 | -# aclGetDeviceCapability | 305 | +## aclGetDeviceCapability |
| 306 | 306 | ||
| 307 | ```c | 307 | ```c |
| 308 | aclError aclGetDeviceCapability(uint32_t deviceId, aclDeviceInfo deviceInfo, int64_t *value) | 308 | aclError aclGetDeviceCapability(uint32_t deviceId, aclDeviceInfo deviceInfo, int64_t *value) |
| @@ -343,7 +343,7 @@ aclError aclGetDeviceCapability(uint32_t deviceId, aclDeviceInfo deviceInfo, int | |||
| 343 | 343 | ||
| 344 | <a id="aclrtCacheLastTaskOpInfo"></a> | 344 | <a id="aclrtCacheLastTaskOpInfo"></a> |
| 345 | 345 | ||
| 346 | -# aclrtCacheLastTaskOpInfo | 346 | +## aclrtCacheLastTaskOpInfo |
| 347 | 347 | ||
| 348 | ```c | 348 | ```c |
| 349 | aclError aclrtCacheLastTaskOpInfo(const void * const infoPtr, const size_t infoSize) | 349 | aclError aclrtCacheLastTaskOpInfo(const void * const infoPtr, const size_t infoSize) |
| @@ -388,7 +388,7 @@ aclError aclrtCacheLastTaskOpInfo(const void * const infoPtr, const size_t infoS | |||
| 388 | 5. 调用[aclrtCacheLastTaskOpInfo](#aclrtCacheLastTaskOpInfo)接口缓存算子信息。 | 388 | 5. 调用[aclrtCacheLastTaskOpInfo](#aclrtCacheLastTaskOpInfo)接口缓存算子信息。 |
| 389 | 6. 再次调用[aclrtSetStreamAttribute](06_Stream管理.md#aclrtSetStreamAttribute)接口关闭算子信息缓存开关。 | 389 | 6. 再次调用[aclrtSetStreamAttribute](06_Stream管理.md#aclrtSetStreamAttribute)接口关闭算子信息缓存开关。 |
| 390 | 7. 调用[aclmdlRICaptureEnd](15_模型运行实例管理.md#aclmdlRICaptureEnd)接口结束任务捕获。 | 390 | 7. 调用[aclmdlRICaptureEnd](15_模型运行实例管理.md#aclmdlRICaptureEnd)接口结束任务捕获。 |
| 391 | -8. 开启采集性能数据(参见[Profiling数据采集接口](Profiling数据采集接口.md)章节下的接口)后,调用[aclmdlRIExecuteAsync](15_模型运行实例管理.md#aclmdlRIExecuteAsync)接口执行推理。 | 391 | +8. 开启采集性能数据(参见[Profiling数据采集接口](19-01_Profiling数据采集接口.md)章节下的接口)后,调用[aclmdlRIExecuteAsync](15_模型运行实例管理.md#aclmdlRIExecuteAsync)接口执行推理。 |
| 392 | 392 | ||
| 393 | 在此过程中,采集的性能数据会附带算子信息。 | 393 | 在此过程中,采集的性能数据会附带算子信息。 |
| 394 | 394 | ||
| @@ -403,7 +403,7 @@ aclError aclrtCacheLastTaskOpInfo(const void * const infoPtr, const size_t infoS | |||
| 403 | 403 | ||
| 404 | <a id="aclrtProfTrace"></a> | 404 | <a id="aclrtProfTrace"></a> |
| 405 | 405 | ||
| 406 | -# aclrtProfTrace | 406 | +## aclrtProfTrace |
| 407 | 407 | ||
| 408 | ```c | 408 | ```c |
| 409 | aclError aclrtProfTrace(void *userdata, int32_t length, aclrtStream stream) | 409 | aclError aclrtProfTrace(void *userdata, int32_t length, aclrtStream stream) |
| @@ -444,7 +444,7 @@ aclError aclrtProfTrace(void *userdata, int32_t length, aclrtStream stream) | |||
| 444 | 444 | ||
| 445 | <a id="aclsysGetVersionNum"></a> | 445 | <a id="aclsysGetVersionNum"></a> |
| 446 | 446 | ||
| 447 | -# aclsysGetVersionNum | 447 | +## aclsysGetVersionNum |
| 448 | 448 | ||
| 449 | ```c | 449 | ```c |
| 450 | aclError aclsysGetVersionNum(char *pkgName, int32_t *versionNum) | 450 | aclError aclsysGetVersionNum(char *pkgName, int32_t *versionNum) |
| @@ -486,7 +486,7 @@ aclError aclsysGetVersionNum(char *pkgName, int32_t *versionNum) | |||
| 486 | 486 | ||
| 487 | <a id="aclsysGetVersionStr"></a> | 487 | <a id="aclsysGetVersionStr"></a> |
| 488 | 488 | ||
| 489 | -# aclsysGetVersionStr | 489 | +## aclsysGetVersionStr |
| 490 | 490 | ||
| 491 | ```c | 491 | ```c |
| 492 | aclError aclsysGetVersionStr(char *pkgName, char *versionStr) | 492 | aclError aclsysGetVersionStr(char *pkgName, char *versionStr) |
| @@ -516,3 +516,4 @@ aclError aclsysGetVersionStr(char *pkgName, char *versionStr) | |||
| 516 | ### 返回值说明 | 516 | ### 返回值说明 |
| 517 | 517 | ||
| 518 | 返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 | 518 | 返回0表示成功,返回其他值表示失败,请参见[aclError](25_数据类型及其操作接口.md#aclError)。 |
| 519 | + | ||
| @@ -1,4 +1,4 @@ | |||
| 1 | -# 25. 数据类型及其操作接口 | 1 | +# 25. 数据类型及其操作接口 |
| 2 | 2 | ||
| 3 | 本章节描述 CANN Runtime 使用的数据类型定义及其操作接口,包括基础类型、DataBuffer、Dataset、QueueAttr 等系列。 | 3 | 本章节描述 CANN Runtime 使用的数据类型定义及其操作接口,包括基础类型、DataBuffer、Dataset、QueueAttr 等系列。 |
| 4 | - [aclError](#aclError) | 4 | - [aclError](#aclError) |
| @@ -205,7 +205,7 @@ | |||
| 205 | 205 | ||
| 206 | <a id="aclError"></a> | 206 | <a id="aclError"></a> |
| 207 | 207 | ||
| 208 | -# aclError | 208 | +## aclError |
| 209 | 209 | ||
| 210 | ``` | 210 | ``` |
| 211 | typedef int aclError; | 211 | typedef int aclError; |
| @@ -219,6 +219,7 @@ typedef int aclError; | |||
| 219 | - 规则4:软硬件内部异常,包括软件内部错误、Device执行失败等,用户无法解决问题,需要将问题反馈给技术支持,此时返回码定义为5XXXXX。您可以获取日志后单击[Link](https://www.hiascend.com/support)联系技术支持。 | 219 | - 规则4:软硬件内部异常,包括软件内部错误、Device执行失败等,用户无法解决问题,需要将问题反馈给技术支持,此时返回码定义为5XXXXX。您可以获取日志后单击[Link](https://www.hiascend.com/support)联系技术支持。 |
| 220 | - 规则5:无法识别的错误,当前都映射为500000。您可以获取日志后单击[Link](https://www.hiascend.com/support)联系技术支持。 | 220 | - 规则5:无法识别的错误,当前都映射为500000。您可以获取日志后单击[Link](https://www.hiascend.com/support)联系技术支持。 |
| 221 | 221 | ||
| 222 | +<a id="table1323834101720"></a> | ||
| 222 | **表 1** acl返回码列表 | 223 | **表 1** acl返回码列表 |
| 223 | 224 | ||
| 224 | 225 | ||
| @@ -296,6 +297,7 @@ typedef int aclError; | |||
| 296 | | static const int ACL_ERROR_DRV_FAILURE = 500004; | Driver模块的错误。 | 您可以获取日志后单击[Link](https://www.hiascend.com/support)联系技术支持。 | | 297 | | static const int ACL_ERROR_DRV_FAILURE = 500004; | Driver模块的错误。 | 您可以获取日志后单击[Link](https://www.hiascend.com/support)联系技术支持。 | |
| 297 | | static const int ACL_ERROR_PROFILING_FAILURE = 500005; | Profiling模块的错误。 | 您可以获取日志后单击[Link](https://www.hiascend.com/support)联系技术支持。 | | 298 | | static const int ACL_ERROR_PROFILING_FAILURE = 500005; | Profiling模块的错误。 | 您可以获取日志后单击[Link](https://www.hiascend.com/support)联系技术支持。 | |
| 298 | 299 | ||
| 300 | +<a id="table1089051917356"></a> | ||
| 299 | **表 2** 透传RUNTIME的返回码列表 | 301 | **表 2** 透传RUNTIME的返回码列表 |
| 300 | 302 | ||
| 301 | 303 | ||
| @@ -433,6 +435,7 @@ typedef int aclError; | |||
| 433 | | #define ACL_ERROR_SNAPSHOT_CALLBACK_FAILED 507912 | 快照某个阶段,执行回调函数失败。 | 您可以获取日志后单击[Link](https://www.hiascend.com/support)联系技术支持。 | | 435 | | #define ACL_ERROR_SNAPSHOT_CALLBACK_FAILED 507912 | 快照某个阶段,执行回调函数失败。 | 您可以获取日志后单击[Link](https://www.hiascend.com/support)联系技术支持。 | |
| 434 | | #define ACL_ERROR_SNAPSHOT_REGISTER_CALLBACK_FAILED<br>507913 | 注册回调函数失败。 | 您可以获取日志后单击[Link](https://www.hiascend.com/support)联系技术支持。 | | 436 | | #define ACL_ERROR_SNAPSHOT_REGISTER_CALLBACK_FAILED<br>507913 | 注册回调函数失败。 | 您可以获取日志后单击[Link](https://www.hiascend.com/support)联系技术支持。 | |
| 435 | 437 | ||
| 438 | +<a id="table153902340461"></a> | ||
| 436 | **表 3** 透传GE的返回码列表 | 439 | **表 3** 透传GE的返回码列表 |
| 437 | 440 | ||
| 438 | 441 | ||
| @@ -486,7 +489,7 @@ typedef int aclError; | |||
| 486 | 489 | ||
| 487 | <a id="aclCannAttr"></a> | 490 | <a id="aclCannAttr"></a> |
| 488 | 491 | ||
| 489 | -# aclCannAttr | 492 | +## aclCannAttr |
| 490 | 493 | ||
| 491 | ``` | 494 | ``` |
| 492 | typedef enum { | 495 | typedef enum { |
| @@ -506,7 +509,7 @@ typedef enum { | |||
| 506 | 509 | ||
| 507 | <a id="aclCANNPackageName"></a> | 510 | <a id="aclCANNPackageName"></a> |
| 508 | 511 | ||
| 509 | -# aclCANNPackageName | 512 | +## aclCANNPackageName |
| 510 | 513 | ||
| 511 | 设置为ACL\_PKG\_NAME\_CANN,表示查询CANN的版本号;设置为其它值,表示查询CANN中具体某个模块的版本号。 | 514 | 设置为ACL\_PKG\_NAME\_CANN,表示查询CANN的版本号;设置为其它值,表示查询CANN中具体某个模块的版本号。 |
| 512 | 515 | ||
| @@ -532,7 +535,7 @@ typedef enum aclCANNPackageName { | |||
| 532 | 535 | ||
| 533 | <a id="aclCANNPackageVersion"></a> | 536 | <a id="aclCANNPackageVersion"></a> |
| 534 | 537 | ||
| 535 | -# aclCANNPackageVersion | 538 | +## aclCANNPackageVersion |
| 536 | 539 | ||
| 537 | ``` | 540 | ``` |
| 538 | #define ACL_PKG_VERSION_MAX_SIZE 128 | 541 | #define ACL_PKG_VERSION_MAX_SIZE 128 |
| @@ -557,7 +560,7 @@ typedef struct aclCANNPackageVersion { | |||
| 557 | 560 | ||
| 558 | <a id="aclDataBuffer"></a> | 561 | <a id="aclDataBuffer"></a> |
| 559 | 562 | ||
| 560 | -# aclDataBuffer | 563 | +## aclDataBuffer |
| 561 | 564 | ||
| 562 | - **[aclCreateDataBuffer](#aclCreateDataBuffer)** | 565 | - **[aclCreateDataBuffer](#aclCreateDataBuffer)** |
| 563 | 566 | ||
| @@ -565,7 +568,7 @@ typedef struct aclCANNPackageVersion { | |||
| 565 | 568 | ||
| 566 | - **[aclGetDataBufferAddr](#aclGetDataBufferAddr)** | 569 | - **[aclGetDataBufferAddr](#aclGetDataBufferAddr)** |
| 567 | 570 | ||
| 568 | -- **[aclGetDataBufferSize(废弃)](aclGetDataBufferSize(废弃).md)** | 571 | +- **[aclGetDataBufferSize(废弃)](#aclGetDataBufferSize(废弃))** |
| 569 | 572 | ||
| 570 | - **[aclGetDataBufferSizeV2](#aclGetDataBufferSizeV2)** | 573 | - **[aclGetDataBufferSizeV2](#aclGetDataBufferSizeV2)** |
| 571 | 574 | ||
| @@ -580,7 +583,7 @@ typedef struct aclCANNPackageVersion { | |||
| 580 | 583 | ||
| 581 | <a id="aclCreateDataBuffer"></a> | 584 | <a id="aclCreateDataBuffer"></a> |
| 582 | 585 | ||
| 583 | -# aclCreateDataBuffer | 586 | +## aclCreateDataBuffer |
| 584 | 587 | ||
| 585 | ```c | 588 | ```c |
| 586 | aclDataBuffer *aclCreateDataBuffer(void *data, size_t size) | 589 | aclDataBuffer *aclCreateDataBuffer(void *data, size_t size) |
| @@ -622,7 +625,7 @@ aclDataBuffer *aclCreateDataBuffer(void *data, size_t size) | |||
| 622 | 625 | ||
| 623 | <a id="aclDestroyDataBuffer"></a> | 626 | <a id="aclDestroyDataBuffer"></a> |
| 624 | 627 | ||
| 625 | -# aclDestroyDataBuffer | 628 | +## aclDestroyDataBuffer |
| 626 | 629 | ||
| 627 | ```c | 630 | ```c |
| 628 | aclError aclDestroyDataBuffer(const aclDataBuffer *dataBuffer) | 631 | aclError aclDestroyDataBuffer(const aclDataBuffer *dataBuffer) |
| @@ -663,7 +666,7 @@ aclError aclDestroyDataBuffer(const aclDataBuffer *dataBuffer) | |||
| 663 | 666 | ||
| 664 | <a id="aclGetDataBufferAddr"></a> | 667 | <a id="aclGetDataBufferAddr"></a> |
| 665 | 668 | ||
| 666 | -# aclGetDataBufferAddr | 669 | +## aclGetDataBufferAddr |
| 667 | 670 | ||
| 668 | ```c | 671 | ```c |
| 669 | void *aclGetDataBufferAddr(const aclDataBuffer *dataBuffer) | 672 | void *aclGetDataBufferAddr(const aclDataBuffer *dataBuffer) |
| @@ -702,7 +705,7 @@ void *aclGetDataBufferAddr(const aclDataBuffer *dataBuffer) | |||
| 702 | 705 | ||
| 703 | <a id="aclGetDataBufferSize(废弃)"></a> | 706 | <a id="aclGetDataBufferSize(废弃)"></a> |
| 704 | 707 | ||
| 705 | -# aclGetDataBufferSize(废弃) | 708 | +## aclGetDataBufferSize(废弃) |
| 706 | 709 | ||
| 707 | ```c | 710 | ```c |
| 708 | uint32 aclGetDataBufferSize(const aclDataBuffer *dataBuffer) | 711 | uint32 aclGetDataBufferSize(const aclDataBuffer *dataBuffer) |
| @@ -743,7 +746,7 @@ aclDataBuffer类型中数据的内存大小。 | |||
| 743 | 746 | ||
| 744 | <a id="aclGetDataBufferSizeV2"></a> | 747 | <a id="aclGetDataBufferSizeV2"></a> |
| 745 | 748 | ||
| 746 | -# aclGetDataBufferSizeV2 | 749 | +## aclGetDataBufferSizeV2 |
| 747 | 750 | ||
| 748 | ```c | 751 | ```c |
| 749 | size_t aclGetDataBufferSizeV2(const aclDataBuffer *dataBuffer) | 752 | size_t aclGetDataBufferSizeV2(const aclDataBuffer *dataBuffer) |
| @@ -782,7 +785,7 @@ aclDataBuffer类型中数据的内存大小。 | |||
| 782 | 785 | ||
| 783 | <a id="aclUpdateDataBuffer"></a> | 786 | <a id="aclUpdateDataBuffer"></a> |
| 784 | 787 | ||
| 785 | -# aclUpdateDataBuffer | 788 | +## aclUpdateDataBuffer |
| 786 | 789 | ||
| 787 | ```c | 790 | ```c |
| 788 | aclError aclUpdateDataBuffer(aclDataBuffer *dataBuffer, void *data, size_t size) | 791 | aclError aclUpdateDataBuffer(aclDataBuffer *dataBuffer, void *data, size_t size) |
| @@ -820,7 +823,7 @@ aclError aclUpdateDataBuffer(aclDataBuffer *dataBuffer, void *data, size_t size) | |||
| 820 | 823 | ||
| 821 | <a id="aclDataType"></a> | 824 | <a id="aclDataType"></a> |
| 822 | 825 | ||
| 823 | -# aclDataType | 826 | +## aclDataType |
| 824 | 827 | ||
| 825 | ``` | 828 | ``` |
| 826 | typedef enum { | 829 | typedef enum { |
| @@ -872,7 +875,7 @@ Atlas A2 训练系列产品/Atlas A2 推理系列产品,不支持 | |||
| 872 | 875 | ||
| 873 | <a id="aclDeviceInfo"></a> | 876 | <a id="aclDeviceInfo"></a> |
| 874 | 877 | ||
| 875 | -# aclDeviceInfo | 878 | +## aclDeviceInfo |
| 876 | 879 | ||
| 877 | ``` | 880 | ``` |
| 878 | typedef enum { | 881 | typedef enum { |
| @@ -892,7 +895,7 @@ typedef enum { | |||
| 892 | 895 | ||
| 893 | <a id="acldumpType"></a> | 896 | <a id="acldumpType"></a> |
| 894 | 897 | ||
| 895 | -# acldumpType | 898 | +## acldumpType |
| 896 | 899 | ||
| 897 | ``` | 900 | ``` |
| 898 | enum acldumpType { | 901 | enum acldumpType { |
| @@ -913,7 +916,7 @@ enum acldumpType { | |||
| 913 | 916 | ||
| 914 | <a id="aclFloat16"></a> | 917 | <a id="aclFloat16"></a> |
| 915 | 918 | ||
| 916 | -# aclFloat16 | 919 | +## aclFloat16 |
| 917 | 920 | ||
| 918 | 该数据类型仅用于数据传递,不能用于加减乘除等运算。 | 921 | 该数据类型仅用于数据传递,不能用于加减乘除等运算。 |
| 919 | 922 | ||
| @@ -930,7 +933,7 @@ typedef uint16_t aclFloat16; | |||
| 930 | 933 | ||
| 931 | <a id="aclFormat"></a> | 934 | <a id="aclFormat"></a> |
| 932 | 935 | ||
| 933 | -# aclFormat | 936 | +## aclFormat |
| 934 | 937 | ||
| 935 | ``` | 938 | ``` |
| 936 | typedef enum { | 939 | typedef enum { |
| @@ -989,7 +992,7 @@ aclFormat各项含义如下: | |||
| 989 | 992 | ||
| 990 | <a id="aclmdlRI"></a> | 993 | <a id="aclmdlRI"></a> |
| 991 | 994 | ||
| 992 | -# aclmdlRI | 995 | +## aclmdlRI |
| 993 | 996 | ||
| 994 | ``` | 997 | ``` |
| 995 | typedef void *aclmdlRI; | 998 | typedef void *aclmdlRI; |
| @@ -1004,7 +1007,7 @@ typedef void *aclmdlRI; | |||
| 1004 | 1007 | ||
| 1005 | <a id="aclmdlRICaptureMode"></a> | 1008 | <a id="aclmdlRICaptureMode"></a> |
| 1006 | 1009 | ||
| 1007 | -# aclmdlRICaptureMode | 1010 | +## aclmdlRICaptureMode |
| 1008 | 1011 | ||
| 1009 | ``` | 1012 | ``` |
| 1010 | typedef enum { | 1013 | typedef enum { |
| @@ -1023,7 +1026,7 @@ typedef enum { | |||
| 1023 | 1026 | ||
| 1024 | <a id="aclmdlRICaptureStatus"></a> | 1027 | <a id="aclmdlRICaptureStatus"></a> |
| 1025 | 1028 | ||
| 1026 | -# aclmdlRICaptureStatus | 1029 | +## aclmdlRICaptureStatus |
| 1027 | 1030 | ||
| 1028 | ``` | 1031 | ``` |
| 1029 | typedef enum { | 1032 | typedef enum { |
| @@ -1042,7 +1045,7 @@ typedef enum { | |||
| 1042 | 1045 | ||
| 1043 | <a id="aclmdlRIEventRecordTaskParams"></a> | 1046 | <a id="aclmdlRIEventRecordTaskParams"></a> |
| 1044 | 1047 | ||
| 1045 | -# aclmdlRIEventRecordTaskParams | 1048 | +## aclmdlRIEventRecordTaskParams |
| 1046 | 1049 | ||
| 1047 | ``` | 1050 | ``` |
| 1048 | typedef struct aclmdlRIEventRecordTaskParams { | 1051 | typedef struct aclmdlRIEventRecordTaskParams { |
| @@ -1066,7 +1069,7 @@ typedef struct aclmdlRIEventRecordTaskParams { | |||
| 1066 | 1069 | ||
| 1067 | <a id="aclmdlRIEventResetTaskParams"></a> | 1070 | <a id="aclmdlRIEventResetTaskParams"></a> |
| 1068 | 1071 | ||
| 1069 | -# aclmdlRIEventResetTaskParams | 1072 | +## aclmdlRIEventResetTaskParams |
| 1070 | 1073 | ||
| 1071 | ``` | 1074 | ``` |
| 1072 | typedef struct aclmdlRIEventResetTaskParams { | 1075 | typedef struct aclmdlRIEventResetTaskParams { |
| @@ -1090,7 +1093,7 @@ typedef struct aclmdlRIEventResetTaskParams { | |||
| 1090 | 1093 | ||
| 1091 | <a id="aclmdlRIEventWaitTaskParams"></a> | 1094 | <a id="aclmdlRIEventWaitTaskParams"></a> |
| 1092 | 1095 | ||
| 1093 | -# aclmdlRIEventWaitTaskParams | 1096 | +## aclmdlRIEventWaitTaskParams |
| 1094 | 1097 | ||
| 1095 | ``` | 1098 | ``` |
| 1096 | typedef struct aclmdlRIEventWaitTaskParams { | 1099 | typedef struct aclmdlRIEventWaitTaskParams { |
| @@ -1114,7 +1117,7 @@ typedef struct aclmdlRIEventWaitTaskParams { | |||
| 1114 | 1117 | ||
| 1115 | <a id="aclmdlRIKernelTaskParams"></a> | 1118 | <a id="aclmdlRIKernelTaskParams"></a> |
| 1116 | 1119 | ||
| 1117 | -# aclmdlRIKernelTaskParams | 1120 | +## aclmdlRIKernelTaskParams |
| 1118 | 1121 | ||
| 1119 | ``` | 1122 | ``` |
| 1120 | typedef struct aclmdlRIKernelTaskParams { | 1123 | typedef struct aclmdlRIKernelTaskParams { |
| @@ -1148,7 +1151,7 @@ typedef struct aclmdlRIKernelTaskParams { | |||
| 1148 | 1151 | ||
| 1149 | <a id="aclmdlRITask"></a> | 1152 | <a id="aclmdlRITask"></a> |
| 1150 | 1153 | ||
| 1151 | -# aclmdlRITask | 1154 | +## aclmdlRITask |
| 1152 | 1155 | ||
| 1153 | ``` | 1156 | ``` |
| 1154 | typedef void *aclmdlRITask; | 1157 | typedef void *aclmdlRITask; |
| @@ -1163,7 +1166,7 @@ typedef void *aclmdlRITask; | |||
| 1163 | 1166 | ||
| 1164 | <a id="aclmdlRITaskParams"></a> | 1167 | <a id="aclmdlRITaskParams"></a> |
| 1165 | 1168 | ||
| 1166 | -# aclmdlRITaskParams | 1169 | +## aclmdlRITaskParams |
| 1167 | 1170 | ||
| 1168 | ``` | 1171 | ``` |
| 1169 | typedef struct aclmdlRITaskParams { | 1172 | typedef struct aclmdlRITaskParams { |
| @@ -1211,7 +1214,7 @@ typedef struct aclmdlRITaskParams { | |||
| 1211 | 1214 | ||
| 1212 | <a id="aclmdlRITaskType"></a> | 1215 | <a id="aclmdlRITaskType"></a> |
| 1213 | 1216 | ||
| 1214 | -# aclmdlRITaskType | 1217 | +## aclmdlRITaskType |
| 1215 | 1218 | ||
| 1216 | ``` | 1219 | ``` |
| 1217 | typedef enum aclmdlRITaskType { | 1220 | typedef enum aclmdlRITaskType { |
| @@ -1234,7 +1237,7 @@ typedef enum aclmdlRITaskType { | |||
| 1234 | 1237 | ||
| 1235 | <a id="aclmdlRIValueWaitTaskParams"></a> | 1238 | <a id="aclmdlRIValueWaitTaskParams"></a> |
| 1236 | 1239 | ||
| 1237 | -# aclmdlRIValueWaitTaskParams | 1240 | +## aclmdlRIValueWaitTaskParams |
| 1238 | 1241 | ||
| 1239 | ``` | 1242 | ``` |
| 1240 | typedef struct aclmdlRIValueWaitTaskParams { | 1243 | typedef struct aclmdlRIValueWaitTaskParams { |
| @@ -1260,7 +1263,7 @@ typedef struct aclmdlRIValueWaitTaskParams { | |||
| 1260 | 1263 | ||
| 1261 | <a id="aclmdlRIValueWriteTaskParams"></a> | 1264 | <a id="aclmdlRIValueWriteTaskParams"></a> |
| 1262 | 1265 | ||
| 1263 | -# aclmdlRIValueWriteTaskParams | 1266 | +## aclmdlRIValueWriteTaskParams |
| 1264 | 1267 | ||
| 1265 | ``` | 1268 | ``` |
| 1266 | typedef struct aclmdlRIValueWriteTaskParams { | 1269 | typedef struct aclmdlRIValueWriteTaskParams { |
| @@ -1284,7 +1287,7 @@ typedef struct aclmdlRIValueWriteTaskParams { | |||
| 1284 | 1287 | ||
| 1285 | <a id="aclMemType"></a> | 1288 | <a id="aclMemType"></a> |
| 1286 | 1289 | ||
| 1287 | -# aclMemType | 1290 | +## aclMemType |
| 1288 | 1291 | ||
| 1289 | ``` | 1292 | ``` |
| 1290 | typedef enum { | 1293 | typedef enum { |
| @@ -1308,7 +1311,7 @@ ACL\_MEMTYPE\_HOST和ACL\_MEMTYPE\_HOST\_COMPILE\_INDEPENDENT都标识Host内存 | |||
| 1308 | 1311 | ||
| 1309 | <a id="aclprofAicoreMetrics"></a> | 1312 | <a id="aclprofAicoreMetrics"></a> |
| 1310 | 1313 | ||
| 1311 | -# aclprofAicoreMetrics | 1314 | +## aclprofAicoreMetrics |
| 1312 | 1315 | ||
| 1313 | ``` | 1316 | ``` |
| 1314 | typedef enum { | 1317 | typedef enum { |
| @@ -1340,7 +1343,7 @@ Ascend 950PR/Ascend 950DT:不支持ACL\_AICORE\_L2\_CACHE、ACL\_AICORE\_PIPE\ | |||
| 1340 | 1343 | ||
| 1341 | <a id="aclprofConfig"></a> | 1344 | <a id="aclprofConfig"></a> |
| 1342 | 1345 | ||
| 1343 | -# aclprofConfig | 1346 | +## aclprofConfig |
| 1344 | 1347 | ||
| 1345 | - **[aclprofCreateConfig](#aclprofCreateConfig)** | 1348 | - **[aclprofCreateConfig](#aclprofCreateConfig)** |
| 1346 | 1349 | ||
| @@ -1355,7 +1358,7 @@ Ascend 950PR/Ascend 950DT:不支持ACL\_AICORE\_L2\_CACHE、ACL\_AICORE\_PIPE\ | |||
| 1355 | 1358 | ||
| 1356 | <a id="aclprofCreateConfig"></a> | 1359 | <a id="aclprofCreateConfig"></a> |
| 1357 | 1360 | ||
| 1358 | -# aclprofCreateConfig | 1361 | +## aclprofCreateConfig |
| 1359 | 1362 | ||
| 1360 | ```c | 1363 | ```c |
| 1361 | aclprofConfig *aclprofCreateConfig(uint32_t *deviceIdList, uint32_t deviceNums, aclprofAicoreMetrics aicoreMetrics, const aclprofAicoreEvents *aicoreEvents, uint64_t dataTypeConfig) | 1364 | aclprofConfig *aclprofCreateConfig(uint32_t *deviceIdList, uint32_t deviceNums, aclprofAicoreMetrics aicoreMetrics, const aclprofAicoreEvents *aicoreEvents, uint64_t dataTypeConfig) |
| @@ -1409,7 +1412,7 @@ aclProfConfig类型数据可以只创建一次、多处使用,用户需要保 | |||
| 1409 | 1412 | ||
| 1410 | <a id="aclprofDestroyConfig"></a> | 1413 | <a id="aclprofDestroyConfig"></a> |
| 1411 | 1414 | ||
| 1412 | -# aclprofDestroyConfig | 1415 | +## aclprofDestroyConfig |
| 1413 | 1416 | ||
| 1414 | ```c | 1417 | ```c |
| 1415 | aclError aclprofDestroyConfig(const aclprofConfig *profilerConfig) | 1418 | aclError aclprofDestroyConfig(const aclprofConfig *profilerConfig) |
| @@ -1453,7 +1456,7 @@ aclError aclprofDestroyConfig(const aclprofConfig *profilerConfig) | |||
| 1453 | 1456 | ||
| 1454 | <a id="aclprofConfigType"></a> | 1457 | <a id="aclprofConfigType"></a> |
| 1455 | 1458 | ||
| 1456 | -# aclprofConfigType | 1459 | +## aclprofConfigType |
| 1457 | 1460 | ||
| 1458 | ``` | 1461 | ``` |
| 1459 | typedef enum { | 1462 | typedef enum { |
| @@ -1508,7 +1511,7 @@ Ascend 950PR/Ascend 950DT:不支持ACL\_PROF\_DVPP\_FREQ、ACL\_PROF\_HOST\_SY | |||
| 1508 | 1511 | ||
| 1509 | <a id="aclprofEventAttributes"></a> | 1512 | <a id="aclprofEventAttributes"></a> |
| 1510 | 1513 | ||
| 1511 | -# aclprofEventAttributes | 1514 | +## aclprofEventAttributes |
| 1512 | 1515 | ||
| 1513 | ``` | 1516 | ``` |
| 1514 | typedef struct { | 1517 | typedef struct { |
| @@ -1553,7 +1556,7 @@ typedef enum{ | |||
| 1553 | 1556 | ||
| 1554 | <a id="aclprofStepInfo"></a> | 1557 | <a id="aclprofStepInfo"></a> |
| 1555 | 1558 | ||
| 1556 | -# aclprofStepInfo | 1559 | +## aclprofStepInfo |
| 1557 | 1560 | ||
| 1558 | - **[aclprofCreateStepInfo](#aclprofCreateStepInfo)** | 1561 | - **[aclprofCreateStepInfo](#aclprofCreateStepInfo)** |
| 1559 | 1562 | ||
| @@ -1568,7 +1571,7 @@ typedef enum{ | |||
| 1568 | 1571 | ||
| 1569 | <a id="aclprofCreateStepInfo"></a> | 1572 | <a id="aclprofCreateStepInfo"></a> |
| 1570 | 1573 | ||
| 1571 | -# aclprofCreateStepInfo | 1574 | +## aclprofCreateStepInfo |
| 1572 | 1575 | ||
| 1573 | ```c | 1576 | ```c |
| 1574 | aclprofStepInfo* aclprofCreateStepInfo() | 1577 | aclprofStepInfo* aclprofCreateStepInfo() |
| @@ -1609,7 +1612,7 @@ aclprofStepInfo* aclprofCreateStepInfo() | |||
| 1609 | 1612 | ||
| 1610 | <a id="aclprofDestroyStepInfo"></a> | 1613 | <a id="aclprofDestroyStepInfo"></a> |
| 1611 | 1614 | ||
| 1612 | -# aclprofDestroyStepInfo | 1615 | +## aclprofDestroyStepInfo |
| 1613 | 1616 | ||
| 1614 | ```c | 1617 | ```c |
| 1615 | void aclprofDestroyStepInfo(aclprofStepInfo* stepinfo) | 1618 | void aclprofDestroyStepInfo(aclprofStepInfo* stepinfo) |
| @@ -1649,7 +1652,7 @@ void aclprofDestroyStepInfo(aclprofStepInfo* stepinfo) | |||
| 1649 | 1652 | ||
| 1650 | <a id="aclprofStepTag"></a> | 1653 | <a id="aclprofStepTag"></a> |
| 1651 | 1654 | ||
| 1652 | -# aclprofStepTag | 1655 | +## aclprofStepTag |
| 1653 | 1656 | ||
| 1654 | ``` | 1657 | ``` |
| 1655 | typedef enum{ | 1658 | typedef enum{ |
| @@ -1670,7 +1673,7 @@ typedef enum{ | |||
| 1670 | 1673 | ||
| 1671 | <a id="aclprofSubscribeConfig"></a> | 1674 | <a id="aclprofSubscribeConfig"></a> |
| 1672 | 1675 | ||
| 1673 | -# aclprofSubscribeConfig | 1676 | +## aclprofSubscribeConfig |
| 1674 | 1677 | ||
| 1675 | - **[aclprofCreateSubscribeConfig](#aclprofCreateSubscribeConfig)** | 1678 | - **[aclprofCreateSubscribeConfig](#aclprofCreateSubscribeConfig)** |
| 1676 | 1679 | ||
| @@ -1685,7 +1688,7 @@ typedef enum{ | |||
| 1685 | 1688 | ||
| 1686 | <a id="aclprofCreateSubscribeConfig"></a> | 1689 | <a id="aclprofCreateSubscribeConfig"></a> |
| 1687 | 1690 | ||
| 1688 | -# aclprofCreateSubscribeConfig | 1691 | +## aclprofCreateSubscribeConfig |
| 1689 | 1692 | ||
| 1690 | ```c | 1693 | ```c |
| 1691 | aclprofSubscribeConfig *aclprofCreateSubscribeConfig(int8_t timeInfoSwitch, aclprofAicoreMetrics aicoreMetrics, void *fd) | 1694 | aclprofSubscribeConfig *aclprofCreateSubscribeConfig(int8_t timeInfoSwitch, aclprofAicoreMetrics aicoreMetrics, void *fd) |
| @@ -1735,7 +1738,7 @@ aclprofSubscribeConfig *aclprofCreateSubscribeConfig(int8_t timeInfoSwitch, aclp | |||
| 1735 | 1738 | ||
| 1736 | <a id="aclprofDestroySubscribeConfig"></a> | 1739 | <a id="aclprofDestroySubscribeConfig"></a> |
| 1737 | 1740 | ||
| 1738 | -# aclprofDestroySubscribeConfig | 1741 | +## aclprofDestroySubscribeConfig |
| 1739 | 1742 | ||
| 1740 | ```c | 1743 | ```c |
| 1741 | aclError aclprofDestroySubscribeConfig(const aclprofSubscribeConfig *profSubscribeConfig) | 1744 | aclError aclprofDestroySubscribeConfig(const aclprofSubscribeConfig *profSubscribeConfig) |
| @@ -1779,7 +1782,7 @@ aclError aclprofDestroySubscribeConfig(const aclprofSubscribeConfig *profSubscri | |||
| 1779 | 1782 | ||
| 1780 | <a id="aclRegisterCallbackType"></a> | 1783 | <a id="aclRegisterCallbackType"></a> |
| 1781 | 1784 | ||
| 1782 | -# aclRegisterCallbackType | 1785 | +## aclRegisterCallbackType |
| 1783 | 1786 | ||
| 1784 | ``` | 1787 | ``` |
| 1785 | typedef enum aclRegisterCallbackType { | 1788 | typedef enum aclRegisterCallbackType { |
| @@ -1804,7 +1807,7 @@ typedef enum aclRegisterCallbackType { | |||
| 1804 | 1807 | ||
| 1805 | <a id="aclrtAicAivTaskUpdateAttr"></a> | 1808 | <a id="aclrtAicAivTaskUpdateAttr"></a> |
| 1806 | 1809 | ||
| 1807 | -# aclrtAicAivTaskUpdateAttr | 1810 | +## aclrtAicAivTaskUpdateAttr |
| 1808 | 1811 | ||
| 1809 | ``` | 1812 | ``` |
| 1810 | typedef struct { | 1813 | typedef struct { |
| @@ -1832,7 +1835,7 @@ typedef struct { | |||
| 1832 | 1835 | ||
| 1833 | <a id="aclrtAllocator"></a> | 1836 | <a id="aclrtAllocator"></a> |
| 1834 | 1837 | ||
| 1835 | -# aclrtAllocator | 1838 | +## aclrtAllocator |
| 1836 | 1839 | ||
| 1837 | ``` | 1840 | ``` |
| 1838 | typedef void *aclrtAllocator; | 1841 | typedef void *aclrtAllocator; |
| @@ -1847,7 +1850,7 @@ typedef void *aclrtAllocator; | |||
| 1847 | 1850 | ||
| 1848 | <a id="aclrtAllocatorAddr"></a> | 1851 | <a id="aclrtAllocatorAddr"></a> |
| 1849 | 1852 | ||
| 1850 | -# aclrtAllocatorAddr | 1853 | +## aclrtAllocatorAddr |
| 1851 | 1854 | ||
| 1852 | ``` | 1855 | ``` |
| 1853 | typedef void *aclrtAllocatorAddr; | 1856 | typedef void *aclrtAllocatorAddr; |
| @@ -1862,7 +1865,7 @@ typedef void *aclrtAllocatorAddr; | |||
| 1862 | 1865 | ||
| 1863 | <a id="aclrtAllocatorBlock"></a> | 1866 | <a id="aclrtAllocatorBlock"></a> |
| 1864 | 1867 | ||
| 1865 | -# aclrtAllocatorBlock | 1868 | +## aclrtAllocatorBlock |
| 1866 | 1869 | ||
| 1867 | ``` | 1870 | ``` |
| 1868 | typedef void *aclrtAllocatorBlock; | 1871 | typedef void *aclrtAllocatorBlock; |
| @@ -1877,7 +1880,7 @@ typedef void *aclrtAllocatorBlock; | |||
| 1877 | 1880 | ||
| 1878 | <a id="aclrtAllocatorDesc"></a> | 1881 | <a id="aclrtAllocatorDesc"></a> |
| 1879 | 1882 | ||
| 1880 | -# aclrtAllocatorDesc | 1883 | +## aclrtAllocatorDesc |
| 1881 | 1884 | ||
| 1882 | - **[aclrtAllocatorCreateDesc](#aclrtAllocatorCreateDesc)** | 1885 | - **[aclrtAllocatorCreateDesc](#aclrtAllocatorCreateDesc)** |
| 1883 | 1886 | ||
| @@ -1902,7 +1905,7 @@ typedef void *aclrtAllocatorBlock; | |||
| 1902 | 1905 | ||
| 1903 | <a id="aclrtAllocatorCreateDesc"></a> | 1906 | <a id="aclrtAllocatorCreateDesc"></a> |
| 1904 | 1907 | ||
| 1905 | -# aclrtAllocatorCreateDesc | 1908 | +## aclrtAllocatorCreateDesc |
| 1906 | 1909 | ||
| 1907 | ```c | 1910 | ```c |
| 1908 | aclrtAllocatorDesc aclrtAllocatorCreateDesc() | 1911 | aclrtAllocatorDesc aclrtAllocatorCreateDesc() |
| @@ -1935,7 +1938,7 @@ aclrtAllocatorDesc aclrtAllocatorCreateDesc() | |||
| 1935 | 1938 | ||
| 1936 | <a id="aclrtAllocatorDestroyDesc"></a> | 1939 | <a id="aclrtAllocatorDestroyDesc"></a> |
| 1937 | 1940 | ||
| 1938 | -# aclrtAllocatorDestroyDesc | 1941 | +## aclrtAllocatorDestroyDesc |
| 1939 | 1942 | ||
| 1940 | ```c | 1943 | ```c |
| 1941 | aclError aclrtAllocatorDestroyDesc(aclrtAllocatorDesc allocatorDesc) | 1944 | aclError aclrtAllocatorDestroyDesc(aclrtAllocatorDesc allocatorDesc) |
| @@ -1974,7 +1977,7 @@ aclError aclrtAllocatorDestroyDesc(aclrtAllocatorDesc allocatorDesc) | |||
| 1974 | 1977 | ||
| 1975 | <a id="aclrtAllocatorSetObjToDesc"></a> | 1978 | <a id="aclrtAllocatorSetObjToDesc"></a> |
| 1976 | 1979 | ||
| 1977 | -# aclrtAllocatorSetObjToDesc | 1980 | +## aclrtAllocatorSetObjToDesc |
| 1978 | 1981 | ||
| 1979 | ```c | 1982 | ```c |
| 1980 | aclError aclrtAllocatorSetObjToDesc(aclrtAllocatorDesc allocatorDesc, aclrtAllocator allocator) | 1983 | aclError aclrtAllocatorSetObjToDesc(aclrtAllocatorDesc allocatorDesc, aclrtAllocator allocator) |
| @@ -2014,7 +2017,7 @@ aclError aclrtAllocatorSetObjToDesc(aclrtAllocatorDesc allocatorDesc, aclrtAllo | |||
| 2014 | 2017 | ||
| 2015 | <a id="aclrtAllocatorSetAllocFuncToDesc"></a> | 2018 | <a id="aclrtAllocatorSetAllocFuncToDesc"></a> |
| 2016 | 2019 | ||
| 2017 | -# aclrtAllocatorSetAllocFuncToDesc | 2020 | +## aclrtAllocatorSetAllocFuncToDesc |
| 2018 | 2021 | ||
| 2019 | ```c | 2022 | ```c |
| 2020 | aclError aclrtAllocatorSetAllocFuncToDesc(aclrtAllocatorDesc allocatorDesc, aclrtAllocatorAllocFunc func) | 2023 | aclError aclrtAllocatorSetAllocFuncToDesc(aclrtAllocatorDesc allocatorDesc, aclrtAllocatorAllocFunc func) |
| @@ -2054,7 +2057,7 @@ aclError aclrtAllocatorSetAllocFuncToDesc(aclrtAllocatorDesc allocatorDesc, aclr | |||
| 2054 | 2057 | ||
| 2055 | <a id="aclrtAllocatorSetAllocAdviseFuncToDesc"></a> | 2058 | <a id="aclrtAllocatorSetAllocAdviseFuncToDesc"></a> |
| 2056 | 2059 | ||
| 2057 | -# aclrtAllocatorSetAllocAdviseFuncToDesc | 2060 | +## aclrtAllocatorSetAllocAdviseFuncToDesc |
| 2058 | 2061 | ||
| 2059 | ```c | 2062 | ```c |
| 2060 | aclError aclrtAllocatorSetAllocAdviseFuncToDesc(aclrtAllocatorDesc allocatorDesc, aclrtAllocatorAllocAdviseFunc func) | 2063 | aclError aclrtAllocatorSetAllocAdviseFuncToDesc(aclrtAllocatorDesc allocatorDesc, aclrtAllocatorAllocAdviseFunc func) |
| @@ -2094,7 +2097,7 @@ aclError aclrtAllocatorSetAllocAdviseFuncToDesc(aclrtAllocatorDesc allocatorDesc | |||
| 2094 | 2097 | ||
| 2095 | <a id="aclrtAllocatorSetFreeFuncToDesc"></a> | 2098 | <a id="aclrtAllocatorSetFreeFuncToDesc"></a> |
| 2096 | 2099 | ||
| 2097 | -# aclrtAllocatorSetFreeFuncToDesc | 2100 | +## aclrtAllocatorSetFreeFuncToDesc |
| 2098 | 2101 | ||
| 2099 | ```c | 2102 | ```c |
| 2100 | aclError aclrtAllocatorSetFreeFuncToDesc(aclrtAllocatorDesc allocatorDesc, aclrtAllocatorFreeFunc func) | 2103 | aclError aclrtAllocatorSetFreeFuncToDesc(aclrtAllocatorDesc allocatorDesc, aclrtAllocatorFreeFunc func) |
| @@ -2134,7 +2137,7 @@ aclError aclrtAllocatorSetFreeFuncToDesc(aclrtAllocatorDesc allocatorDesc, aclrt | |||
| 2134 | 2137 | ||
| 2135 | <a id="aclrtAllocatorSetGetAddrFromBlockFuncToDesc"></a> | 2138 | <a id="aclrtAllocatorSetGetAddrFromBlockFuncToDesc"></a> |
| 2136 | 2139 | ||
| 2137 | -# aclrtAllocatorSetGetAddrFromBlockFuncToDesc | 2140 | +## aclrtAllocatorSetGetAddrFromBlockFuncToDesc |
| 2138 | 2141 | ||
| 2139 | ```c | 2142 | ```c |
| 2140 | aclError aclrtAllocatorSetGetAddrFromBlockFuncToDesc(aclrtAllocatorDesc allocatorDesc, aclrtAllocatorGetAddrFromBlockFunc func) | 2143 | aclError aclrtAllocatorSetGetAddrFromBlockFuncToDesc(aclrtAllocatorDesc allocatorDesc, aclrtAllocatorGetAddrFromBlockFunc func) |
| @@ -2174,7 +2177,7 @@ aclError aclrtAllocatorSetGetAddrFromBlockFuncToDesc(aclrtAllocatorDesc allocato | |||
| 2174 | 2177 | ||
| 2175 | <a id="aclrtArgsHandle"></a> | 2178 | <a id="aclrtArgsHandle"></a> |
| 2176 | 2179 | ||
| 2177 | -# aclrtArgsHandle | 2180 | +## aclrtArgsHandle |
| 2178 | 2181 | ||
| 2179 | ``` | 2182 | ``` |
| 2180 | typedef void* aclrtArgsHandle; | 2183 | typedef void* aclrtArgsHandle; |
| @@ -2189,7 +2192,7 @@ typedef void* aclrtArgsHandle; | |||
| 2189 | 2192 | ||
| 2190 | <a id="aclrtAtomicOperation"></a> | 2193 | <a id="aclrtAtomicOperation"></a> |
| 2191 | 2194 | ||
| 2192 | -# aclrtAtomicOperation | 2195 | +## aclrtAtomicOperation |
| 2193 | 2196 | ||
| 2194 | ``` | 2197 | ``` |
| 2195 | typedef enum aclrtAtomicOperation { | 2198 | typedef enum aclrtAtomicOperation { |
| @@ -2230,7 +2233,7 @@ typedef enum aclrtAtomicOperation { | |||
| 2230 | 2233 | ||
| 2231 | <a id="aclrtAtomicOperationCapability"></a> | 2234 | <a id="aclrtAtomicOperationCapability"></a> |
| 2232 | 2235 | ||
| 2233 | -# aclrtAtomicOperationCapability | 2236 | +## aclrtAtomicOperationCapability |
| 2234 | 2237 | ||
| 2235 | ``` | 2238 | ``` |
| 2236 | typedef enum aclrtAtomicOperationCapability { | 2239 | typedef enum aclrtAtomicOperationCapability { |
| @@ -2255,7 +2258,7 @@ typedef enum aclrtAtomicOperationCapability { | |||
| 2255 | 2258 | ||
| 2256 | <a id="aclrtBarrierCmoInfo"></a> | 2259 | <a id="aclrtBarrierCmoInfo"></a> |
| 2257 | 2260 | ||
| 2258 | -# aclrtBarrierCmoInfo | 2261 | +## aclrtBarrierCmoInfo |
| 2259 | 2262 | ||
| 2260 | ``` | 2263 | ``` |
| 2261 | typedef struct { | 2264 | typedef struct { |
| @@ -2279,7 +2282,7 @@ typedef struct { | |||
| 2279 | 2282 | ||
| 2280 | <a id="aclrtBarrierTaskInfo"></a> | 2283 | <a id="aclrtBarrierTaskInfo"></a> |
| 2281 | 2284 | ||
| 2282 | -# aclrtBarrierTaskInfo | 2285 | +## aclrtBarrierTaskInfo |
| 2283 | 2286 | ||
| 2284 | ``` | 2287 | ``` |
| 2285 | typedef struct { | 2288 | typedef struct { |
| @@ -2303,7 +2306,7 @@ typedef struct { | |||
| 2303 | 2306 | ||
| 2304 | <a id="aclrtBinaryLoadOption"></a> | 2307 | <a id="aclrtBinaryLoadOption"></a> |
| 2305 | 2308 | ||
| 2306 | -# aclrtBinaryLoadOption | 2309 | +## aclrtBinaryLoadOption |
| 2307 | 2310 | ||
| 2308 | ``` | 2311 | ``` |
| 2309 | typedef struct { | 2312 | typedef struct { |
| @@ -2327,7 +2330,7 @@ typedef struct { | |||
| 2327 | 2330 | ||
| 2328 | <a id="aclrtBinaryLoadOptions"></a> | 2331 | <a id="aclrtBinaryLoadOptions"></a> |
| 2329 | 2332 | ||
| 2330 | -# aclrtBinaryLoadOptions | 2333 | +## aclrtBinaryLoadOptions |
| 2331 | 2334 | ||
| 2332 | ``` | 2335 | ``` |
| 2333 | typedef struct aclrtBinaryLoadOptions { | 2336 | typedef struct aclrtBinaryLoadOptions { |
| @@ -2347,7 +2350,7 @@ options结构体的定义请参见[aclrtBinaryLoadOption](#aclrtBinaryLoadOption | |||
| 2347 | 2350 | ||
| 2348 | <a id="aclrtBinaryLoadOptionType"></a> | 2351 | <a id="aclrtBinaryLoadOptionType"></a> |
| 2349 | 2352 | ||
| 2350 | -# aclrtBinaryLoadOptionType | 2353 | +## aclrtBinaryLoadOptionType |
| 2351 | 2354 | ||
| 2352 | ``` | 2355 | ``` |
| 2353 | typedef enum aclrtBinaryLoadOptionType { | 2356 | typedef enum aclrtBinaryLoadOptionType { |
| @@ -2367,7 +2370,7 @@ typedef enum aclrtBinaryLoadOptionType { | |||
| 2367 | 2370 | ||
| 2368 | <a id="aclrtBinaryLoadOptionValue"></a> | 2371 | <a id="aclrtBinaryLoadOptionValue"></a> |
| 2369 | 2372 | ||
| 2370 | -# aclrtBinaryLoadOptionValue | 2373 | +## aclrtBinaryLoadOptionValue |
| 2371 | 2374 | ||
| 2372 | ``` | 2375 | ``` |
| 2373 | typedef union aclrtBinaryLoadOptionValue { | 2376 | typedef union aclrtBinaryLoadOptionValue { |
| @@ -2395,7 +2398,7 @@ typedef union aclrtBinaryLoadOptionValue { | |||
| 2395 | 2398 | ||
| 2396 | <a id="aclrtBinHandle"></a> | 2399 | <a id="aclrtBinHandle"></a> |
| 2397 | 2400 | ||
| 2398 | -# aclrtBinHandle | 2401 | +## aclrtBinHandle |
| 2399 | 2402 | ||
| 2400 | ``` | 2403 | ``` |
| 2401 | typedef void* aclrtBinHandle; | 2404 | typedef void* aclrtBinHandle; |
| @@ -2410,7 +2413,7 @@ typedef void* aclrtBinHandle; | |||
| 2410 | 2413 | ||
| 2411 | <a id="aclrtCmoType"></a> | 2414 | <a id="aclrtCmoType"></a> |
| 2412 | 2415 | ||
| 2413 | -# aclrtCmoType | 2416 | +## aclrtCmoType |
| 2414 | 2417 | ||
| 2415 | ``` | 2418 | ``` |
| 2416 | typedef enum aclrtCmoType { | 2419 | typedef enum aclrtCmoType { |
| @@ -2430,7 +2433,7 @@ typedef enum aclrtCmoType { | |||
| 2430 | 2433 | ||
| 2431 | <a id="aclrtCntNotify"></a> | 2434 | <a id="aclrtCntNotify"></a> |
| 2432 | 2435 | ||
| 2433 | -# aclrtCntNotify | 2436 | +## aclrtCntNotify |
| 2434 | 2437 | ||
| 2435 | ``` | 2438 | ``` |
| 2436 | typedef void *aclrtCntNotify; | 2439 | typedef void *aclrtCntNotify; |
| @@ -2445,7 +2448,7 @@ typedef void *aclrtCntNotify; | |||
| 2445 | 2448 | ||
| 2446 | <a id="aclrtCntNotifyRecordInfo"></a> | 2449 | <a id="aclrtCntNotifyRecordInfo"></a> |
| 2447 | 2450 | ||
| 2448 | -# aclrtCntNotifyRecordInfo | 2451 | +## aclrtCntNotifyRecordInfo |
| 2449 | 2452 | ||
| 2450 | ``` | 2453 | ``` |
| 2451 | typedef struct { | 2454 | typedef struct { |
| @@ -2465,7 +2468,7 @@ mode枚举值的定义请参见[aclrtCntNotifyRecordMode](#aclrtCntNotifyRecordM | |||
| 2465 | 2468 | ||
| 2466 | <a id="aclrtCntNotifyRecordMode"></a> | 2469 | <a id="aclrtCntNotifyRecordMode"></a> |
| 2467 | 2470 | ||
| 2468 | -# aclrtCntNotifyRecordMode | 2471 | +## aclrtCntNotifyRecordMode |
| 2469 | 2472 | ||
| 2470 | ``` | 2473 | ``` |
| 2471 | typedef enum { | 2474 | typedef enum { |
| @@ -2485,7 +2488,7 @@ typedef enum { | |||
| 2485 | 2488 | ||
| 2486 | <a id="aclrtCntNotifyWaitInfo"></a> | 2489 | <a id="aclrtCntNotifyWaitInfo"></a> |
| 2487 | 2490 | ||
| 2488 | -# aclrtCntNotifyWaitInfo | 2491 | +## aclrtCntNotifyWaitInfo |
| 2489 | 2492 | ||
| 2490 | ``` | 2493 | ``` |
| 2491 | typedef struct { | 2494 | typedef struct { |
| @@ -2508,7 +2511,7 @@ mode结构体定义请参见[aclrtCntNotifyWaitMode](#aclrtCntNotifyWaitMode)。 | |||
| 2508 | 2511 | ||
| 2509 | <a id="aclrtCntNotifyWaitMode"></a> | 2512 | <a id="aclrtCntNotifyWaitMode"></a> |
| 2510 | 2513 | ||
| 2511 | -# aclrtCntNotifyWaitMode | 2514 | +## aclrtCntNotifyWaitMode |
| 2512 | 2515 | ||
| 2513 | ``` | 2516 | ``` |
| 2514 | typedef enum { | 2517 | typedef enum { |
| @@ -2529,7 +2532,7 @@ typedef enum { | |||
| 2529 | 2532 | ||
| 2530 | <a id="aclrtCompareDataType"></a> | 2533 | <a id="aclrtCompareDataType"></a> |
| 2531 | 2534 | ||
| 2532 | -# aclrtCompareDataType | 2535 | +## aclrtCompareDataType |
| 2533 | 2536 | ||
| 2534 | ``` | 2537 | ``` |
| 2535 | typedef enum { | 2538 | typedef enum { |
| @@ -2547,7 +2550,7 @@ typedef enum { | |||
| 2547 | 2550 | ||
| 2548 | <a id="aclrtCondition"></a> | 2551 | <a id="aclrtCondition"></a> |
| 2549 | 2552 | ||
| 2550 | -# aclrtCondition | 2553 | +## aclrtCondition |
| 2551 | 2554 | ||
| 2552 | ``` | 2555 | ``` |
| 2553 | typedef enum { | 2556 | typedef enum { |
| @@ -2569,7 +2572,7 @@ typedef enum { | |||
| 2569 | 2572 | ||
| 2570 | <a id="aclrtContext"></a> | 2573 | <a id="aclrtContext"></a> |
| 2571 | 2574 | ||
| 2572 | -# aclrtContext | 2575 | +## aclrtContext |
| 2573 | 2576 | ||
| 2574 | ``` | 2577 | ``` |
| 2575 | typedef void *aclrtContext; | 2578 | typedef void *aclrtContext; |
| @@ -2584,7 +2587,7 @@ typedef void *aclrtContext; | |||
| 2584 | 2587 | ||
| 2585 | <a id="aclrtDevAttr"></a> | 2588 | <a id="aclrtDevAttr"></a> |
| 2586 | 2589 | ||
| 2587 | -# aclrtDevAttr | 2590 | +## aclrtDevAttr |
| 2588 | 2591 | ||
| 2589 | ### 定义 | 2592 | ### 定义 |
| 2590 | 2593 | ||
| @@ -2663,7 +2666,7 @@ typedef enum { | |||
| 2663 | 2666 | ||
| 2664 | <a id="aclrtDevFeatureType"></a> | 2667 | <a id="aclrtDevFeatureType"></a> |
| 2665 | 2668 | ||
| 2666 | -# aclrtDevFeatureType | 2669 | +## aclrtDevFeatureType |
| 2667 | 2670 | ||
| 2668 | ``` | 2671 | ``` |
| 2669 | typedef enum { | 2672 | typedef enum { |
| @@ -2681,7 +2684,7 @@ typedef enum { | |||
| 2681 | 2684 | ||
| 2682 | <a id="aclrtDeviceStatus"></a> | 2685 | <a id="aclrtDeviceStatus"></a> |
| 2683 | 2686 | ||
| 2684 | -# aclrtDeviceStatus | 2687 | +## aclrtDeviceStatus |
| 2685 | 2688 | ||
| 2686 | ``` | 2689 | ``` |
| 2687 | typedef enum aclrtDeviceStatus { | 2690 | typedef enum aclrtDeviceStatus { |
| @@ -2700,7 +2703,7 @@ typedef enum aclrtDeviceStatus { | |||
| 2700 | 2703 | ||
| 2701 | <a id="aclrtDevResLimitType"></a> | 2704 | <a id="aclrtDevResLimitType"></a> |
| 2702 | 2705 | ||
| 2703 | -# aclrtDevResLimitType | 2706 | +## aclrtDevResLimitType |
| 2704 | 2707 | ||
| 2705 | ``` | 2708 | ``` |
| 2706 | typedef enum { | 2709 | typedef enum { |
| @@ -2728,7 +2731,7 @@ typedef enum { | |||
| 2728 | 2731 | ||
| 2729 | <a id="aclrtDropoutBitmaskInfo"></a> | 2732 | <a id="aclrtDropoutBitmaskInfo"></a> |
| 2730 | 2733 | ||
| 2731 | -# aclrtDropoutBitmaskInfo | 2734 | +## aclrtDropoutBitmaskInfo |
| 2732 | 2735 | ||
| 2733 | ``` | 2736 | ``` |
| 2734 | typedef struct { | 2737 | typedef struct { |
| @@ -2750,7 +2753,7 @@ typedef struct { | |||
| 2750 | 2753 | ||
| 2751 | <a id="aclrtDrvMemHandle"></a> | 2754 | <a id="aclrtDrvMemHandle"></a> |
| 2752 | 2755 | ||
| 2753 | -# aclrtDrvMemHandle | 2756 | +## aclrtDrvMemHandle |
| 2754 | 2757 | ||
| 2755 | ``` | 2758 | ``` |
| 2756 | typedef void* aclrtDrvMemHandle; | 2759 | typedef void* aclrtDrvMemHandle; |
| @@ -2765,7 +2768,7 @@ typedef void* aclrtDrvMemHandle; | |||
| 2765 | 2768 | ||
| 2766 | <a id="aclrtEngineType"></a> | 2769 | <a id="aclrtEngineType"></a> |
| 2767 | 2770 | ||
| 2768 | -# aclrtEngineType | 2771 | +## aclrtEngineType |
| 2769 | 2772 | ||
| 2770 | ``` | 2773 | ``` |
| 2771 | typedef enum { | 2774 | typedef enum { |
| @@ -2783,7 +2786,7 @@ typedef enum { | |||
| 2783 | 2786 | ||
| 2784 | <a id="aclrtEvent"></a> | 2787 | <a id="aclrtEvent"></a> |
| 2785 | 2788 | ||
| 2786 | -# aclrtEvent | 2789 | +## aclrtEvent |
| 2787 | 2790 | ||
| 2788 | ``` | 2791 | ``` |
| 2789 | typedef void *aclrtEvent; | 2792 | typedef void *aclrtEvent; |
| @@ -2798,7 +2801,7 @@ typedef void *aclrtEvent; | |||
| 2798 | 2801 | ||
| 2799 | <a id="aclrtEventRecordedStatus"></a> | 2802 | <a id="aclrtEventRecordedStatus"></a> |
| 2800 | 2803 | ||
| 2801 | -# aclrtEventRecordedStatus | 2804 | +## aclrtEventRecordedStatus |
| 2802 | 2805 | ||
| 2803 | ``` | 2806 | ``` |
| 2804 | typedef enum aclrtEventRecordedStatus { | 2807 | typedef enum aclrtEventRecordedStatus { |
| @@ -2816,7 +2819,7 @@ typedef enum aclrtEventRecordedStatus { | |||
| 2816 | 2819 | ||
| 2817 | <a id="aclrtEventStatus"></a> | 2820 | <a id="aclrtEventStatus"></a> |
| 2818 | 2821 | ||
| 2819 | -# aclrtEventStatus | 2822 | +## aclrtEventStatus |
| 2820 | 2823 | ||
| 2821 | ``` | 2824 | ``` |
| 2822 | typedef enum aclrtEventStatus { | 2825 | typedef enum aclrtEventStatus { |
| @@ -2835,7 +2838,7 @@ typedef enum aclrtEventStatus { | |||
| 2835 | 2838 | ||
| 2836 | <a id="aclrtEventWaitStatus"></a> | 2839 | <a id="aclrtEventWaitStatus"></a> |
| 2837 | 2840 | ||
| 2838 | -# aclrtEventWaitStatus | 2841 | +## aclrtEventWaitStatus |
| 2839 | 2842 | ||
| 2840 | ``` | 2843 | ``` |
| 2841 | typedef enum aclrtEventWaitStatus { | 2844 | typedef enum aclrtEventWaitStatus { |
| @@ -2854,7 +2857,7 @@ typedef enum aclrtEventWaitStatus { | |||
| 2854 | 2857 | ||
| 2855 | <a id="aclrtFloatOverflowMode"></a> | 2858 | <a id="aclrtFloatOverflowMode"></a> |
| 2856 | 2859 | ||
| 2857 | -# aclrtFloatOverflowMode | 2860 | +## aclrtFloatOverflowMode |
| 2858 | 2861 | ||
| 2859 | ``` | 2862 | ``` |
| 2860 | typedef enum aclrtFloatOverflowMode { | 2863 | typedef enum aclrtFloatOverflowMode { |
| @@ -2877,7 +2880,7 @@ Ascend 950PR/Ascend 950DT不支持饱和模式。 | |||
| 2877 | 2880 | ||
| 2878 | <a id="aclrtFuncHandle"></a> | 2881 | <a id="aclrtFuncHandle"></a> |
| 2879 | 2882 | ||
| 2880 | -# aclrtFuncHandle | 2883 | +## aclrtFuncHandle |
| 2881 | 2884 | ||
| 2882 | ``` | 2885 | ``` |
| 2883 | typedef void* aclrtFuncHandle; | 2886 | typedef void* aclrtFuncHandle; |
| @@ -2892,7 +2895,7 @@ typedef void* aclrtFuncHandle; | |||
| 2892 | 2895 | ||
| 2893 | <a id="aclrtFuncAttribute"></a> | 2896 | <a id="aclrtFuncAttribute"></a> |
| 2894 | 2897 | ||
| 2895 | -# aclrtFuncAttribute | 2898 | +## aclrtFuncAttribute |
| 2896 | 2899 | ||
| 2897 | ``` | 2900 | ``` |
| 2898 | typedef enum { | 2901 | typedef enum { |
| @@ -2925,7 +2928,7 @@ typedef enum { | |||
| 2925 | 2928 | ||
| 2926 | <a id="aclrtGroupAttr"></a> | 2929 | <a id="aclrtGroupAttr"></a> |
| 2927 | 2930 | ||
| 2928 | -# aclrtGroupAttr | 2931 | +## aclrtGroupAttr |
| 2929 | 2932 | ||
| 2930 | ``` | 2933 | ``` |
| 2931 | typedef enum aclrtGroupAttr | 2934 | typedef enum aclrtGroupAttr |
| @@ -2948,7 +2951,7 @@ typedef enum aclrtGroupAttr | |||
| 2948 | 2951 | ||
| 2949 | <a id="aclrtHacType"></a> | 2952 | <a id="aclrtHacType"></a> |
| 2950 | 2953 | ||
| 2951 | -# aclrtHacType | 2954 | +## aclrtHacType |
| 2952 | 2955 | ||
| 2953 | ``` | 2956 | ``` |
| 2954 | typedef enum { | 2957 | typedef enum { |
| @@ -2974,7 +2977,7 @@ typedef enum { | |||
| 2974 | 2977 | ||
| 2975 | <a id="aclrtHostMemMapCapability"></a> | 2978 | <a id="aclrtHostMemMapCapability"></a> |
| 2976 | 2979 | ||
| 2977 | -# aclrtHostMemMapCapability | 2980 | +## aclrtHostMemMapCapability |
| 2978 | 2981 | ||
| 2979 | ``` | 2982 | ``` |
| 2980 | typedef enum { | 2983 | typedef enum { |
| @@ -2992,7 +2995,7 @@ typedef enum { | |||
| 2992 | 2995 | ||
| 2993 | <a id="aclrtHostRegisterType"></a> | 2996 | <a id="aclrtHostRegisterType"></a> |
| 2994 | 2997 | ||
| 2995 | -# aclrtHostRegisterType | 2998 | +## aclrtHostRegisterType |
| 2996 | 2999 | ||
| 2997 | ``` | 3000 | ``` |
| 2998 | typedef enum { | 3001 | typedef enum { |
| @@ -3018,7 +3021,7 @@ typedef enum { | |||
| 3018 | 3021 | ||
| 3019 | <a id="aclrtIpcEventHandle"></a> | 3022 | <a id="aclrtIpcEventHandle"></a> |
| 3020 | 3023 | ||
| 3021 | -# aclrtIpcEventHandle | 3024 | +## aclrtIpcEventHandle |
| 3022 | 3025 | ||
| 3023 | ``` | 3026 | ``` |
| 3024 | #define ACL_IPC_EVENT_HANDLE_SIZE 64U | 3027 | #define ACL_IPC_EVENT_HANDLE_SIZE 64U |
| @@ -3036,7 +3039,7 @@ typedef struct aclrtIpcEventHandle { | |||
| 3036 | 3039 | ||
| 3037 | <a id="aclrtIpcMemAttrType"></a> | 3040 | <a id="aclrtIpcMemAttrType"></a> |
| 3038 | 3041 | ||
| 3039 | -# aclrtIpcMemAttrType | 3042 | +## aclrtIpcMemAttrType |
| 3040 | 3043 | ||
| 3041 | ``` | 3044 | ``` |
| 3042 | typedef enum { | 3045 | typedef enum { |
| @@ -3053,7 +3056,7 @@ typedef enum { | |||
| 3053 | 3056 | ||
| 3054 | <a id="aclrtKernelType"></a> | 3057 | <a id="aclrtKernelType"></a> |
| 3055 | 3058 | ||
| 3056 | -# aclrtKernelType | 3059 | +## aclrtKernelType |
| 3057 | 3060 | ||
| 3058 | ``` | 3061 | ``` |
| 3059 | typedef enum { | 3062 | typedef enum { |
| @@ -3076,7 +3079,7 @@ typedef enum { | |||
| 3076 | 3079 | ||
| 3077 | <a id="aclrtLabel"></a> | 3080 | <a id="aclrtLabel"></a> |
| 3078 | 3081 | ||
| 3079 | -# aclrtLabel | 3082 | +## aclrtLabel |
| 3080 | 3083 | ||
| 3081 | ``` | 3084 | ``` |
| 3082 | typedef void *aclrtLabel; | 3085 | typedef void *aclrtLabel; |
| @@ -3091,7 +3094,7 @@ typedef void *aclrtLabel; | |||
| 3091 | 3094 | ||
| 3092 | <a id="aclrtLabelList"></a> | 3095 | <a id="aclrtLabelList"></a> |
| 3093 | 3096 | ||
| 3094 | -# aclrtLabelList | 3097 | +## aclrtLabelList |
| 3095 | 3098 | ||
| 3096 | ``` | 3099 | ``` |
| 3097 | typedef void *aclrtLabelList; | 3100 | typedef void *aclrtLabelList; |
| @@ -3106,7 +3109,7 @@ typedef void *aclrtLabelList; | |||
| 3106 | 3109 | ||
| 3107 | <a id="aclrtLastErrLevel"></a> | 3110 | <a id="aclrtLastErrLevel"></a> |
| 3108 | 3111 | ||
| 3109 | -# aclrtLastErrLevel | 3112 | +## aclrtLastErrLevel |
| 3110 | 3113 | ||
| 3111 | ``` | 3114 | ``` |
| 3112 | typedef enum aclrtLastErrLevel { | 3115 | typedef enum aclrtLastErrLevel { |
| @@ -3123,7 +3126,7 @@ typedef enum aclrtLastErrLevel { | |||
| 3123 | 3126 | ||
| 3124 | <a id="aclrtLaunchKernelAttr"></a> | 3127 | <a id="aclrtLaunchKernelAttr"></a> |
| 3125 | 3128 | ||
| 3126 | -# aclrtLaunchKernelAttr | 3129 | +## aclrtLaunchKernelAttr |
| 3127 | 3130 | ||
| 3128 | ``` | 3131 | ``` |
| 3129 | typedef struct aclrtLaunchKernelAttr { | 3132 | typedef struct aclrtLaunchKernelAttr { |
| @@ -3147,7 +3150,7 @@ Launch Kernel时,每个属性是由属性标识aclrtLaunchKernelAttr.id及其 | |||
| 3147 | 3150 | ||
| 3148 | <a id="aclrtLaunchKernelAttrId"></a> | 3151 | <a id="aclrtLaunchKernelAttrId"></a> |
| 3149 | 3152 | ||
| 3150 | -# aclrtLaunchKernelAttrId | 3153 | +## aclrtLaunchKernelAttrId |
| 3151 | 3154 | ||
| 3152 | ``` | 3155 | ``` |
| 3153 | typedef enum aclrtLaunchKernelAttrId { | 3156 | typedef enum aclrtLaunchKernelAttrId { |
| @@ -3171,7 +3174,7 @@ typedef enum aclrtLaunchKernelAttrId { | |||
| 3171 | 3174 | ||
| 3172 | <a id="aclrtLaunchKernelAttrValue"></a> | 3175 | <a id="aclrtLaunchKernelAttrValue"></a> |
| 3173 | 3176 | ||
| 3174 | -# aclrtLaunchKernelAttrValue | 3177 | +## aclrtLaunchKernelAttrValue |
| 3175 | 3178 | ||
| 3176 | ``` | 3179 | ``` |
| 3177 | typedef union aclrtLaunchKernelAttrValue { | 3180 | typedef union aclrtLaunchKernelAttrValue { |
| @@ -3209,7 +3212,7 @@ typedef union aclrtLaunchKernelAttrValue { | |||
| 3209 | 3212 | ||
| 3210 | <a id="aclrtLaunchKernelCfg"></a> | 3213 | <a id="aclrtLaunchKernelCfg"></a> |
| 3211 | 3214 | ||
| 3212 | -# aclrtLaunchKernelCfg | 3215 | +## aclrtLaunchKernelCfg |
| 3213 | 3216 | ||
| 3214 | ``` | 3217 | ``` |
| 3215 | typedef struct aclrtLaunchKernelCfg { | 3218 | typedef struct aclrtLaunchKernelCfg { |
| @@ -3229,7 +3232,7 @@ attrs结构体定义请参见[aclrtLaunchKernelAttr](#aclrtLaunchKernelAttr)。 | |||
| 3229 | 3232 | ||
| 3230 | <a id="aclrtMallocAttribute"></a> | 3233 | <a id="aclrtMallocAttribute"></a> |
| 3231 | 3234 | ||
| 3232 | -# aclrtMallocAttribute | 3235 | +## aclrtMallocAttribute |
| 3233 | 3236 | ||
| 3234 | ``` | 3237 | ``` |
| 3235 | typedef struct { | 3238 | typedef struct { |
| @@ -3253,7 +3256,7 @@ typedef struct { | |||
| 3253 | 3256 | ||
| 3254 | <a id="aclrtMallocAttrType"></a> | 3257 | <a id="aclrtMallocAttrType"></a> |
| 3255 | 3258 | ||
| 3256 | -# aclrtMallocAttrType | 3259 | +## aclrtMallocAttrType |
| 3257 | 3260 | ||
| 3258 | ``` | 3261 | ``` |
| 3259 | typedef enum { | 3262 | typedef enum { |
| @@ -3273,7 +3276,7 @@ typedef enum { | |||
| 3273 | 3276 | ||
| 3274 | <a id="aclrtMallocAttrValue"></a> | 3277 | <a id="aclrtMallocAttrValue"></a> |
| 3275 | 3278 | ||
| 3276 | -# aclrtMallocAttrValue | 3279 | +## aclrtMallocAttrValue |
| 3277 | 3280 | ||
| 3278 | ``` | 3281 | ``` |
| 3279 | typedef union { | 3282 | typedef union { |
| @@ -3301,7 +3304,7 @@ typedef union { | |||
| 3301 | 3304 | ||
| 3302 | <a id="aclrtMallocConfig"></a> | 3305 | <a id="aclrtMallocConfig"></a> |
| 3303 | 3306 | ||
| 3304 | -# aclrtMallocConfig | 3307 | +## aclrtMallocConfig |
| 3305 | 3308 | ||
| 3306 | ``` | 3309 | ``` |
| 3307 | typedef struct { | 3310 | typedef struct { |
| @@ -3325,7 +3328,7 @@ typedef struct { | |||
| 3325 | 3328 | ||
| 3326 | <a id="aclrtMbuf"></a> | 3329 | <a id="aclrtMbuf"></a> |
| 3327 | 3330 | ||
| 3328 | -# aclrtMbuf | 3331 | +## aclrtMbuf |
| 3329 | 3332 | ||
| 3330 | ``` | 3333 | ``` |
| 3331 | typedef void *aclrtMbuf; | 3334 | typedef void *aclrtMbuf; |
| @@ -3340,7 +3343,7 @@ typedef void *aclrtMbuf; | |||
| 3340 | 3343 | ||
| 3341 | <a id="aclrtMemAccessDesc"></a> | 3344 | <a id="aclrtMemAccessDesc"></a> |
| 3342 | 3345 | ||
| 3343 | -# aclrtMemAccessDesc | 3346 | +## aclrtMemAccessDesc |
| 3344 | 3347 | ||
| 3345 | ``` | 3348 | ``` |
| 3346 | typedef struct { | 3349 | typedef struct { |
| @@ -3366,7 +3369,7 @@ typedef struct { | |||
| 3366 | 3369 | ||
| 3367 | <a id="aclrtMemAccessFlags"></a> | 3370 | <a id="aclrtMemAccessFlags"></a> |
| 3368 | 3371 | ||
| 3369 | -# aclrtMemAccessFlags | 3372 | +## aclrtMemAccessFlags |
| 3370 | 3373 | ||
| 3371 | ``` | 3374 | ``` |
| 3372 | typedef enum { | 3375 | typedef enum { |
| @@ -3385,7 +3388,7 @@ typedef enum { | |||
| 3385 | 3388 | ||
| 3386 | <a id="aclrtMemAllocationType"></a> | 3389 | <a id="aclrtMemAllocationType"></a> |
| 3387 | 3390 | ||
| 3388 | -# aclrtMemAllocationType | 3391 | +## aclrtMemAllocationType |
| 3389 | 3392 | ||
| 3390 | ``` | 3393 | ``` |
| 3391 | typedef enum aclrtMemAllocationType { | 3394 | typedef enum aclrtMemAllocationType { |
| @@ -3402,7 +3405,7 @@ typedef enum aclrtMemAllocationType { | |||
| 3402 | 3405 | ||
| 3403 | <a id="aclrtMemAttr"></a> | 3406 | <a id="aclrtMemAttr"></a> |
| 3404 | 3407 | ||
| 3405 | -# aclrtMemAttr | 3408 | +## aclrtMemAttr |
| 3406 | 3409 | ||
| 3407 | ``` | 3410 | ``` |
| 3408 | typedef enum aclrtMemAttr { | 3411 | typedef enum aclrtMemAttr { |
| @@ -3446,7 +3449,7 @@ HUGE1G相关选项仅Atlas A3 训练系列产品/Atlas A3 推理系列产品、A | |||
| 3446 | 3449 | ||
| 3447 | <a id="aclrtMemcpyBatchAttr"></a> | 3450 | <a id="aclrtMemcpyBatchAttr"></a> |
| 3448 | 3451 | ||
| 3449 | -# aclrtMemcpyBatchAttr | 3452 | +## aclrtMemcpyBatchAttr |
| 3450 | 3453 | ||
| 3451 | ``` | 3454 | ``` |
| 3452 | typedef struct { | 3455 | typedef struct { |
| @@ -3472,7 +3475,7 @@ typedef struct { | |||
| 3472 | 3475 | ||
| 3473 | <a id="aclrtMemcpyKind"></a> | 3476 | <a id="aclrtMemcpyKind"></a> |
| 3474 | 3477 | ||
| 3475 | -# aclrtMemcpyKind | 3478 | +## aclrtMemcpyKind |
| 3476 | 3479 | ||
| 3477 | ``` | 3480 | ``` |
| 3478 | typedef enum aclrtMemcpyKind { | 3481 | typedef enum aclrtMemcpyKind { |
| @@ -3496,7 +3499,7 @@ typedef enum aclrtMemcpyKind { | |||
| 3496 | 3499 | ||
| 3497 | <a id="aclrtMemGranularityOptions"></a> | 3500 | <a id="aclrtMemGranularityOptions"></a> |
| 3498 | 3501 | ||
| 3499 | -# aclrtMemGranularityOptions | 3502 | +## aclrtMemGranularityOptions |
| 3500 | 3503 | ||
| 3501 | ``` | 3504 | ``` |
| 3502 | typedef enum aclrtMemGranularityOptions { | 3505 | typedef enum aclrtMemGranularityOptions { |
| @@ -3515,7 +3518,7 @@ typedef enum aclrtMemGranularityOptions { | |||
| 3515 | 3518 | ||
| 3516 | <a id="aclrtMemHandleType"></a> | 3519 | <a id="aclrtMemHandleType"></a> |
| 3517 | 3520 | ||
| 3518 | -# aclrtMemHandleType | 3521 | +## aclrtMemHandleType |
| 3519 | 3522 | ||
| 3520 | ``` | 3523 | ``` |
| 3521 | typedef enum aclrtMemHandleType { | 3524 | typedef enum aclrtMemHandleType { |
| @@ -3533,7 +3536,7 @@ typedef enum aclrtMemHandleType { | |||
| 3533 | 3536 | ||
| 3534 | <a id="aclrtMemLocation"></a> | 3537 | <a id="aclrtMemLocation"></a> |
| 3535 | 3538 | ||
| 3536 | -# aclrtMemLocation | 3539 | +## aclrtMemLocation |
| 3537 | 3540 | ||
| 3538 | ``` | 3541 | ``` |
| 3539 | typedef struct aclrtMemLocation { | 3542 | typedef struct aclrtMemLocation { |
| @@ -3553,7 +3556,7 @@ typedef struct aclrtMemLocation { | |||
| 3553 | 3556 | ||
| 3554 | <a id="aclrtMemLocationType"></a> | 3557 | <a id="aclrtMemLocationType"></a> |
| 3555 | 3558 | ||
| 3556 | -# aclrtMemLocationType | 3559 | +## aclrtMemLocationType |
| 3557 | 3560 | ||
| 3558 | ``` | 3561 | ``` |
| 3559 | typedef enum aclrtMemLocationType { | 3562 | typedef enum aclrtMemLocationType { |
| @@ -3573,7 +3576,7 @@ typedef enum aclrtMemLocationType { | |||
| 3573 | 3576 | ||
| 3574 | <a id="aclrtMemMallocPolicy"></a> | 3577 | <a id="aclrtMemMallocPolicy"></a> |
| 3575 | 3578 | ||
| 3576 | -# aclrtMemMallocPolicy | 3579 | +## aclrtMemMallocPolicy |
| 3577 | 3580 | ||
| 3578 | ``` | 3581 | ``` |
| 3579 | typedef enum aclrtMemMallocPolicy { | 3582 | typedef enum aclrtMemMallocPolicy { |
| @@ -3627,7 +3630,7 @@ typedef enum aclrtMemMallocPolicy { | |||
| 3627 | 3630 | ||
| 3628 | <a id="aclrtMemManagedAdviseType"></a> | 3631 | <a id="aclrtMemManagedAdviseType"></a> |
| 3629 | 3632 | ||
| 3630 | -# aclrtMemManagedAdviseType | 3633 | +## aclrtMemManagedAdviseType |
| 3631 | 3634 | ||
| 3632 | ``` | 3635 | ``` |
| 3633 | typedef enum aclrtMemManagedAdviseType { | 3636 | typedef enum aclrtMemManagedAdviseType { |
| @@ -3694,7 +3697,7 @@ typedef enum aclrtMemManagedAdviseType { | |||
| 3694 | 3697 | ||
| 3695 | <a id="aclrtMemManagedLocation"></a> | 3698 | <a id="aclrtMemManagedLocation"></a> |
| 3696 | 3699 | ||
| 3697 | -# aclrtMemManagedLocation | 3700 | +## aclrtMemManagedLocation |
| 3698 | 3701 | ||
| 3699 | ``` | 3702 | ``` |
| 3700 | typedef struct { | 3703 | typedef struct { |
| @@ -3714,7 +3717,7 @@ typedef struct { | |||
| 3714 | 3717 | ||
| 3715 | <a id="aclrtMemManagedLocationType"></a> | 3718 | <a id="aclrtMemManagedLocationType"></a> |
| 3716 | 3719 | ||
| 3717 | -# aclrtMemManagedLocationType | 3720 | +## aclrtMemManagedLocationType |
| 3718 | 3721 | ||
| 3719 | ``` | 3722 | ``` |
| 3720 | typedef enum aclrtMemManagedLocationType { | 3723 | typedef enum aclrtMemManagedLocationType { |
| @@ -3746,7 +3749,7 @@ typedef enum aclrtMemManagedLocationType { | |||
| 3746 | 3749 | ||
| 3747 | <a id="aclrtMemManagedRangeAttribute"></a> | 3750 | <a id="aclrtMemManagedRangeAttribute"></a> |
| 3748 | 3751 | ||
| 3749 | -# aclrtMemManagedRangeAttribute | 3752 | +## aclrtMemManagedRangeAttribute |
| 3750 | 3753 | ||
| 3751 | ``` | 3754 | ``` |
| 3752 | typedef enum aclrtMemManagedRangeAttribute { | 3755 | typedef enum aclrtMemManagedRangeAttribute { |
| @@ -3849,7 +3852,7 @@ typedef enum aclrtMemManagedRangeAttribute { | |||
| 3849 | 3852 | ||
| 3850 | <a id="aclrtMemPool"></a> | 3853 | <a id="aclrtMemPool"></a> |
| 3851 | 3854 | ||
| 3852 | -# aclrtMemPool | 3855 | +## aclrtMemPool |
| 3853 | 3856 | ||
| 3854 | ``` | 3857 | ``` |
| 3855 | typedef void *aclrtMemPool; | 3858 | typedef void *aclrtMemPool; |
| @@ -3864,7 +3867,7 @@ typedef void *aclrtMemPool; | |||
| 3864 | 3867 | ||
| 3865 | <a id="aclrtMemPoolAttr"></a> | 3868 | <a id="aclrtMemPoolAttr"></a> |
| 3866 | 3869 | ||
| 3867 | -# aclrtMemPoolAttr | 3870 | +## aclrtMemPoolAttr |
| 3868 | 3871 | ||
| 3869 | ``` | 3872 | ``` |
| 3870 | typedef enum aclrtMemPoolAttr{ | 3873 | typedef enum aclrtMemPoolAttr{ |
| @@ -3902,7 +3905,7 @@ typedef enum aclrtMemPoolAttr{ | |||
| 3902 | 3905 | ||
| 3903 | <a id="aclrtMemPoolProps"></a> | 3906 | <a id="aclrtMemPoolProps"></a> |
| 3904 | 3907 | ||
| 3905 | -# aclrtMemPoolProps | 3908 | +## aclrtMemPoolProps |
| 3906 | 3909 | ||
| 3907 | ``` | 3910 | ``` |
| 3908 | typedef struct { | 3911 | typedef struct { |
| @@ -3932,7 +3935,7 @@ typedef struct { | |||
| 3932 | 3935 | ||
| 3933 | <a id="aclrtMemSharedHandleType"></a> | 3936 | <a id="aclrtMemSharedHandleType"></a> |
| 3934 | 3937 | ||
| 3935 | -# aclrtMemSharedHandleType | 3938 | +## aclrtMemSharedHandleType |
| 3936 | 3939 | ||
| 3937 | ``` | 3940 | ``` |
| 3938 | typedef enum aclrtMemSharedHandleType { | 3941 | typedef enum aclrtMemSharedHandleType { |
| @@ -3958,7 +3961,7 @@ typedef enum aclrtMemSharedHandleType { | |||
| 3958 | 3961 | ||
| 3959 | <a id="aclrtMemUceInfo"></a> | 3962 | <a id="aclrtMemUceInfo"></a> |
| 3960 | 3963 | ||
| 3961 | -# aclrtMemUceInfo | 3964 | +## aclrtMemUceInfo |
| 3962 | 3965 | ||
| 3963 | ``` | 3966 | ``` |
| 3964 | #define MAX_MEM_UCE_INFO_ARRAY_SIZE 128 | 3967 | #define MAX_MEM_UCE_INFO_ARRAY_SIZE 128 |
| @@ -3987,7 +3990,7 @@ typedef struct aclrtMemUceInfo { | |||
| 3987 | 3990 | ||
| 3988 | <a id="aclrtMemUsageInfo"></a> | 3991 | <a id="aclrtMemUsageInfo"></a> |
| 3989 | 3992 | ||
| 3990 | -# aclrtMemUsageInfo | 3993 | +## aclrtMemUsageInfo |
| 3991 | 3994 | ||
| 3992 | ``` | 3995 | ``` |
| 3993 | typedef struct aclrtMemUsageInfo { | 3996 | typedef struct aclrtMemUsageInfo { |
| @@ -4007,7 +4010,7 @@ typedef struct aclrtMemUsageInfo { | |||
| 4007 | 4010 | ||
| 4008 | <a id="aclrtNormalDisInfo"></a> | 4011 | <a id="aclrtNormalDisInfo"></a> |
| 4009 | 4012 | ||
| 4010 | -# aclrtNormalDisInfo | 4013 | +## aclrtNormalDisInfo |
| 4011 | 4014 | ||
| 4012 | ``` | 4015 | ``` |
| 4013 | typedef struct { | 4016 | typedef struct { |
| @@ -4031,7 +4034,7 @@ typedef struct { | |||
| 4031 | 4034 | ||
| 4032 | <a id="aclrtNotify"></a> | 4035 | <a id="aclrtNotify"></a> |
| 4033 | 4036 | ||
| 4034 | -# aclrtNotify | 4037 | +## aclrtNotify |
| 4035 | 4038 | ||
| 4036 | ``` | 4039 | ``` |
| 4037 | typedef void *aclrtNotify; | 4040 | typedef void *aclrtNotify; |
| @@ -4046,7 +4049,7 @@ typedef void *aclrtNotify; | |||
| 4046 | 4049 | ||
| 4047 | <a id="aclrtParamHandle"></a> | 4050 | <a id="aclrtParamHandle"></a> |
| 4048 | 4051 | ||
| 4049 | -# aclrtParamHandle | 4052 | +## aclrtParamHandle |
| 4050 | 4053 | ||
| 4051 | ``` | 4054 | ``` |
| 4052 | typedef void* aclrtParamHandle; | 4055 | typedef void* aclrtParamHandle; |
| @@ -4061,7 +4064,7 @@ typedef void* aclrtParamHandle; | |||
| 4061 | 4064 | ||
| 4062 | <a id="aclrtPhysicalMemProp"></a> | 4065 | <a id="aclrtPhysicalMemProp"></a> |
| 4063 | 4066 | ||
| 4064 | -# aclrtPhysicalMemProp | 4067 | +## aclrtPhysicalMemProp |
| 4065 | 4068 | ||
| 4066 | ``` | 4069 | ``` |
| 4067 | typedef struct aclrtPhysicalMemProp { | 4070 | typedef struct aclrtPhysicalMemProp { |
| @@ -4091,7 +4094,7 @@ typedef struct aclrtPhysicalMemProp { | |||
| 4091 | 4094 | ||
| 4092 | <a id="aclrtPtrAttributes"></a> | 4095 | <a id="aclrtPtrAttributes"></a> |
| 4093 | 4096 | ||
| 4094 | -# aclrtPtrAttributes | 4097 | +## aclrtPtrAttributes |
| 4095 | 4098 | ||
| 4096 | ``` | 4099 | ``` |
| 4097 | typedef struct aclrtPtrAttributes { | 4100 | typedef struct aclrtPtrAttributes { |
| @@ -4117,7 +4120,7 @@ typedef struct aclrtPtrAttributes { | |||
| 4117 | 4120 | ||
| 4118 | <a id="aclrtRandomNumFuncParaInfo"></a> | 4121 | <a id="aclrtRandomNumFuncParaInfo"></a> |
| 4119 | 4122 | ||
| 4120 | -# aclrtRandomNumFuncParaInfo | 4123 | +## aclrtRandomNumFuncParaInfo |
| 4121 | 4124 | ||
| 4122 | ``` | 4125 | ``` |
| 4123 | typedef struct { | 4126 | typedef struct { |
| @@ -4147,7 +4150,7 @@ typedef struct { | |||
| 4147 | 4150 | ||
| 4148 | <a id="aclrtRandomNumFuncType"></a> | 4151 | <a id="aclrtRandomNumFuncType"></a> |
| 4149 | 4152 | ||
| 4150 | -# aclrtRandomNumFuncType | 4153 | +## aclrtRandomNumFuncType |
| 4151 | 4154 | ||
| 4152 | ``` | 4155 | ``` |
| 4153 | typedef enum { | 4156 | typedef enum { |
| @@ -4167,7 +4170,7 @@ typedef enum { | |||
| 4167 | 4170 | ||
| 4168 | <a id="aclrtRandomNumTaskInfo"></a> | 4171 | <a id="aclrtRandomNumTaskInfo"></a> |
| 4169 | 4172 | ||
| 4170 | -# aclrtRandomNumTaskInfo | 4173 | +## aclrtRandomNumTaskInfo |
| 4171 | 4174 | ||
| 4172 | ``` | 4175 | ``` |
| 4173 | typedef struct { | 4176 | typedef struct { |
| @@ -4203,7 +4206,7 @@ typedef struct { | |||
| 4203 | 4206 | ||
| 4204 | <a id="aclrtRandomParaInfo"></a> | 4207 | <a id="aclrtRandomParaInfo"></a> |
| 4205 | 4208 | ||
| 4206 | -# aclrtRandomParaInfo | 4209 | +## aclrtRandomParaInfo |
| 4207 | 4210 | ||
| 4208 | ``` | 4211 | ``` |
| 4209 | typedef struct { | 4212 | typedef struct { |
| @@ -4231,7 +4234,7 @@ typedef struct { | |||
| 4231 | 4234 | ||
| 4232 | <a id="aclrtRandomTaskUpdateAttr"></a> | 4235 | <a id="aclrtRandomTaskUpdateAttr"></a> |
| 4233 | 4236 | ||
| 4234 | -# aclrtRandomTaskUpdateAttr | 4237 | +## aclrtRandomTaskUpdateAttr |
| 4235 | 4238 | ||
| 4236 | ``` | 4239 | ``` |
| 4237 | typedef struct { | 4240 | typedef struct { |
| @@ -4257,7 +4260,7 @@ typedef struct { | |||
| 4257 | 4260 | ||
| 4258 | <a id="aclrtReduceKind"></a> | 4261 | <a id="aclrtReduceKind"></a> |
| 4259 | 4262 | ||
| 4260 | -# aclrtReduceKind | 4263 | +## aclrtReduceKind |
| 4261 | 4264 | ||
| 4262 | ``` | 4265 | ``` |
| 4263 | typedef enum { | 4266 | typedef enum { |
| @@ -4277,7 +4280,7 @@ typedef enum { | |||
| 4277 | 4280 | ||
| 4278 | <a id="aclrtRunMode"></a> | 4281 | <a id="aclrtRunMode"></a> |
| 4279 | 4282 | ||
| 4280 | -# aclrtRunMode | 4283 | +## aclrtRunMode |
| 4281 | 4284 | ||
| 4282 | ``` | 4285 | ``` |
| 4283 | typedef enum aclrtRunMode { | 4286 | typedef enum aclrtRunMode { |
| @@ -4303,7 +4306,7 @@ typedef enum aclrtRunMode { | |||
| 4303 | 4306 | ||
| 4304 | <a id="aclrtServerPid"></a> | 4307 | <a id="aclrtServerPid"></a> |
| 4305 | 4308 | ||
| 4306 | -# aclrtServerPid | 4309 | +## aclrtServerPid |
| 4307 | 4310 | ||
| 4308 | ``` | 4311 | ``` |
| 4309 | typedef struct { | 4312 | typedef struct { |
| @@ -4329,7 +4332,7 @@ typedef struct { | |||
| 4329 | 4332 | ||
| 4330 | <a id="aclrtSnapShotStage"></a> | 4333 | <a id="aclrtSnapShotStage"></a> |
| 4331 | 4334 | ||
| 4332 | -# aclrtSnapShotStage | 4335 | +## aclrtSnapShotStage |
| 4333 | 4336 | ||
| 4334 | ``` | 4337 | ``` |
| 4335 | typedef enum { | 4338 | typedef enum { |
| @@ -4351,7 +4354,7 @@ typedef enum { | |||
| 4351 | 4354 | ||
| 4352 | <a id="aclrtStream"></a> | 4355 | <a id="aclrtStream"></a> |
| 4353 | 4356 | ||
| 4354 | -# aclrtStream | 4357 | +## aclrtStream |
| 4355 | 4358 | ||
| 4356 | ``` | 4359 | ``` |
| 4357 | typedef void *aclrtStream; | 4360 | typedef void *aclrtStream; |
| @@ -4366,7 +4369,7 @@ typedef void *aclrtStream; | |||
| 4366 | 4369 | ||
| 4367 | <a id="aclrtStreamAttr"></a> | 4370 | <a id="aclrtStreamAttr"></a> |
| 4368 | 4371 | ||
| 4369 | -# aclrtStreamAttr | 4372 | +## aclrtStreamAttr |
| 4370 | 4373 | ||
| 4371 | ``` | 4374 | ``` |
| 4372 | typedef enum { | 4375 | typedef enum { |
| @@ -4394,7 +4397,7 @@ typedef enum { | |||
| 4394 | 4397 | ||
| 4395 | <a id="aclrtStreamAttrValue"></a> | 4398 | <a id="aclrtStreamAttrValue"></a> |
| 4396 | 4399 | ||
| 4397 | -# aclrtStreamAttrValue | 4400 | +## aclrtStreamAttrValue |
| 4398 | 4401 | ||
| 4399 | ``` | 4402 | ``` |
| 4400 | typedef union { | 4403 | typedef union { |
| @@ -4424,7 +4427,7 @@ typedef union { | |||
| 4424 | 4427 | ||
| 4425 | <a id="aclrtStreamConfigAttr"></a> | 4428 | <a id="aclrtStreamConfigAttr"></a> |
| 4426 | 4429 | ||
| 4427 | -# aclrtStreamConfigAttr | 4430 | +## aclrtStreamConfigAttr |
| 4428 | 4431 | ||
| 4429 | ``` | 4432 | ``` |
| 4430 | typedef enum { | 4433 | typedef enum { |
| @@ -4454,7 +4457,7 @@ typedef enum { | |||
| 4454 | 4457 | ||
| 4455 | <a id="aclrtStreamConfigHandle"></a> | 4458 | <a id="aclrtStreamConfigHandle"></a> |
| 4456 | 4459 | ||
| 4457 | -# aclrtStreamConfigHandle | 4460 | +## aclrtStreamConfigHandle |
| 4458 | 4461 | ||
| 4459 | - **[aclrtCreateStreamConfigHandle](#aclrtCreateStreamConfigHandle)** | 4462 | - **[aclrtCreateStreamConfigHandle](#aclrtCreateStreamConfigHandle)** |
| 4460 | 4463 | ||
| @@ -4469,7 +4472,7 @@ typedef enum { | |||
| 4469 | 4472 | ||
| 4470 | <a id="aclrtCreateStreamConfigHandle"></a> | 4473 | <a id="aclrtCreateStreamConfigHandle"></a> |
| 4471 | 4474 | ||
| 4472 | -# aclrtCreateStreamConfigHandle | 4475 | +## aclrtCreateStreamConfigHandle |
| 4473 | 4476 | ||
| 4474 | ```c | 4477 | ```c |
| 4475 | aclrtStreamConfigHandle *aclrtCreateStreamConfigHandle(void) | 4478 | aclrtStreamConfigHandle *aclrtCreateStreamConfigHandle(void) |
| @@ -4508,7 +4511,7 @@ aclrtStreamConfigHandle *aclrtCreateStreamConfigHandle(void) | |||
| 4508 | 4511 | ||
| 4509 | <a id="aclrtDestroyStreamConfigHandle"></a> | 4512 | <a id="aclrtDestroyStreamConfigHandle"></a> |
| 4510 | 4513 | ||
| 4511 | -# aclrtDestroyStreamConfigHandle | 4514 | +## aclrtDestroyStreamConfigHandle |
| 4512 | 4515 | ||
| 4513 | ```c | 4516 | ```c |
| 4514 | aclError aclrtDestroyStreamConfigHandle(aclrtStreamConfigHandle *handle) | 4517 | aclError aclrtDestroyStreamConfigHandle(aclrtStreamConfigHandle *handle) |
| @@ -4547,7 +4550,7 @@ aclError aclrtDestroyStreamConfigHandle(aclrtStreamConfigHandle *handle) | |||
| 4547 | 4550 | ||
| 4548 | <a id="aclrtStreamStatus"></a> | 4551 | <a id="aclrtStreamStatus"></a> |
| 4549 | 4552 | ||
| 4550 | -# aclrtStreamStatus | 4553 | +## aclrtStreamStatus |
| 4551 | 4554 | ||
| 4552 | ``` | 4555 | ``` |
| 4553 | typedef enum aclrtStreamStatus { | 4556 | typedef enum aclrtStreamStatus { |
| @@ -4566,7 +4569,7 @@ typedef enum aclrtStreamStatus { | |||
| 4566 | 4569 | ||
| 4567 | <a id="aclrtTaskGrp"></a> | 4570 | <a id="aclrtTaskGrp"></a> |
| 4568 | 4571 | ||
| 4569 | -# aclrtTaskGrp | 4572 | +## aclrtTaskGrp |
| 4570 | 4573 | ||
| 4571 | ``` | 4574 | ``` |
| 4572 | typedef void *aclrtTaskGrp; | 4575 | typedef void *aclrtTaskGrp; |
| @@ -4581,7 +4584,7 @@ typedef void *aclrtTaskGrp; | |||
| 4581 | 4584 | ||
| 4582 | <a id="aclrtTaskUpdateInfo"></a> | 4585 | <a id="aclrtTaskUpdateInfo"></a> |
| 4583 | 4586 | ||
| 4584 | -# aclrtTaskUpdateInfo | 4587 | +## aclrtTaskUpdateInfo |
| 4585 | 4588 | ||
| 4586 | ``` | 4589 | ``` |
| 4587 | typedef struct { | 4590 | typedef struct { |
| @@ -4605,7 +4608,7 @@ typedef struct { | |||
| 4605 | 4608 | ||
| 4606 | <a id="aclrtTimeoutUs"></a> | 4609 | <a id="aclrtTimeoutUs"></a> |
| 4607 | 4610 | ||
| 4608 | -# aclrtTimeoutUs | 4611 | +## aclrtTimeoutUs |
| 4609 | 4612 | ||
| 4610 | ``` | 4613 | ``` |
| 4611 | typedef struct { | 4614 | typedef struct { |
| @@ -4623,7 +4626,7 @@ typedef struct { | |||
| 4623 | 4626 | ||
| 4624 | <a id="aclrtUniformDisInfo"></a> | 4627 | <a id="aclrtUniformDisInfo"></a> |
| 4625 | 4628 | ||
| 4626 | -# aclrtUniformDisInfo | 4629 | +## aclrtUniformDisInfo |
| 4627 | 4630 | ||
| 4628 | ``` | 4631 | ``` |
| 4629 | typedef struct { | 4632 | typedef struct { |
| @@ -4647,7 +4650,7 @@ typedef struct { | |||
| 4647 | 4650 | ||
| 4648 | <a id="aclrtUpdateTaskAttrId"></a> | 4651 | <a id="aclrtUpdateTaskAttrId"></a> |
| 4649 | 4652 | ||
| 4650 | -# aclrtUpdateTaskAttrId | 4653 | +## aclrtUpdateTaskAttrId |
| 4651 | 4654 | ||
| 4652 | ``` | 4655 | ``` |
| 4653 | typedef enum { | 4656 | typedef enum { |
| @@ -4671,7 +4674,7 @@ typedef enum { | |||
| 4671 | 4674 | ||
| 4672 | <a id="aclrtUpdateTaskAttrVal"></a> | 4675 | <a id="aclrtUpdateTaskAttrVal"></a> |
| 4673 | 4676 | ||
| 4674 | -# aclrtUpdateTaskAttrVal | 4677 | +## aclrtUpdateTaskAttrVal |
| 4675 | 4678 | ||
| 4676 | ``` | 4679 | ``` |
| 4677 | typedef union { | 4680 | typedef union { |
| @@ -4695,7 +4698,7 @@ typedef union { | |||
| 4695 | 4698 | ||
| 4696 | <a id="aclrtUtilizationInfo"></a> | 4699 | <a id="aclrtUtilizationInfo"></a> |
| 4697 | 4700 | ||
| 4698 | -# aclrtUtilizationInfo | 4701 | +## aclrtUtilizationInfo |
| 4699 | 4702 | ||
| 4700 | ``` | 4703 | ``` |
| 4701 | typedef struct aclrtUtilizationInfo { | 4704 | typedef struct aclrtUtilizationInfo { |
| @@ -4716,7 +4719,7 @@ typedef struct aclrtUtilizationInfo { | |||
| 4716 | 4719 | ||
| 4717 | <a id="aclrtUuid"></a> | 4720 | <a id="aclrtUuid"></a> |
| 4718 | 4721 | ||
| 4719 | -# aclrtUuid | 4722 | +## aclrtUuid |
| 4720 | 4723 | ||
| 4721 | ``` | 4724 | ``` |
| 4722 | typedef struct aclrtUuid { | 4725 | typedef struct aclrtUuid { |
| @@ -4733,7 +4736,7 @@ typedef struct aclrtUtilizationInfo { | |||
| 4733 | 4736 | ||
| 4734 | <a id="aclSysParamOpt"></a> | 4737 | <a id="aclSysParamOpt"></a> |
| 4735 | 4738 | ||
| 4736 | -# aclSysParamOpt | 4739 | +## aclSysParamOpt |
| 4737 | 4740 | ||
| 4738 | ``` | 4741 | ``` |
| 4739 | typedef enum { | 4742 | typedef enum { |
| @@ -4761,7 +4764,7 @@ typedef enum { | |||
| 4761 | 4764 | ||
| 4762 | <a id="acltdtBuf"></a> | 4765 | <a id="acltdtBuf"></a> |
| 4763 | 4766 | ||
| 4764 | -# acltdtBuf | 4767 | +## acltdtBuf |
| 4765 | 4768 | ||
| 4766 | ``` | 4769 | ``` |
| 4767 | typedef void *acltdtBuf; | 4770 | typedef void *acltdtBuf; |
| @@ -4776,7 +4779,7 @@ typedef void *acltdtBuf; | |||
| 4776 | 4779 | ||
| 4777 | <a id="acltdtDataItem"></a> | 4780 | <a id="acltdtDataItem"></a> |
| 4778 | 4781 | ||
| 4779 | -# acltdtDataItem | 4782 | +## acltdtDataItem |
| 4780 | 4783 | ||
| 4781 | - **[acltdtCreateDataItem](#acltdtCreateDataItem)** | 4784 | - **[acltdtCreateDataItem](#acltdtCreateDataItem)** |
| 4782 | 4785 | ||
| @@ -4803,7 +4806,7 @@ typedef void *acltdtBuf; | |||
| 4803 | 4806 | ||
| 4804 | <a id="acltdtCreateDataItem"></a> | 4807 | <a id="acltdtCreateDataItem"></a> |
| 4805 | 4808 | ||
| 4806 | -# acltdtCreateDataItem | 4809 | +## acltdtCreateDataItem |
| 4807 | 4810 | ||
| 4808 | ```c | 4811 | ```c |
| 4809 | acltdtDataItem *acltdtCreateDataItem(acltdtTensorType tdtType, | 4812 | acltdtDataItem *acltdtCreateDataItem(acltdtTensorType tdtType, |
| @@ -4855,7 +4858,7 @@ size_t size) | |||
| 4855 | 4858 | ||
| 4856 | <a id="acltdtDestroyDataItem"></a> | 4859 | <a id="acltdtDestroyDataItem"></a> |
| 4857 | 4860 | ||
| 4858 | -# acltdtDestroyDataItem | 4861 | +## acltdtDestroyDataItem |
| 4859 | 4862 | ||
| 4860 | ```c | 4863 | ```c |
| 4861 | aclError acltdtDestroyDataItem(acltdtDataItem *dataItem) | 4864 | aclError acltdtDestroyDataItem(acltdtDataItem *dataItem) |
| @@ -4894,7 +4897,7 @@ aclError acltdtDestroyDataItem(acltdtDataItem *dataItem) | |||
| 4894 | 4897 | ||
| 4895 | <a id="acltdtGetTensorTypeFromItem"></a> | 4898 | <a id="acltdtGetTensorTypeFromItem"></a> |
| 4896 | 4899 | ||
| 4897 | -# acltdtGetTensorTypeFromItem | 4900 | +## acltdtGetTensorTypeFromItem |
| 4898 | 4901 | ||
| 4899 | ```c | 4902 | ```c |
| 4900 | acltdtTensorType acltdtGetTensorTypeFromItem(const acltdtDataItem *dataItem) | 4903 | acltdtTensorType acltdtGetTensorTypeFromItem(const acltdtDataItem *dataItem) |
| @@ -4933,7 +4936,7 @@ acltdtTensorType acltdtGetTensorTypeFromItem(const acltdtDataItem *dataItem) | |||
| 4933 | 4936 | ||
| 4934 | <a id="acltdtGetDataTypeFromItem"></a> | 4937 | <a id="acltdtGetDataTypeFromItem"></a> |
| 4935 | 4938 | ||
| 4936 | -# acltdtGetDataTypeFromItem | 4939 | +## acltdtGetDataTypeFromItem |
| 4937 | 4940 | ||
| 4938 | ```c | 4941 | ```c |
| 4939 | aclDataType acltdtGetDataTypeFromItem(const acltdtDataItem *dataItem) | 4942 | aclDataType acltdtGetDataTypeFromItem(const acltdtDataItem *dataItem) |
| @@ -4972,7 +4975,7 @@ aclDataType acltdtGetDataTypeFromItem(const acltdtDataItem *dataItem) | |||
| 4972 | 4975 | ||
| 4973 | <a id="acltdtGetDataAddrFromItem"></a> | 4976 | <a id="acltdtGetDataAddrFromItem"></a> |
| 4974 | 4977 | ||
| 4975 | -# acltdtGetDataAddrFromItem | 4978 | +## acltdtGetDataAddrFromItem |
| 4976 | 4979 | ||
| 4977 | ```c | 4980 | ```c |
| 4978 | void *acltdtGetDataAddrFromItem(const acltdtDataItem *dataItem) | 4981 | void *acltdtGetDataAddrFromItem(const acltdtDataItem *dataItem) |
| @@ -5011,7 +5014,7 @@ void *acltdtGetDataAddrFromItem(const acltdtDataItem *dataItem) | |||
| 5011 | 5014 | ||
| 5012 | <a id="acltdtGetDataSizeFromItem"></a> | 5015 | <a id="acltdtGetDataSizeFromItem"></a> |
| 5013 | 5016 | ||
| 5014 | -# acltdtGetDataSizeFromItem | 5017 | +## acltdtGetDataSizeFromItem |
| 5015 | 5018 | ||
| 5016 | ```c | 5019 | ```c |
| 5017 | size_t acltdtGetDataSizeFromItem(const acltdtDataItem *dataItem) | 5020 | size_t acltdtGetDataSizeFromItem(const acltdtDataItem *dataItem) |
| @@ -5050,7 +5053,7 @@ size_t acltdtGetDataSizeFromItem(const acltdtDataItem *dataItem) | |||
| 5050 | 5053 | ||
| 5051 | <a id="acltdtGetDimNumFromItem"></a> | 5054 | <a id="acltdtGetDimNumFromItem"></a> |
| 5052 | 5055 | ||
| 5053 | -# acltdtGetDimNumFromItem | 5056 | +## acltdtGetDimNumFromItem |
| 5054 | 5057 | ||
| 5055 | ```c | 5058 | ```c |
| 5056 | size_t acltdtGetDimNumFromItem(const acltdtDataItem *dataItem) | 5059 | size_t acltdtGetDimNumFromItem(const acltdtDataItem *dataItem) |
| @@ -5089,7 +5092,7 @@ size_t acltdtGetDimNumFromItem(const acltdtDataItem *dataItem) | |||
| 5089 | 5092 | ||
| 5090 | <a id="acltdtGetDimsFromItem"></a> | 5093 | <a id="acltdtGetDimsFromItem"></a> |
| 5091 | 5094 | ||
| 5092 | -# acltdtGetDimsFromItem | 5095 | +## acltdtGetDimsFromItem |
| 5093 | 5096 | ||
| 5094 | ```c | 5097 | ```c |
| 5095 | aclError acltdtGetDimsFromItem(const acltdtDataItem *dataItem, int64_t *dims, size_t dimNum) | 5098 | aclError acltdtGetDimsFromItem(const acltdtDataItem *dataItem, int64_t *dims, size_t dimNum) |
| @@ -5130,7 +5133,7 @@ aclError acltdtGetDimsFromItem(const acltdtDataItem *dataItem, int64_t *dims, si | |||
| 5130 | 5133 | ||
| 5131 | <a id="acltdtDataset"></a> | 5134 | <a id="acltdtDataset"></a> |
| 5132 | 5135 | ||
| 5133 | -# acltdtDataset | 5136 | +## acltdtDataset |
| 5134 | 5137 | ||
| 5135 | - **[acltdtCreateDataset](#acltdtCreateDataset)** | 5138 | - **[acltdtCreateDataset](#acltdtCreateDataset)** |
| 5136 | 5139 | ||
| @@ -5153,7 +5156,7 @@ aclError acltdtGetDimsFromItem(const acltdtDataItem *dataItem, int64_t *dims, si | |||
| 5153 | 5156 | ||
| 5154 | <a id="acltdtCreateDataset"></a> | 5157 | <a id="acltdtCreateDataset"></a> |
| 5155 | 5158 | ||
| 5156 | -# acltdtCreateDataset | 5159 | +## acltdtCreateDataset |
| 5157 | 5160 | ||
| 5158 | ```c | 5161 | ```c |
| 5159 | acltdtDataset *acltdtCreateDataset() | 5162 | acltdtDataset *acltdtCreateDataset() |
| @@ -5192,7 +5195,7 @@ acltdtDataset *acltdtCreateDataset() | |||
| 5192 | 5195 | ||
| 5193 | <a id="acltdtDestroyDataset"></a> | 5196 | <a id="acltdtDestroyDataset"></a> |
| 5194 | 5197 | ||
| 5195 | -# acltdtDestroyDataset | 5198 | +## acltdtDestroyDataset |
| 5196 | 5199 | ||
| 5197 | ```c | 5200 | ```c |
| 5198 | aclError acltdtDestroyDataset(acltdtDataset *dataset) | 5201 | aclError acltdtDestroyDataset(acltdtDataset *dataset) |
| @@ -5231,7 +5234,7 @@ aclError acltdtDestroyDataset(acltdtDataset *dataset) | |||
| 5231 | 5234 | ||
| 5232 | <a id="acltdtGetDataItem"></a> | 5235 | <a id="acltdtGetDataItem"></a> |
| 5233 | 5236 | ||
| 5234 | -# acltdtGetDataItem | 5237 | +## acltdtGetDataItem |
| 5235 | 5238 | ||
| 5236 | ```c | 5239 | ```c |
| 5237 | acltdtDataItem *acltdtGetDataItem(const acltdtDataset *dataset, size_t index) | 5240 | acltdtDataItem *acltdtGetDataItem(const acltdtDataset *dataset, size_t index) |
| @@ -5272,7 +5275,7 @@ acltdtDataItem *acltdtGetDataItem(const acltdtDataset *dataset, size_t index) | |||
| 5272 | 5275 | ||
| 5273 | <a id="acltdtAddDataItem"></a> | 5276 | <a id="acltdtAddDataItem"></a> |
| 5274 | 5277 | ||
| 5275 | -# acltdtAddDataItem | 5278 | +## acltdtAddDataItem |
| 5276 | 5279 | ||
| 5277 | ```c | 5280 | ```c |
| 5278 | aclError acltdtAddDataItem(acltdtDataset *dataset, acltdtDataItem *dataItem) | 5281 | aclError acltdtAddDataItem(acltdtDataset *dataset, acltdtDataItem *dataItem) |
| @@ -5312,7 +5315,7 @@ aclError acltdtAddDataItem(acltdtDataset *dataset, acltdtDataItem *dataItem) | |||
| 5312 | 5315 | ||
| 5313 | <a id="acltdtGetDatasetSize"></a> | 5316 | <a id="acltdtGetDatasetSize"></a> |
| 5314 | 5317 | ||
| 5315 | -# acltdtGetDatasetSize | 5318 | +## acltdtGetDatasetSize |
| 5316 | 5319 | ||
| 5317 | ```c | 5320 | ```c |
| 5318 | size_t acltdtGetDatasetSize(const acltdtDataset *dataset) | 5321 | size_t acltdtGetDatasetSize(const acltdtDataset *dataset) |
| @@ -5351,7 +5354,7 @@ acltdtDataItem的个数。 | |||
| 5351 | 5354 | ||
| 5352 | <a id="acltdtGetDatasetName"></a> | 5355 | <a id="acltdtGetDatasetName"></a> |
| 5353 | 5356 | ||
| 5354 | -# acltdtGetDatasetName | 5357 | +## acltdtGetDatasetName |
| 5355 | 5358 | ||
| 5356 | ```c | 5359 | ```c |
| 5357 | const char *acltdtGetDatasetName(const acltdtDataset *dataset) | 5360 | const char *acltdtGetDatasetName(const acltdtDataset *dataset) |
| @@ -5390,7 +5393,7 @@ const char *acltdtGetDatasetName(const acltdtDataset *dataset) | |||
| 5390 | 5393 | ||
| 5391 | <a id="acltdtQueueAttr"></a> | 5394 | <a id="acltdtQueueAttr"></a> |
| 5392 | 5395 | ||
| 5393 | -# acltdtQueueAttr | 5396 | +## acltdtQueueAttr |
| 5394 | 5397 | ||
| 5395 | - **[acltdtCreateQueueAttr](#acltdtCreateQueueAttr)** | 5398 | - **[acltdtCreateQueueAttr](#acltdtCreateQueueAttr)** |
| 5396 | 5399 | ||
| @@ -5409,7 +5412,7 @@ const char *acltdtGetDatasetName(const acltdtDataset *dataset) | |||
| 5409 | 5412 | ||
| 5410 | <a id="acltdtCreateQueueAttr"></a> | 5413 | <a id="acltdtCreateQueueAttr"></a> |
| 5411 | 5414 | ||
| 5412 | -# acltdtCreateQueueAttr | 5415 | +## acltdtCreateQueueAttr |
| 5413 | 5416 | ||
| 5414 | ```c | 5417 | ```c |
| 5415 | acltdtQueueAttr *acltdtCreateQueueAttr() | 5418 | acltdtQueueAttr *acltdtCreateQueueAttr() |
| @@ -5446,7 +5449,7 @@ acltdtQueueAttr *acltdtCreateQueueAttr() | |||
| 5446 | 5449 | ||
| 5447 | <a id="acltdtDestroyQueueAttr"></a> | 5450 | <a id="acltdtDestroyQueueAttr"></a> |
| 5448 | 5451 | ||
| 5449 | -# acltdtDestroyQueueAttr | 5452 | +## acltdtDestroyQueueAttr |
| 5450 | 5453 | ||
| 5451 | ```c | 5454 | ```c |
| 5452 | aclError acltdtDestroyQueueAttr(const acltdtQueueAttr *attr) | 5455 | aclError acltdtDestroyQueueAttr(const acltdtQueueAttr *attr) |
| @@ -5485,7 +5488,7 @@ aclError acltdtDestroyQueueAttr(const acltdtQueueAttr *attr) | |||
| 5485 | 5488 | ||
| 5486 | <a id="acltdtSetQueueAttr"></a> | 5489 | <a id="acltdtSetQueueAttr"></a> |
| 5487 | 5490 | ||
| 5488 | -# acltdtSetQueueAttr | 5491 | +## acltdtSetQueueAttr |
| 5489 | 5492 | ||
| 5490 | ```c | 5493 | ```c |
| 5491 | aclError acltdtSetQueueAttr(acltdtQueueAttr *attr, acltdtQueueAttrType type, size_t len, const void *param) | 5494 | aclError acltdtSetQueueAttr(acltdtQueueAttr *attr, acltdtQueueAttrType type, size_t len, const void *param) |
| @@ -5527,7 +5530,7 @@ aclError acltdtSetQueueAttr(acltdtQueueAttr *attr, acltdtQueueAttrType type, siz | |||
| 5527 | 5530 | ||
| 5528 | <a id="acltdtGetQueueAttr"></a> | 5531 | <a id="acltdtGetQueueAttr"></a> |
| 5529 | 5532 | ||
| 5530 | -# acltdtGetQueueAttr | 5533 | +## acltdtGetQueueAttr |
| 5531 | 5534 | ||
| 5532 | ```c | 5535 | ```c |
| 5533 | aclError acltdtGetQueueAttr(const acltdtQueueAttr *attr, acltdtQueueAttrType type, size_t len, size_t *paramRetSize, void *param) | 5536 | aclError acltdtGetQueueAttr(const acltdtQueueAttr *attr, acltdtQueueAttrType type, size_t len, size_t *paramRetSize, void *param) |
| @@ -5570,7 +5573,7 @@ aclError acltdtGetQueueAttr(const acltdtQueueAttr *attr, acltdtQueueAttrType typ | |||
| 5570 | 5573 | ||
| 5571 | <a id="acltdtQueueAttrType"></a> | 5574 | <a id="acltdtQueueAttrType"></a> |
| 5572 | 5575 | ||
| 5573 | -# acltdtQueueAttrType | 5576 | +## acltdtQueueAttrType |
| 5574 | 5577 | ||
| 5575 | ``` | 5578 | ``` |
| 5576 | typedef enum { | 5579 | typedef enum { |
| @@ -5588,7 +5591,7 @@ typedef enum { | |||
| 5588 | 5591 | ||
| 5589 | <a id="acltdtQueueRoute"></a> | 5592 | <a id="acltdtQueueRoute"></a> |
| 5590 | 5593 | ||
| 5591 | -# acltdtQueueRoute | 5594 | +## acltdtQueueRoute |
| 5592 | 5595 | ||
| 5593 | - **[acltdtCreateQueueRoute](#acltdtCreateQueueRoute)** | 5596 | - **[acltdtCreateQueueRoute](#acltdtCreateQueueRoute)** |
| 5594 | 5597 | ||
| @@ -5605,7 +5608,7 @@ typedef enum { | |||
| 5605 | 5608 | ||
| 5606 | <a id="acltdtCreateQueueRoute"></a> | 5609 | <a id="acltdtCreateQueueRoute"></a> |
| 5607 | 5610 | ||
| 5608 | -# acltdtCreateQueueRoute | 5611 | +## acltdtCreateQueueRoute |
| 5609 | 5612 | ||
| 5610 | ```c | 5613 | ```c |
| 5611 | acltdtQueueRoute* acltdtCreateQueueRoute(uint32_t srcId, uint32_t dstId) | 5614 | acltdtQueueRoute* acltdtCreateQueueRoute(uint32_t srcId, uint32_t dstId) |
| @@ -5646,7 +5649,7 @@ acltdtQueueRoute* acltdtCreateQueueRoute(uint32_t srcId, uint32_t dstId) | |||
| 5646 | 5649 | ||
| 5647 | <a id="acltdtDestroyQueueRoute"></a> | 5650 | <a id="acltdtDestroyQueueRoute"></a> |
| 5648 | 5651 | ||
| 5649 | -# acltdtDestroyQueueRoute | 5652 | +## acltdtDestroyQueueRoute |
| 5650 | 5653 | ||
| 5651 | ```c | 5654 | ```c |
| 5652 | aclError acltdtDestroyQueueRoute(const acltdtQueueRoute *route) | 5655 | aclError acltdtDestroyQueueRoute(const acltdtQueueRoute *route) |
| @@ -5685,7 +5688,7 @@ aclError acltdtDestroyQueueRoute(const acltdtQueueRoute *route) | |||
| 5685 | 5688 | ||
| 5686 | <a id="acltdtGetQueueRouteParam"></a> | 5689 | <a id="acltdtGetQueueRouteParam"></a> |
| 5687 | 5690 | ||
| 5688 | -# acltdtGetQueueRouteParam | 5691 | +## acltdtGetQueueRouteParam |
| 5689 | 5692 | ||
| 5690 | ```c | 5693 | ```c |
| 5691 | aclError acltdtGetQueueRouteParam(const acltdtQueueRoute *route, acltdtQueueRouteParamType type, size_t len, size_t *paramRetSize, void *param) | 5694 | aclError acltdtGetQueueRouteParam(const acltdtQueueRoute *route, acltdtQueueRouteParamType type, size_t len, size_t *paramRetSize, void *param) |
| @@ -5728,7 +5731,7 @@ aclError acltdtGetQueueRouteParam(const acltdtQueueRoute *route, acltdtQueueRout | |||
| 5728 | 5731 | ||
| 5729 | <a id="acltdtQueueRouteList"></a> | 5732 | <a id="acltdtQueueRouteList"></a> |
| 5730 | 5733 | ||
| 5731 | -# acltdtQueueRouteList | 5734 | +## acltdtQueueRouteList |
| 5732 | 5735 | ||
| 5733 | - **[acltdtCreateQueueRouteList](#acltdtCreateQueueRouteList)** | 5736 | - **[acltdtCreateQueueRouteList](#acltdtCreateQueueRouteList)** |
| 5734 | 5737 | ||
| @@ -5749,7 +5752,7 @@ aclError acltdtGetQueueRouteParam(const acltdtQueueRoute *route, acltdtQueueRout | |||
| 5749 | 5752 | ||
| 5750 | <a id="acltdtCreateQueueRouteList"></a> | 5753 | <a id="acltdtCreateQueueRouteList"></a> |
| 5751 | 5754 | ||
| 5752 | -# acltdtCreateQueueRouteList | 5755 | +## acltdtCreateQueueRouteList |
| 5753 | 5756 | ||
| 5754 | ```c | 5757 | ```c |
| 5755 | acltdtQueueRouteList* acltdtCreateQueueRouteList() | 5758 | acltdtQueueRouteList* acltdtCreateQueueRouteList() |
| @@ -5786,7 +5789,7 @@ acltdtQueueRouteList* acltdtCreateQueueRouteList() | |||
| 5786 | 5789 | ||
| 5787 | <a id="acltdtDestroyQueueRouteList"></a> | 5790 | <a id="acltdtDestroyQueueRouteList"></a> |
| 5788 | 5791 | ||
| 5789 | -# acltdtDestroyQueueRouteList | 5792 | +## acltdtDestroyQueueRouteList |
| 5790 | 5793 | ||
| 5791 | ```c | 5794 | ```c |
| 5792 | aclError acltdtDestroyQueueRouteList(const acltdtQueueRouteList *routeList) | 5795 | aclError acltdtDestroyQueueRouteList(const acltdtQueueRouteList *routeList) |
| @@ -5825,7 +5828,7 @@ aclError acltdtDestroyQueueRouteList(const acltdtQueueRouteList *routeList) | |||
| 5825 | 5828 | ||
| 5826 | <a id="acltdtAddQueueRoute"></a> | 5829 | <a id="acltdtAddQueueRoute"></a> |
| 5827 | 5830 | ||
| 5828 | -# acltdtAddQueueRoute | 5831 | +## acltdtAddQueueRoute |
| 5829 | 5832 | ||
| 5830 | ```c | 5833 | ```c |
| 5831 | aclError acltdtAddQueueRoute(acltdtQueueRouteList *routeList, const acltdtQueueRoute *route) | 5834 | aclError acltdtAddQueueRoute(acltdtQueueRouteList *routeList, const acltdtQueueRoute *route) |
| @@ -5865,7 +5868,7 @@ aclError acltdtAddQueueRoute(acltdtQueueRouteList *routeList, const acltdtQueueR | |||
| 5865 | 5868 | ||
| 5866 | <a id="acltdtGetQueueRoute"></a> | 5869 | <a id="acltdtGetQueueRoute"></a> |
| 5867 | 5870 | ||
| 5868 | -# acltdtGetQueueRoute | 5871 | +## acltdtGetQueueRoute |
| 5869 | 5872 | ||
| 5870 | ```c | 5873 | ```c |
| 5871 | aclError acltdtGetQueueRoute(const acltdtQueueRouteList *routeList, size_t index, acltdtQueueRoute *route) | 5874 | aclError acltdtGetQueueRoute(const acltdtQueueRouteList *routeList, size_t index, acltdtQueueRoute *route) |
| @@ -5906,7 +5909,7 @@ aclError acltdtGetQueueRoute(const acltdtQueueRouteList *routeList, size_t index | |||
| 5906 | 5909 | ||
| 5907 | <a id="acltdtGetQueueRouteNum"></a> | 5910 | <a id="acltdtGetQueueRouteNum"></a> |
| 5908 | 5911 | ||
| 5909 | -# acltdtGetQueueRouteNum | 5912 | +## acltdtGetQueueRouteNum |
| 5910 | 5913 | ||
| 5911 | ```c | 5914 | ```c |
| 5912 | size_t acltdtGetQueueRouteNum(const acltdtQueueRouteList *routeList) | 5915 | size_t acltdtGetQueueRouteNum(const acltdtQueueRouteList *routeList) |
| @@ -5945,7 +5948,7 @@ size_t acltdtGetQueueRouteNum(const acltdtQueueRouteList *routeList) | |||
| 5945 | 5948 | ||
| 5946 | <a id="acltdtQueueRouteParamType"></a> | 5949 | <a id="acltdtQueueRouteParamType"></a> |
| 5947 | 5950 | ||
| 5948 | -# acltdtQueueRouteParamType | 5951 | +## acltdtQueueRouteParamType |
| 5949 | 5952 | ||
| 5950 | ``` | 5953 | ``` |
| 5951 | typedef enum { | 5954 | typedef enum { |
| @@ -5964,7 +5967,7 @@ typedef enum { | |||
| 5964 | 5967 | ||
| 5965 | <a id="acltdtQueueRouteQueryInfo"></a> | 5968 | <a id="acltdtQueueRouteQueryInfo"></a> |
| 5966 | 5969 | ||
| 5967 | -# acltdtQueueRouteQueryInfo | 5970 | +## acltdtQueueRouteQueryInfo |
| 5968 | 5971 | ||
| 5969 | - **[acltdtCreateQueueRouteQueryInfo](#acltdtCreateQueueRouteQueryInfo)** | 5972 | - **[acltdtCreateQueueRouteQueryInfo](#acltdtCreateQueueRouteQueryInfo)** |
| 5970 | 5973 | ||
| @@ -5981,7 +5984,7 @@ typedef enum { | |||
| 5981 | 5984 | ||
| 5982 | <a id="acltdtCreateQueueRouteQueryInfo"></a> | 5985 | <a id="acltdtCreateQueueRouteQueryInfo"></a> |
| 5983 | 5986 | ||
| 5984 | -# acltdtCreateQueueRouteQueryInfo | 5987 | +## acltdtCreateQueueRouteQueryInfo |
| 5985 | 5988 | ||
| 5986 | ```c | 5989 | ```c |
| 5987 | acltdtQueueRouteQueryInfo* acltdtCreateQueueRouteQueryInfo() | 5990 | acltdtQueueRouteQueryInfo* acltdtCreateQueueRouteQueryInfo() |
| @@ -6018,7 +6021,7 @@ acltdtQueueRouteQueryInfo* acltdtCreateQueueRouteQueryInfo() | |||
| 6018 | 6021 | ||
| 6019 | <a id="acltdtDestroyQueueRouteQueryInfo"></a> | 6022 | <a id="acltdtDestroyQueueRouteQueryInfo"></a> |
| 6020 | 6023 | ||
| 6021 | -# acltdtDestroyQueueRouteQueryInfo | 6024 | +## acltdtDestroyQueueRouteQueryInfo |
| 6022 | 6025 | ||
| 6023 | ```c | 6026 | ```c |
| 6024 | aclError acltdtDestroyQueueRouteQueryInfo(const acltdtQueueRouteQueryInfo *info) | 6027 | aclError acltdtDestroyQueueRouteQueryInfo(const acltdtQueueRouteQueryInfo *info) |
| @@ -6057,7 +6060,7 @@ aclError acltdtDestroyQueueRouteQueryInfo(const acltdtQueueRouteQueryInfo *info) | |||
| 6057 | 6060 | ||
| 6058 | <a id="acltdtSetQueueRouteQueryInfo"></a> | 6061 | <a id="acltdtSetQueueRouteQueryInfo"></a> |
| 6059 | 6062 | ||
| 6060 | -# acltdtSetQueueRouteQueryInfo | 6063 | +## acltdtSetQueueRouteQueryInfo |
| 6061 | 6064 | ||
| 6062 | ```c | 6065 | ```c |
| 6063 | aclError acltdtSetQueueRouteQueryInfo(acltdtQueueRouteQueryInfo *param, acltdtQueueRouteQueryInfoParamType type, size_t len, const void *value) | 6066 | aclError acltdtSetQueueRouteQueryInfo(acltdtQueueRouteQueryInfo *param, acltdtQueueRouteQueryInfoParamType type, size_t len, const void *value) |
| @@ -6099,7 +6102,7 @@ aclError acltdtSetQueueRouteQueryInfo(acltdtQueueRouteQueryInfo *param, acltdtQu | |||
| 6099 | 6102 | ||
| 6100 | <a id="acltdtQueueRouteQueryInfoParamType"></a> | 6103 | <a id="acltdtQueueRouteQueryInfoParamType"></a> |
| 6101 | 6104 | ||
| 6102 | -# acltdtQueueRouteQueryInfoParamType | 6105 | +## acltdtQueueRouteQueryInfoParamType |
| 6103 | 6106 | ||
| 6104 | ``` | 6107 | ``` |
| 6105 | typedef enum { | 6108 | typedef enum { |
| @@ -6120,7 +6123,7 @@ typedef enum { | |||
| 6120 | 6123 | ||
| 6121 | <a id="acltdtQueueRouteQueryMode"></a> | 6124 | <a id="acltdtQueueRouteQueryMode"></a> |
| 6122 | 6125 | ||
| 6123 | -# acltdtQueueRouteQueryMode | 6126 | +## acltdtQueueRouteQueryMode |
| 6124 | 6127 | ||
| 6125 | ``` | 6128 | ``` |
| 6126 | typedef enum { | 6129 | typedef enum { |
| @@ -6140,7 +6143,7 @@ typedef enum { | |||
| 6140 | 6143 | ||
| 6141 | <a id="acltdtTensorType"></a> | 6144 | <a id="acltdtTensorType"></a> |
| 6142 | 6145 | ||
| 6143 | -# acltdtTensorType | 6146 | +## acltdtTensorType |
| 6144 | 6147 | ||
| 6145 | ``` | 6148 | ``` |
| 6146 | enum acltdtTensorType { | 6149 | enum acltdtTensorType { |
| @@ -6157,3 +6160,4 @@ enum acltdtTensorType { | |||
| 6157 | <br> | 6160 | <br> |
| 6158 | <br> | 6161 | <br> |
| 6159 | <br> | 6162 | <br> |
| 6163 | + | ||