aclrtSnapShotProcessUnlock

Note: This API is for trial use and may be changed in later versions. It is not available in commercial products.

Applicability

Product

Supported

Atlas 350 Accelerator Card

X

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

X

Atlas inference product

X

Atlas training product

X

Description

Unlocks the current process on the device and unblocks runtime API calls.

Before calling this API, ensure that the current process is in the LOCKED or BACKED_UP state. After this API is called, the current process will transition to the RUNNING state.

Prototype

1
aclError aclrtSnapShotProcessUnlock()

Parameters

None

Returns

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