You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After compiling an app which uses CUDA.jl and moving to another machine I get
./test_comp/bin/TestCUDA
fatal: error thrown and no exception handler available.
InitError(mod=:GPUCompiler, error=ErrorException("type Nothing has no field major"))
ijl_errorf at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/rtutils.c:77
ijl_has_no_field_error at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/rtutils.c:137
getproperty at ./Base.jl:37
__init__ at /tmp/TestCUDA/xxx/packages/GPUCompiler/U36Ed/src/GPUCompiler.jl:64
jfptr___init___56021.clone_1 at /solvers/test_comp/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2758 [inlined]
ijl_apply_generic at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/gf.c:2940
jl_apply at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/julia.h:1880 [inlined]
jl_module_run_initializer at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/toplevel.c:75
_finish_julia_init at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/init.c:855
julia_init at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/init.c:804
ijl_init_with_image at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/jlapi.c:66 [inlined]
ijl_init_with_image at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/jlapi.c:55
ijl_init at /cache/build/builder-amdci4-4/julialang/julia-release-1-dot-9/src/jlapi.c:82
main at ./test_comp/bin/TestCUDA (unknown line)
unknown function (ip: 0x146198f87d8f)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_start at ./test_comp/bin/TestCUDA (unknown line)
MWE
Project.toml
name = "TestCUDA"
uuid = "721d7c47-4bfd-4d43-ae95-5398a80267cb"
version = "0.1.0"
[deps]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
src/TestCUDA.jl
module TestCUDA
using CUDA
functionjulia_main()::Cint
a = CUDA.rand(100, 100)
a * a
return0endend# module TestCUDA
Launch a clean instance of julia with JULIA_DEPOT_PATH=tmp julia, then install PackageCompiler and build app
After compiling an app which uses CUDA.jl and moving to another machine I get
MWE
Project.toml
src/TestCUDA.jl
Launch a clean instance of julia with
JULIA_DEPOT_PATH=tmp julia
, then install PackageCompiler and build appOutput of
versioninfo()
The text was updated successfully, but these errors were encountered: