Check/mention permissions in initialization error message
- Dominant language
- Julia
- Stars
- 215
- Forks
- 37
- Avg merge
- 10h 47m
- Merged PRs (30d)
- 14
Description
I am using a hardware which seems to be [supported](https://github.com/intel/compute-runtime#supported-platforms) (Processor with code name Coffee Lake):
```julia
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: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, skylake)
Environment:
JULIA_NUM_THREADS = 4
JULIA_NUM_PRECOMPILE_TASKS = 8
```
But I am getting the following error while trying to use oneAPI:
```julia
julia> using oneAPI
┌ Error: No compatible oneAPI driver implementation found.
│ Your hardware probably is not supported by any oneAPI driver.
│
│ oneAPI.jl currently only supports the Intel Compute runtime,
│ consult their README for a list of compatible hardware:
│ https://github.com/intel/compute-runtime#supported-platforms
└ @ oneAPI.oneL0 ~/.julia/packages/oneAPI/BmdFb/lib/level-zero/oneL0.jl:95
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading lib/level-zero/oneL0.jl around line 95, where the initialization error is reported. Check how permission failures are distinguished from unsupported hardware, then update the diagnostic so it mentions permissions when applicable and verify the resulting error message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100