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
We only lazily initialize when initializing the task-local state, not when e.g. calling cuDeviceGetCount. That can result in bad error reporting:
cuDeviceGetCount
julia> using CUDA julia> devices() Error showing value of type CUDA.DeviceIterator: ERROR: UndefVarError: `libcuda` not defined Stacktrace: [1] macro expansion @ ~/.julia/packages/CUDA/YIj5X/lib/cudadrv/libcuda.jl:3090 [inlined] [2] #151 @ ~/.julia/packages/CUDA/YIj5X/lib/utils/call.jl:27 [inlined] [3] check(f::CUDA.var"#151#152"{Base.RefValue{Int32}}) @ CUDA ~/.julia/packages/CUDA/YIj5X/lib/cudadrv/libcuda.jl:32 [4] cuDeviceGetCount(count::Base.RefValue{Int32}) @ CUDA ~/.julia/packages/CUDA/YIj5X/lib/utils/call.jl:26 [5] ndevices @ ~/.julia/packages/CUDA/YIj5X/lib/cudadrv/devices.jl:159 [inlined] [6] length @ ~/.julia/packages/CUDA/YIj5X/lib/cudadrv/devices.jl:143 [inlined]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We only lazily initialize when initializing the task-local state, not when e.g. calling
cuDeviceGetCount
. That can result in bad error reporting:The text was updated successfully, but these errors were encountered: