summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorYaxun (Sam) Liu <yaxun.liu@amd.com>2015-11-18 12:16:36 -0500
committerYaxun (Sam) Liu <yaxun.liu@amd.com>2015-11-18 12:16:36 -0500
commit6ceea975375b44fe0238fb30f6dffc50a9c33fb5 (patch)
treee81561e6e7b266751e71c4608fda718a9c874068 /docs
parent78070b8d7e430e5549d9856c8d0763da878e8555 (diff)
[SPIRV] Update spirv.hpp to rev 2. Change OCL version encoding.
Diffstat (limited to 'docs')
-rw-r--r--docs/SPIRVRepresentationInLLVM.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/SPIRVRepresentationInLLVM.rst b/docs/SPIRVRepresentationInLLVM.rst
index 393ffa4..2afb80b 100644
--- a/docs/SPIRVRepresentationInLLVM.rst
+++ b/docs/SPIRVRepresentationInLLVM.rst
@@ -146,8 +146,8 @@ For example:
!spirv.ExecutionMode = !{!8, !9}
!spirv.Generator = !{!10 }
- ; 3 - OpenCL, 12 - OpenCL version 1.2, !1 - optional file id.
- !0 = !{i32 3, i32 12, !1}
+ ; 3 - OpenCL_C, 102000 - OpenCL version 1.2, !1 - optional file id.
+ !0 = !{i32 3, i32 102000, !1}
!1 = !{!"/tmp/opencl/program.cl"}
!2 = !{!"cl_khr_fp16"}
!3 = !{!"cl_khr_gl_sharing"}