diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..5299c47e4c --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.7z filter=lfs diff=lfs merge=lfs -text diff --git a/readme-spir-v-binaries.txt b/readme-spir-v-binaries.txt index 1b6df9bc07..91f29aba2c 100644 --- a/readme-spir-v-binaries.txt +++ b/readme-spir-v-binaries.txt @@ -1,14 +1,17 @@ -To run the 2.2 conformance tests test suite for the C++ features you need need +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: +package. If you are using conformance tests from git repositories then the +binaries need to be picked up using LFS: -https://cvs.khronos.org/svn/repos/OpenCL/trunk/Khronos/spirv/spirv10_2015.11.25.zip +1. Setup LFS by following instructions at https://git-lfs.github.com/ +2. The SPIR-V binaries can then be picked up from test_conformance/clcpp/spirv*.7z -Alternatively you can check out and build all of the below repositories. +Alternatively you can check out and build all of the below repositories +manually or use https://github.com/KhronosGroup/OpenCL-CTS-Framework which will +do it for you. 1. SPIRV-LLVM LLVM with support for SPIR-V (required by clang compiler) @@ -39,4 +42,4 @@ Branch: opencl22 5. OpenCL ICD (with 2.2 support) OpenCL ICD Repository: https://gitlab.khronos.org/opencl/icd -Branch: dev_cl22 \ No newline at end of file +Branch: dev_cl22 diff --git a/test_conformance/clcpp/spirv10_2016.04.27.7z b/test_conformance/clcpp/spirv10_2016.04.27.7z new file mode 100644 index 0000000000..306be24308 --- /dev/null +++ b/test_conformance/clcpp/spirv10_2016.04.27.7z @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe4f34d616ed7ef70e870c22078f60655f68b0c5191c8d8b9d045dd0e7390bc2 +size 5529152