Skip to content

Commit

Permalink
Use float32 in test ufuncs
Browse files Browse the repository at this point in the history
  • Loading branch information
ZzEeKkAa committed Jan 23, 2024
1 parent 186170d commit 7aac67c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion numba_dpex/tests/kernel_tests/test_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@dpex.func
def g(a):
return a + 1
return a + dpnp.float32(1)


@dpex.kernel
Expand Down
2 changes: 1 addition & 1 deletion numba_dpex/tests/kernel_tests/test_func_specialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


def increment(a):
return a + 1
return a + dpnp.float32(1)


def test_basic():
Expand Down

0 comments on commit 7aac67c

Please sign in to comment.