Commit 2bd78ba
committed
Use realT(0) instead of literal 0.0
Literal 0.0 is interpreted as double(0) causing kernel build error on devices
without fp64 support.1 parent 5ebd6c3 commit 2bd78ba
File tree
1 file changed
+1
-1
lines changed- dpctl/tensor/libtensor/include/kernels/elementwise_functions
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments