Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Spir-V test: use kernel with correct bitness
  • Loading branch information
inducer committed Sep 14, 2016
1 parent 4b88023 commit bff206a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_wrapper.py
Expand Up @@ -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)
Expand Down

0 comments on commit bff206a

Please sign in to comment.