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

Keyword interactive kw does not exist in code_warntype, as suggested #561

Open
charleskawczynski opened this issue Mar 29, 2024 · 0 comments

Comments

@charleskawczynski
Copy link

As suggested:

Hint: catch this exception as `err` and call `code_typed(err; interactive = true)`
to introspect the erronous code with Cthulhu.jl
julia> code_typed(err; interactive = true)
ERROR: MethodError: no method matching code_typed_by_type(::Type{Tuple{Base.ExceptionStack, Vararg{Any}}}; interactive::Bool)

Closest candidates are:
  code_typed_by_type(::Type; optimize, debuginfo, world, interp) got unsupported keyword argument "interactive"
   @ Base reflection.jl:1381

Stacktrace:
 [1] kwerr(::@NamedTuple{interactive::Bool}, ::Function, ::Type)
   @ Base .\error.jl:165
 [2] #code_typed#25
   @ .\reflection.jl:1360 [inlined]
 [3] code_typed
   @ .\reflection.jl:1355 [inlined]
 [4] top-level scope
   @ REPL[4]:1
 [5] top-level scope
   @ C:\Users\kawcz\.julia\packages\CUDA\htRwP\src\initialization.jl:206

Versioninfo:

julia> versioninfo()
Julia Version 1.10.2
Commit bd47eca2c8 (2024-03-01 10:14 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 8 × Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)

julia> CUDA.versioninfo()
CUDA runtime 12.3, artifact installation
CUDA driver 12.0
Unknown NVIDIA driver

CUDA libraries:
- CUBLAS: 12.3.4
- CURAND: 10.3.4
- CUFFT: 11.0.12
- CUSOLVER: 11.5.4
- CUSPARSE: 12.2.0
- CUPTI: 21.0.0
- NVML: missing

Julia packages:
- CUDA: 5.2.0
- CUDA_Driver_jll: 0.7.0+1
- CUDA_Runtime_jll: 0.11.1+0

Toolchain:
- Julia: 1.10.2
- LLVM: 15.0.7

1 device:
  0: NVIDIA GeForce GTX 1050 (sm_61, 3.263 GiB / 4.000 GiB available)

Is this expected? Or should this issue be moved to CUDA / GPUCompiler?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant