aclrtCmoAsync
The
The
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.
Parent topic: Memory Management