aclrtBinaryGetFunctionByEntry

Note: This API is reserved and not supported currently.

Description

Obtains the kernel function handle based on the function entry.

Prototype

aclError aclrtBinaryGetFunctionByEntry(aclrtBinHandle binHandle, uint64_t funcEntry, aclrtFuncHandle *funcHandle)

Parameters

Parameter

Input/Output

Description

binHandle

Input

Handle of the operator binary.

Call aclrtBinaryLoadFromFile or aclrtBinaryLoadFromData to obtain the operator binary handle and pass it as an input parameter.

funcEntry

Input

Keyword of the kernel function.

funcHandle

Output

Kernel function handle.

Returns

0 on success; else, failure. For details, see aclError.