1313
1414class TestNumpy_bit_twiddling_functions (DPPYTestCase ):
1515 def test_bitwise_and (self ):
16- @njit (parallel = {'spirv ' :True })
16+ @njit (parallel = {'offload ' :True })
1717 def f (a , b ):
1818 c = np .bitwise_and (a , b )
1919 return c
@@ -27,7 +27,7 @@ def f(a, b):
2727
2828
2929 def test_bitwise_or (self ):
30- @njit (parallel = {'spirv ' :True })
30+ @njit (parallel = {'offload ' :True })
3131 def f (a , b ):
3232 c = np .bitwise_or (a , b )
3333 return c
@@ -41,7 +41,7 @@ def f(a, b):
4141
4242
4343 def test_bitwise_xor (self ):
44- @njit (parallel = {'spirv ' :True })
44+ @njit (parallel = {'offload ' :True })
4545 def f (a , b ):
4646 c = np .bitwise_xor (a , b )
4747 return c
@@ -55,7 +55,7 @@ def f(a, b):
5555
5656
5757 def test_bitwise_not (self ):
58- @njit (parallel = {'spirv ' :True })
58+ @njit (parallel = {'offload ' :True })
5959 def f (a ):
6060 c = np .bitwise_not (a )
6161 return c
@@ -68,7 +68,7 @@ def f(a):
6868
6969
7070 def test_invert (self ):
71- @njit (parallel = {'spirv ' :True })
71+ @njit (parallel = {'offload ' :True })
7272 def f (a ):
7373 c = np .invert (a )
7474 return c
@@ -81,7 +81,7 @@ def f(a):
8181
8282
8383 def test_left_shift (self ):
84- @njit (parallel = {'spirv ' :True })
84+ @njit (parallel = {'offload ' :True })
8585 def f (a , b ):
8686 c = np .left_shift (a , b )
8787 return c
@@ -95,7 +95,7 @@ def f(a, b):
9595
9696
9797 def test_right_shift (self ):
98- @njit (parallel = {'spirv ' :True })
98+ @njit (parallel = {'offload ' :True })
9999 def f (a , b ):
100100 c = np .right_shift (a , b )
101101 return c
0 commit comments