update for gpu device check

This commit is contained in:
jianyuzh 2024-02-02 10:07:56 +08:00
parent fb81c0c00e
commit 3a59a81eab

View file

@ -118,7 +118,7 @@ source /opt/intel/oneapi/setvars.sh
sycl-ls
```
There should be one or more level-zero devices. Like **[ext_oneapi_level_zero:gpu:0]**.
There should be one or more level-zero devices. Please confirm that at least one GPU be present, like **[ext_oneapi_level_zero:gpu:0]**.
Output (example):
```
@ -273,7 +273,7 @@ In oneAPI command line:
sycl-ls
```
There should be one or more level-zero devices. Like **[ext_oneapi_level_zero:gpu:0]**.
There should be one or more level-zero devices. Please confirm that at least one GPU be present, like **[ext_oneapi_level_zero:gpu:0]**.
Output (example):
```
@ -452,6 +452,21 @@ Using device **0** (Intel(R) Arc(TM) A770 Graphics) as main device
Remove folder **build** and try again.
- I can **not** see **[ext_oneapi_level_zero:gpu:0]** afer install GPU driver in Linux.
Please run **sudo sycl-ls**.
If see it in result, please add video/render group to your ID:
```
sudo usermod -aG render username
sudo usermod -aG video username
```
Then **relogin**.
If no see it, please check the installation GPU steps again.
## Todo
- Support multiple cards.