forked from KhronosGroup/OpenCL-CTS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme-spir-v-binaries.txt
42 lines (33 loc) · 1.58 KB
/
readme-spir-v-binaries.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
To run the 2.2 conformance tests test suite for the C++ features you need
SPIR-V binaries.
If you are using a conformance package then the binaries are included in the
package. If you are using conformance tests from gitlab repositories then the
binaries need to be picked up from Khronos SVN URL mentioned below:
https://cvs.khronos.org/svn/repos/OpenCL/trunk/Khronos/spirv/spirv10_2015.11.25.zip
Alternatively you can check out and build all of the below repositories.
1. SPIRV-LLVM
LLVM with support for SPIR-V (required by clang compiler)
Repository: https://gitlab.khronos.org/opencl/SPIRV-LLVM
Branch: spec_constants
Notes: spirv-3.6.1 is a main branch with support for OpenCL C++ kernel language,
spec_constants is based on it, but it adds support for specialization constants.
2. Clang
Clang with support for OpenCL C++ kernel language
Repository: https://gitlab.khronos.org/opencl/clang
Branch: spec_constants
Notes: spirv-1.1 is a main branch with support for OpenCL C++ kernel language,
spec_constants is based on it, but it adds support for specialization constants.
3. libclcxx
OpenCL C++ Standard Library
Repository: https://gitlab.khronos.org/opencl/libclcxx
Branch: lit_tests_cl22
Notes: lit_tests_cl22 branch includes both LIT tests and changes introduced in
spec_constants branch, that is, implementation of Specialization Constants Library.
4. OpenCL 2.2 headers
OpenCL 2.2 headers
Repository: https://gitlab.khronos.org/opencl/headers
Branch: opencl22
5. OpenCL ICD (with 2.2 support)
OpenCL ICD
Repository: https://gitlab.khronos.org/opencl/icd
Branch: dev_cl22