mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 14:09:03 +00:00
* Fix Tests Assuming Online Compilation in Offline MOde * Update the list of tests to skip in offline mode. These tests need to be skipped for offline-binary mode since they make API calls that rely on a compiler being present in the runtime. - [x] Skip `get_kernel_arg_info_compatibility` since it makes calls to `clBuildProgram`. (these tests cannot be run in offline mode since: *Kernel argument information is only available if the program object associated with kernel is created with `clCreateProgramWithSource` and the program executable was built with the `-cl-kernel-arg-info` option specified in options argument to `clBuildProgram` or `clCompileProgram` .*) - [x] Skip `compiler` tests that make calls to `clCompileProgram`. These tests could still be run in offline spirv mode if there is a compiler in the driver. - [x] Use offline compilation path in `contractions` in the case that CTS is run in offline. * Avoid shadowing `error` variable Co-authored-by: Ewan Crawford <ewan@codeplay.com>