Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/cuda/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,11 +371,11 @@ CUresult cuMemcpyDtoHAsync_v2 ( void* dstHost, CUdeviceptr srcDevice, size_t Byt
}


CUresult cuMemcpyHtoD_v2(CUdeviceptr srcDevice, const void* dstHost, size_t ByteCount) {
CUresult cuMemcpyHtoD_v2(CUdeviceptr dstDevice, const void* srcHost, size_t ByteCount) {
// TODO: compute bytesize
LOG_DEBUG("cuMemcpyHtoD_v2,srcDevice=%llx dstHost=%p count=%lu",srcDevice,dstHost,ByteCount);
LOG_DEBUG("cuMemcpyHtoD_v2,dstDevice=%llx srcHost=%p count=%lu", dstDevice, srcHost, ByteCount);
ENSURE_RUNNING();
CUresult res = CUDA_OVERRIDE_CALL(cuda_library_entry,cuMemcpyHtoD_v2, srcDevice, dstHost, ByteCount);
CUresult res = CUDA_OVERRIDE_CALL(cuda_library_entry, cuMemcpyHtoD_v2, dstDevice, srcHost, ByteCount);
return res;
}

Expand Down
Loading