diff options
author | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2015-11-02 23:40:00 -0500 |
---|---|---|
committer | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2015-11-02 23:40:00 -0500 |
commit | c6d76c25cb2ac8839cf38267fb5239a2be6457af (patch) | |
tree | 5fe75d43ac956843243f393a814008c684f5235e /docs | |
parent | 51715a27da7e9c30035de816cd45f2b91286c7fc (diff) |
[SPIRV] Add processing SPIR-V metadata.
Add translation of SPIR 1.2/2.0 metadata to SPIR-V metadata
Fix OpExtension/OpSourceExtension to have one extension string instead of spaced separated multiple extension strings in each instruction.
Fix OpExecutionMode for ExecutionModeVectorTypeHint to use encoding instead of type id/string.
Fix bug about reading empty string in text format SPIR-V.
Allow llvm_spirv to use -o - for output to stdout.
Fix OpEntryPoint to add name of entry pointer function.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/SPIRVRepresentationInLLVM.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/SPIRVRepresentationInLLVM.rst b/docs/SPIRVRepresentationInLLVM.rst index 8b713e1..1320ce9 100644 --- a/docs/SPIRVRepresentationInLLVM.rst +++ b/docs/SPIRVRepresentationInLLVM.rst @@ -136,8 +136,8 @@ For example: !spirv.EntryPoint = !{!6 ,!7} !spirv.ExecutionMode = !{!8, !9} - ; 3 - OpenCL, 120 - OpenCL version 1.2, !0 - optional file id. - !0 = !{i32 3, i32 120, !1} + ; 3 - OpenCL, 12 - OpenCL version 1.2, !1 - optional file id. + !0 = !{i32 3, i32 12, !1} !1 = !{!"/tmp/opencl/program.cl"} !2 = !{!"cl_khr_fp16"} !3 = !{!"cl_khr_gl_sharing"} |