---
title: aclGetCustomOpLibPath
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendgraphapi/atlasgeapi_07_0393.html
sourcePath: /source/zh/canncommercial/900/API/ascendgraphapi/atlasgeapi_07_0393.html
indexId: 1f6b6ed73697dbeeb0bf49379372e0b2f755d794d4da9d4d881cf62772304f3a72
---
# aclGetCustomOpLibPath

#### 产品支持情况

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


#### 头文件

#include <register/register_base.h>


#### 功能说明

获取自定义算子库的路径。

该接口为内部框架会调用的接口，称之为内部关联接口。开发者不会直接调用内部关联接口，无需关注。


#### 函数原型

```
const char *aclGetCustomOpLibPath()
```


#### 参数说明

无


#### 返回值说明

返回自定义算子库的路径。多个路径之间用英文冒号分隔，路径已按照用户设置的算子优先级顺序排列好，优先级越高的位置越靠前。

关于自定义算子的优先级设置请参考算子动态库编译(https://www.hiascend.comdocument/detail/zh/canncommercial/900/programug/Ascendcopdevg/atlas_ascendc_10_00012.html)。


#### 约束说明

无


#### 调用示例

```
const char* path = aclGetCustomOpLibPath();
```
