aclrtGetFunctionAddr
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Obtains the start address of an operator on a device based on a kernel function handle.
The AI data processing core unit varies with products. For details about the definition and description of the core, see aclrtDevAttr.
Prototype
aclError aclrtGetFunctionAddr(aclrtFuncHandle funcHandle, void **aicAddr, void **aivAddr)
Parameters
Returns
0 on success; else, failure. For details, see aclError.
Parent topic: Kernel Loading and Execution