Files
OpenCL-CTS/test_conformance/spirv_new
Harald van Dijk c7b682f12a spirv_new: fix test_decorate. (#1980)
test_decorate was checking for half-precision NAN incorrectly, calling
cl_half_from_float where cl_half_to_float was intended, causing a wrong
expected result.

test_decorate was also printing the expected and actual results
reversed, printing "got -1, want 0", when our implementation already
returned 0.
2024-06-25 09:47:55 -07:00
..
2024-01-30 09:14:40 -08:00

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

The text versions of the spirv files are present in `conformance-tests/test_conformance/spriv_new/spirv_asm`.
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 `--spirv-binaries-path` token for the test to find the SPIRV binaries.

An example invocation looks like the following:

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