GetUserData

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

x

Atlas inference products

x

Atlas training products

x

Function Description

Obtains user data. This function is called by Proc.

Prototype

1
int32_t GetUserData(void *data, size_t size, size_t offset = 0U) const

Command-Line Options

Parameter

Input/Output

Description

data

Input/Output

Pointer to the user data.

size

Input

Length of the user data. Value range: (0, 64].

offset

Input

Offset of the user data, which must comply with the following restriction:

[0, 64), size + offset <= 64

Returns

Troubleshooting

None

Constraints

None