Skip to content
Snippets Groups Projects
Commit fd60115e authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Merge branch 'fix-spirv-skipping' into 'main'

Fix skipping of SPIR-V test for Nvidia driver

See merge request !137
parents c4db57ea 85d96637
No related branches found
No related tags found
1 merge request!137Fix skipping of SPIR-V test for Nvidia driver
Pipeline #198684 passed with warnings
......@@ -977,10 +977,8 @@ def test_spirv(ctx_factory):
pytest.skip("SPIR-V program creation only available "
"in OpenCL 2.1 and higher")
if queue.device.platform.name == "Portable Computing Language":
# I'm not sure this is universal, but pocl 1.7 seems to use it.
if "cl_khr_spirv" not in queue.device.extensions.split():
pytest.skip("SPIR-V program creation not supported by device")
if not queue.device.il_version:
pytest.skip("SPIR-V program creation not supported by device")
n = 50000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment