Update README

This commit is contained in:
zhoujing 2023-02-28 12:37:35 +08:00
parent 60a504f481
commit d5b49705f8
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ You can dive into `build-ventus.sh` file to see the detailed information about b
### 3: Bridge icd loader
Run `export LD_LIBRARY_PATH=<path_to>/ventus-llvm/install/lib` to tell OpenCL application to use your own built `libOpenCL.so`, also to correctly locate LLVM shared libraries
Run `export OCL_ICD_VENDORS=<path_to>/libpocl.so` to tell ocl icd loader where the icd driver is.
Finally, run `export POCL_DEVICES="ventus"` to tell pocl driver which device is available(should we set ventus as default device?).