From bff206a9392677590649e507c5b19d39bf9bd389 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Wed, 14 Sep 2016 10:15:26 -0500 Subject: [PATCH] Spir-V test: use kernel with correct bitness --- test/test_wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_wrapper.py b/test/test_wrapper.py index af4b72b7..b1a23c2a 100644 --- a/test/test_wrapper.py +++ b/test/test_wrapper.py @@ -922,7 +922,7 @@ def test_spirv(ctx_factory): b_dev = cl.clrandom.rand(queue, n, np.float32) dest_dev = cl_array.empty_like(a_dev) - with open("add-vectors.spv", "rb") as spv_file: + with open("add-vectors-%d.spv" % queue.device.address_bits, "rb") as spv_file: spv = spv_file.read() prg = cl.Program(ctx, spv) -- GitLab