aclrtKernelArgsAppendPlaceHolder

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Description

Sets a placeholder for a placeholder argument. The return value is the paramHandle placeholder.

If there are multiple arguments in the argument list, append the arguments in sequence. After all arguments are appended, call aclrtKernelArgsGetPlaceHolderBuffer to obtain the memory address to which the paramHandle placeholder points.

Prototype

aclError aclrtKernelArgsAppendPlaceHolder(aclrtArgsHandle argsHandle, aclrtParamHandle *paramHandle)

Parameters

Parameter

Input/Output

Description

argsHandle

Input

Handle to the argument list.

paramHandle

Output

Parameter handle.

Returns

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