aclrtKernelArgsParaUpdate

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

Updates the value of an argument appended by the aclrtKernelArgsAppend API.

Prototype

aclError aclrtKernelArgsParaUpdate(aclrtArgsHandle argsHandle, aclrtParamHandle paramHandle, void *param, size_t paramSize)

Parameters

Parameter

Input/Output

Description

argsHandle

Input

Handle to the argument list.

paramHandle

Input

Parameter handle.

param

Input

The address of the memory where the parameter value is to be updated.

This is the host memory address.

paramSize

Input

Memory size, in bytes.

Returns

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