Files
OpenCL-CTS/test_conformance/spirv_new
Stuart Brady 9be570cdf0 Refactor setting of compilation mode and cache mode
This change refactors the setting of the compilation mode, so that
instead of using a 'gOfflineCompiler' bool together with a
'gOfflineCompilerOutputType' enum, a single 'gCompilationMode' enum
is used.  The default value for gCompilationMode is 'kOnline', which
is equivalent to the previous defaulting of gOfflineCompiler to false.

In addition, it refactors the setting of the compilation cache mode,
so that instead of the 'gForceSpirVCache' and 'gForceSpirVGenerate'
bools, a single 'gCompilationCacheMode' enum is used.  The default
value for gCompilationCacheMode is 'kCacheModeCompileIfAbsent', which
is equivalent to the previous defaulting of both booleans to false.
2019-07-08 11:33:50 +01:00
..
2019-04-15 14:52:29 +01:00

test_conformance/spirv_new README
==================================

The text versions of the spirv files are present in `conformance-tests/test_conformance/spriv_new/spirv_txt`.
These text files have been used to generate the binaries in `spirv_bin` using the assembler from `spirv-tools`.

The absolute path to `spirv_bin` needs to be passed after `-ILPath` token for the test to find the SPIRV binaries.

An example invocation looks like the following:

```
./test_conformance/spirv_new/test_conformance_spirv_new -ILPath /home/user/workspace/conformance-tests/test_conformance/spirv_new/spirv_bin/ [other options]
```