diff --git a/README.md b/README.md index 150b5170f118..e14569fabbf3 100644 --- a/README.md +++ b/README.md @@ -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=/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=/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?).