Repository navigation
Commit 21172bc
committed
GPU Metal: pass the no-fast-math flags as separate arguments
GPUCA_METAL_NO_FAST_MATH_FLAGS is a string of two flags, appended to
METAL_FLAGS as one list element, so the Metal compiler got the single
argument '-fno-fast-math -ffp-contract=off' and rejected it: with
GPUCA_DETERMINISTIC_MODE set to NO_FAST_MATH or OPTO2 the Metal kernels
did not build. Split the string first.1 parent c5d51ba commit 21172bc
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
0 commit comments