mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
# Conflicts: # .travis.yml # CMakeLists.txt # CMakeVendor.txt # README.md # build_android.py # build_lnx.sh # build_win.bat # readme-spir-v-binaries.txt # test_common/harness/kernelHelpers.c # test_common/harness/kernelHelpers.h # test_conformance/CMakeLists.txt # test_conformance/opencl_conformance_tests_21_full_spirv.csv # test_conformance/opencl_conformance_tests_21_legacy_wimpy.csv # test_conformance/opencl_conformance_tests_full.csv # test_conformance/opencl_conformance_tests_full_no_math_or_conversions.csv # test_conformance/opencl_conformance_tests_quick.csv # test_conformance/run_conformance.py
42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
To run the conformance tests 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
|