aclrtCmoAsync

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Description

Implements cache memory operations on the device.

Prototype

aclError aclrtCmoAsync(void *src, size_t size, aclrtCmoType cmoType, aclrtStream stream)

Command-Line Options

Parameter

Input/Output

Description

src

Input

Address of the device memory to be operated.

size

Input

Size of the device memory to be operated, in bytes.

cmoType

Input

Cache memory operation type.

Currently, only ACL_RT_CMO_TYPE_PREFETCH (memory prefetch) is supported.

stream

Input

Stream.

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.