Skip to content

Commit

Permalink
Some test fixes for Beignet
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Dec 9, 2014
1 parent 8553186 commit 2960fa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_array.py
Expand Up @@ -148,7 +148,7 @@ def test_mix_complex(ctx_factory):

err = la.norm(host_result-dev_result)/la.norm(host_result)
print(err)
correct = err < 1e-5
correct = err < 1e-4
if not correct:
print(host_result)
print(dev_result)
Expand Down Expand Up @@ -724,7 +724,7 @@ def test_meshmode_view(ctx_factory):
queue = cl.CommandQueue(context)

n = 2
result = cl.array.empty(queue, (2, n*6), np.float64)
result = cl.array.empty(queue, (2, n*6), np.float32)

def view(z):
return z[..., n*3:n*6].reshape(z.shape[:-1] + (n, 3))
Expand Down

0 comments on commit 2960fa1

Please sign in to comment.