Commit 22e5d45
authored
fix(qudarap): exclude fake_propagate CUDA path from PRODUCTION builds (#255)
Guard the test-only `_QSim_fake_propagate` launcher and its host entry
point with `!defined(PRODUCTION)`.
In PRODUCTION builds, make `QSim::fake_propagate` fail fast on the host
side instead of compiling the CUDA path.
This avoids the CUDA 12.5.x `cicc` compile-time blow-up in `QSim.cu`
Release builds while leaving the normal runtime propagation code
unchanged and preserving fake-propagate behavior in non-PRODUCTION
builds.
Verified with:
- direct Release `nvcc` compile of `QSim.cu`
- `cmake --build /opt/eic-opticks/build --parallel --target install`
An actual fix for #571 parent bc79bc6 commit 22e5d45
3 files changed
+13
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1519 | 1519 | | |
1520 | 1520 | | |
1521 | 1521 | | |
1522 | | - | |
1523 | | - | |
| 1522 | + | |
1524 | 1523 | | |
| 1524 | + | |
1525 | 1525 | | |
1526 | 1526 | | |
1527 | 1527 | | |
| |||
1545 | 1545 | | |
1546 | 1546 | | |
1547 | 1547 | | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
1548 | 1554 | | |
1549 | 1555 | | |
1550 | 1556 | | |
| |||
1584 | 1590 | | |
1585 | 1591 | | |
1586 | 1592 | | |
| 1593 | + | |
1587 | 1594 | | |
1588 | 1595 | | |
1589 | 1596 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
| 651 | + | |
651 | 652 | | |
652 | 653 | | |
653 | 654 | | |
| |||
686 | 687 | | |
687 | 688 | | |
688 | 689 | | |
689 | | - | |
690 | | - | |
| 690 | + | |
691 | 691 | | |
692 | 692 | | |
693 | 693 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | | - | |
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
| |||
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 71 | | |
79 | 72 | | |
80 | 73 | | |
| |||
1093 | 1086 | | |
1094 | 1087 | | |
1095 | 1088 | | |
1096 | | - | |
| 1089 | + | |
1097 | 1090 | | |
1098 | | - | |
1099 | | - | |
1100 | | - | |
1101 | | - | |
1102 | | - | |
| 1091 | + | |
1103 | 1092 | | |
1104 | 1093 | | |
1105 | 1094 | | |
| |||
0 commit comments