AsyncCopyHostToDevice asynchronously copies the host buffer to the device buffer on the specified stream.
( dst, src unsafe.Pointer, bytes int, stream unsafe.Pointer, device int)
| 119 | // AsyncCopyHostToDevice asynchronously copies the host buffer to the device |
| 120 | // buffer on the specified stream. |
| 121 | func AsyncCopyHostToDevice( |
| 122 | dst, src unsafe.Pointer, bytes int, stream unsafe.Pointer, device int) { |
| 123 | doCGoCall(func() C.CGoCallResHandle { |
| 124 | return C.AsyncCopyHostToDevice(dst, src, C.size_t(bytes), stream, C.int(device)) |
| 125 | }) |
| 126 | } |
| 127 | |
| 128 | // AsyncCopyDeviceToDevice asynchronously copies the src device buffer to the |
| 129 | // dst device buffer buffer on the specified stream. |
no test coverage detected