summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorYang Rong <rong.r.yang@intel.com>2017-02-08 12:52:55 +0800
committerYang Rong <rong.r.yang@intel.com>2017-02-10 18:18:51 +0800
commitb875d0dc3a6e0ed0f48c473ca96e66066f3dc534 (patch)
treed34db5807ecd6973608062381d94c81edad44659 /docs
parentc2dd07e788f7747b9ba841c9a50fcb2a74f22f85 (diff)
downloadbeignet-b875d0dc3a6e0ed0f48c473ca96e66066f3dc534.tar.gz
CMAKE: if user disable ICD support, must pass cmake option explicitly.
Also update readme aoubt ocl-icd section. Signed-off-by: Yang Rong <rong.r.yang@intel.com> Reviewed-by: Pan Xiuli <xiuli.pan@intel.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/Beignet.mdwn3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/Beignet.mdwn b/docs/Beignet.mdwn
index 709d7c86..3f3e02e4 100644
--- a/docs/Beignet.mdwn
+++ b/docs/Beignet.mdwn
@@ -29,7 +29,8 @@ two more packages (the following package name is for Ubuntu):
- ocl-icd-libopencl1
If you don't want to enable ICD, or your system doesn't have ICD OpenCL support,
-you can still link to the beignet OpenCL library. You can find the beignet/libcl.so
+you must explicitly disable ICD support by running cmake with option `-DOCLICD_COMPAT=0`
+then you can still link to the beignet OpenCL library. You can find the beignet/libcl.so
in your system's library installation directories.
Note that the compiler depends on LLVM (Low-Level Virtual Machine project), and the