File tree Expand file tree Collapse file tree 2 files changed +38
-38
lines changed
numba_dpex/tests/dpjit_tests/parfors Expand file tree Collapse file tree 2 files changed +38
-38
lines changed Original file line number Diff line number Diff line change 14
14
get_float_dtypes ,
15
15
get_int_dtypes ,
16
16
has_opencl_gpu ,
17
+ is_windows ,
17
18
num_required_arguments ,
18
19
)
19
20
@@ -316,7 +317,7 @@ def parfor_not_(a):
316
317
}
317
318
318
319
319
- if has_opencl_gpu ():
320
+ if has_opencl_gpu () or is_windows () :
320
321
unsupported_funcs |= {parfor_ipow }
321
322
322
323
Original file line number Diff line number Diff line change 60
60
op for op in all_ufuncs if num_required_arguments (getattr (dpnp , op )) == 2
61
61
}
62
62
63
- if has_opencl_gpu ():
64
- float_ops |= {
65
- "copysign" ,
66
- "divide" ,
67
- "hypot" ,
68
- "power" ,
69
- "true_divide" ,
70
- "arccos" ,
71
- "arccosh" ,
72
- "arcsin" ,
73
- "arcsinh" ,
74
- "arctan" ,
75
- "arctanh" ,
76
- "ceil" ,
77
- "cos" ,
78
- "cosh" ,
79
- "deg2rad" ,
80
- "degrees" ,
81
- "erf" ,
82
- "exp" ,
83
- "exp2" ,
84
- "expm1" ,
85
- "fabs" ,
86
- "floor" ,
87
- "log" ,
88
- "log10" ,
89
- "log1p" ,
90
- "log2" ,
91
- "rad2deg" ,
92
- "radians" ,
93
- "sin" ,
94
- "sinh" ,
95
- "sqrt" ,
96
- "tan" ,
97
- "tanh" ,
98
- "trunc" ,
99
- }
63
+ float_ops |= {
64
+ "copysign" ,
65
+ "divide" ,
66
+ "hypot" ,
67
+ "power" ,
68
+ "true_divide" ,
69
+ "arccos" ,
70
+ "arccosh" ,
71
+ "arcsin" ,
72
+ "arcsinh" ,
73
+ "arctan" ,
74
+ "arctanh" ,
75
+ "ceil" ,
76
+ "cos" ,
77
+ "cosh" ,
78
+ "deg2rad" ,
79
+ "degrees" ,
80
+ "erf" ,
81
+ "exp" ,
82
+ "exp2" ,
83
+ "expm1" ,
84
+ "fabs" ,
85
+ "floor" ,
86
+ "log" ,
87
+ "log10" ,
88
+ "log1p" ,
89
+ "log2" ,
90
+ "rad2deg" ,
91
+ "radians" ,
92
+ "sin" ,
93
+ "sinh" ,
94
+ "sqrt" ,
95
+ "tan" ,
96
+ "tanh" ,
97
+ "trunc" ,
98
+ }
100
99
101
100
int_dtypes = get_int_dtypes ()
102
101
float_dtypes = get_float_dtypes (no_float16 = True )
You can’t perform that action at this time.
0 commit comments