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

InexactError when getting CUDA version info #1489

Closed
carlparte opened this issue Apr 28, 2022 · 1 comment · Fixed by #1490
Closed

InexactError when getting CUDA version info #1489

carlparte opened this issue Apr 28, 2022 · 1 comment · Fixed by #1490
Labels
bug Something isn't working

Comments

@carlparte
Copy link

carlparte commented Apr 28, 2022

Describe the bug
As you can see below, when I tried to get the CUDA.versioninfo(), an "InexactError" error appeared. I don't know why

Version info

Details on Julia:

# please post the output of:
julia> versioninfo()
Julia Version 1.7.2
Commit bf53498635 (2022-02-06 15:21 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: AMD Ryzen 5 3600 6-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, znver2)

Details on CUDA:

# please post the output of:
julia> using CUDA
julia> CUDA.versioninfo()
ERROR: InexactError: trunc(UInt32, -725861)
Stacktrace:
 [1] throw_inexacterror(f::Symbol, #unused#::Type{UInt32}, val::Int64)
   @ Core ./boot.jl:612
 [2] checked_trunc_uint
   @ ./boot.jl:642 [inlined]
 [3] toUInt32
   @ ./boot.jl:726 [inlined]
 [4] UInt32
   @ ./boot.jl:766 [inlined]
 [5] VersionNumber (repeats 2 times)
   @ ./version.jl:63 [inlined]
 [6] runtime_version()
   @ CUDA ~/.julia/packages/CUDA/Uurn4/lib/cudadrv/version.jl:47
 [7] versioninfo(io::Base.TTY) (repeats 2 times)
   @ CUDA ~/.julia/packages/CUDA/Uurn4/src/utilities.jl:32
 [8] top-level scope
   @ REPL[3]:1
 [9] top-level scope
   @ ~/.julia/packages/CUDA/Uurn4/src/initialization.jl:52
@carlparte carlparte added the bug Something isn't working label Apr 28, 2022
@maleadt
Copy link
Member

maleadt commented Apr 29, 2022

That's weird. Can you check with #1490?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants