aclrtcDestroyProg

Product Support

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

x

Atlas inference product's AI Core

x

Atlas inference product's Vector Core

x

Atlas training products

x

Function

Destroys the instance of a compiler.

Prototype

1
aclError aclrtcDestroyProg(aclrtcProg *prog)

Parameters

Table 1 API parameters

Parameter

Input/Output

Description

prog

Input

Runtime handle of the compiler.

Returns

aclError is of the int type. For details, see RTC Error Codes.

Restrictions

None

Example

1
2
aclrtcProg prog;
aclError result = aclrtcDestroyProg(&prog);