We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/coreylowman/dfdx/blob/9a208d928b92dd77d4b2fa79144bdc8b872aa7f0/src/tensor/cuda/device.rs#L94C2-L94C2
let workspace = Arc::new(Mutex::new(dev.alloc_zeros::<u8>(0)?));
On my old GTX 960, it would cause panic with the below error.
Driver(DriverError(CUDA_ERROR_INVALID_VALUE, "invalid argument"))
I have installed the Nvidia 535 driver and Cuda Toolkit 12.2.0, which is mostly recent.
Replace 0 with a non-zero value will fix it.
0
Maybe the old card doesn't support alloc zero size memory.
The text was updated successfully, but these errors were encountered:
#870 allocate 1 byte for workspace instead of 0
e08e312
#870 allocate 1 byte for workspace instead of 0 (#876)
7ba3a8b
Successfully merging a pull request may close this issue.
https://github.com/coreylowman/dfdx/blob/9a208d928b92dd77d4b2fa79144bdc8b872aa7f0/src/tensor/cuda/device.rs#L94C2-L94C2
On my old GTX 960, it would cause panic with the below error.
I have installed the Nvidia 535 driver and Cuda Toolkit 12.2.0, which is mostly recent.
Replace
0
with a non-zero value will fix it.Maybe the old card doesn't support alloc zero size memory.
The text was updated successfully, but these errors were encountered: