aclGetCustomOpLibPath

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

Atlas training product

Header File

#include <register/register_base.h>

Function Usage

Obtains the path of the custom operator library.

This API is called by the internal framework and is called the internal association API. Developers do not directly call internal associated APIs.

Prototype

1
const char *aclGetCustomOpLibPath()

Parameters

None

Returns

Path of the custom operator library. Multiple paths are separated by colons (:). The paths are sorted based on the operator priority set by the user. The path with a higher priority is placed in front of the path with a lower priority.

For details about how to set the priority of custom operators, see Ascend C Operator Development.

Restrictions

None

Example

const char* path = aclGetCustomOpLibPath();