You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wrong para names: CUdeviceptr srcDevice, const void* dstHost, size_t ByteCount
Para names in docs from NVIDIA: CUdeviceptr dstDevice, const void* srcHost, size_t ByteCount
According to function name, host is src and device is dst.
The text was updated successfully, but these errors were encountered:
In src/cuda/memory.c
CUresult hacked_cuMemcpyHtoD_v2(CUdeviceptr srcDevice, const void* dstHost, size_t ByteCount) {
// TODO: compute bytesize
LOG_DEBUG("cuMemcpyHtoD_v2,srcDevice=%llx dstHost=%p count=%lu",srcDevice,dstHost,ByteCount);
ENSURE_RUNNING();
CUresult res = CUDA_OVERRIDE_CALL(cuda_library_entry,cuMemcpyHtoD_v2, srcDevice, dstHost, ByteCount);
return res;
}
Wrong para names: CUdeviceptr srcDevice, const void* dstHost, size_t ByteCount
Para names in docs from NVIDIA: CUdeviceptr dstDevice, const void* srcHost, size_t ByteCount
According to function name, host is src and device is dst.
The text was updated successfully, but these errors were encountered: