Skip to content

Commit

Permalink
Add SPIR-V binaries for OpenCL C++ tests.
Browse files Browse the repository at this point in the history
Addresses issue #1.
  • Loading branch information
kepatil committed Jul 25, 2017
1 parent 2821bf1 commit 252b514
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.7z filter=lfs diff=lfs merge=lfs -text
15 changes: 9 additions & 6 deletions readme-spir-v-binaries.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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
Branch: dev_cl22
3 changes: 3 additions & 0 deletions test_conformance/clcpp/spirv10_2016.04.27.7z
Git LFS file not shown

0 comments on commit 252b514

Please sign in to comment.