Skip to content
New issue

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

CURAND fail to initialize, code 203 #255

Closed
GiggleLiu opened this issue Jun 28, 2020 · 2 comments
Closed

CURAND fail to initialize, code 203 #255

GiggleLiu opened this issue Jun 28, 2020 · 2 comments
Labels
bug Something isn't working cuda libraries Stuff about CUDA library wrappers. needs information Further information is requested

Comments

@GiggleLiu
Copy link
Contributor

julia> using CUDA

julia> CUDA.CURAND.RNG()
ERROR: CURANDError: initialization of CUDA failed (code 203, CURAND_STATUS_INITIALIZATION_FAILED)
Stacktrace:
 [1] throw_api_error(::CUDA.CURAND.curandStatus) at /home/leo/.julia/dev/CUDA/lib/curand/error.jl:53
 [2] macro expansion at /home/leo/.julia/dev/CUDA/lib/curand/error.jl:64 [inlined]
 [3] curandCreateGenerator(::Base.RefValue{Ptr{Nothing}}, ::CUDA.CURAND.curandRngType) at /home/leo/.julia/dev/CUDA/lib/utils/call.jl:93
 [4] CUDA.CURAND.RNG(::CUDA.CURAND.curandRngType) at /home/leo/.julia/dev/CUDA/lib/curand/random.jl:23
 [5] CUDA.CURAND.RNG() at /home/leo/.julia/dev/CUDA/lib/curand/random.jl:22
 [6] top-level scope at REPL[3]:1

(@v1.5) pkg> st CUDA
Status `~/.julia/environments/v1.5/Project.toml`
  [052768ef] CUDA v1.0.2 `~/.julia/dev/CUDA`

Environment

Julia 1.5, CUDA#master

@GiggleLiu GiggleLiu added the bug Something isn't working label Jun 28, 2020
@maleadt
Copy link
Member

maleadt commented Jul 2, 2020

Repro? Or any more details? Did this happen close to OOM? If so, #268 will help.

@maleadt maleadt added needs information Further information is requested cuda libraries Stuff about CUDA library wrappers. labels Jul 2, 2020
@GiggleLiu
Copy link
Contributor Author

Sorry for the late reply. I checked the current version v1.1. It is fixed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cuda libraries Stuff about CUDA library wrappers. needs information Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants