aclGetCompileoptSize

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

Atlas inference product

Atlas training product

Function Usage

Obtains the size of the memory for storing compilation option values.

You can call this API to get the memory size. You need to allocate memory for saving the values of compilation options before calling aclGetCompileopt.

Prototype

1
size_t aclGetCompileoptSize(aclCompileOpt opt)

Parameters

Parameter

Input/Output

Description

opt

Input

Compilation option. For details about the type definition, see aclCompileOpt.

Returns

Returns the size of the memory for storing compilation option values, in bytes.