Function: memcpy_async
|
C Prototype |
aclError aclrtMemcpyAsync(void *dst, size_t destMax, const void *src, size_t count, aclrtMemcpyKind kind, aclrtStream stream) |
|---|---|
|
Python Function |
ret = acl.rt.memcpy_async(dst, dest_max, src, count, kind, stream) |
|
Function Usage |
Copies memory. This API is asynchronous. |
|
Input Description |
dst: pointer address of the destination memory address. dest_max: int, maximum memory length of the destination memory address, in bytes. src: pointer address of the source memory address. count: int, length of the copied memory, in bytes.
kind: int, copy memory kind.
stream: int, stream ID. |
|
Return Value |
ret: int, error code.
|
|
Restrictions |
|
|
Reference |
Parent topic: Memory Management