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
When I call using oneAPI on my Linux machine without appropriate devices, I get a logging error that doesn't stop the session. This means I can have using oneAPI in my tests and the tests carry on regardless.
However on my Mac I get the logging error plus a real error:
┌ Error: No oneAPI Level Zero loader found for your platform. Currently, only Linux x86 is supported.
│ If you have a local oneAPI toolchain, you can use that; refer to the documentation for more details.
└ @ oneAPI.oneL0 ~/.julia/packages/oneAPI/CNvkW/lib/level-zero/oneL0.jl:118
ERROR: InitError: UndefVarError: `libigdrcl` not defined
Stacktrace:
[1] getproperty
@ ./Base.jl:31 [inlined]
[2] __init__()
@ oneAPI ~/.julia/packages/oneAPI/CNvkW/src/oneAPI.jl:81
[3] run_module_init(mod::Module, i::Int64)
@ Base ./loading.jl:1193
[4] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1181
[5] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
@ Base ./loading.jl:1126
[6] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
@ Base ./loading.jl:1651
[7] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2008
[8] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1882
[9] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[10] invoke_in_world
@ ./essentials.jl:923 [inlined]
[11] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1873
[12] macro expansion
@ ./loading.jl:1860 [inlined]
[13] macro expansion
@ ./lock.jl:267 [inlined]
[14] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1823
[15] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[16] invoke_in_world
@ ./essentials.jl:923 [inlined]
[17] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1816
[18] top-level scope
@ ~/.julia/packages/Metal/N2ABH/src/initialization.jl:79
during initialization of module oneAPI
Could this second error be suppressed, so that using oneAPI can run on a Mac without halting the session?
When I call
using oneAPI
on my Linux machine without appropriate devices, I get a logging error that doesn't stop the session. This means I can haveusing oneAPI
in my tests and the tests carry on regardless.However on my Mac I get the logging error plus a real error:
Could this second error be suppressed, so that
using oneAPI
can run on a Mac without halting the session?Related to #49.
The text was updated successfully, but these errors were encountered: