|
37 | 37 | #define RANDOM_ERROR |
38 | 38 | //#define RANDOM_ERROR || rand() % 500 == 1 |
39 | 39 |
|
40 | | -#define GPUCA_GPUReconstructionUpdateDefaults() \ |
41 | | - if (mProcessingSettings.trackletConstructorInPipeline < 0) { \ |
42 | | - mProcessingSettings.trackletConstructorInPipeline = GPUCA_CONSTRUCTOR_IN_PIPELINE; \ |
43 | | - } \ |
44 | | - if (mProcessingSettings.trackletSelectorInPipeline < 0) { \ |
45 | | - mProcessingSettings.trackletSelectorInPipeline = GPUCA_SELECTOR_IN_PIPELINE; \ |
46 | | - } \ |
47 | | - if (mProcessingSettings.trackletSelectorSlices < 0) { \ |
48 | | - mProcessingSettings.trackletSelectorSlices = GPUCA_TRACKLET_SELECTOR_SLICE_COUNT; \ |
49 | | - } \ |
50 | | - if (mProcessingSettings.alternateBorderSort < 0) { \ |
51 | | - mProcessingSettings.alternateBorderSort = GPUCA_ALTERNATE_BORDER_SORT; \ |
52 | | - } \ |
53 | | - if (mProcessingSettings.mergerSortTracks < 0) { \ |
54 | | - mProcessingSettings.mergerSortTracks = GPUCA_SORT_BEFORE_FIT; \ |
55 | | - } \ |
56 | | - if (param().rec.tpc.loopInterpolationInExtraPass < 0) { \ |
57 | | - param().rec.tpc.loopInterpolationInExtraPass = GPUCA_MERGER_SPLIT_LOOP_INTERPOLATION; \ |
58 | | - } \ |
59 | | - if (mProcessingSettings.tpcCompressionGatherModeKernel < 0) { \ |
60 | | - mProcessingSettings.tpcCompressionGatherModeKernel = GPUCA_COMP_GATHER_KERNEL; \ |
61 | | - } \ |
62 | | - if (mProcessingSettings.tpcCompressionGatherMode < 0) { \ |
63 | | - mProcessingSettings.tpcCompressionGatherMode = GPUCA_COMP_GATHER_MODE; \ |
| 40 | +#define GPUCA_GPUReconstructionUpdateDefaults() \ |
| 41 | + if (mProcessingSettings.trackletConstructorInPipeline < 0) { \ |
| 42 | + mProcessingSettings.trackletConstructorInPipeline = GPUCA_CONSTRUCTOR_IN_PIPELINE; \ |
| 43 | + } \ |
| 44 | + if (mProcessingSettings.trackletSelectorInPipeline < 0) { \ |
| 45 | + mProcessingSettings.trackletSelectorInPipeline = GPUCA_SELECTOR_IN_PIPELINE; \ |
| 46 | + } \ |
| 47 | + if (mProcessingSettings.trackletSelectorSlices < 0) { \ |
| 48 | + mProcessingSettings.trackletSelectorSlices = GPUCA_TRACKLET_SELECTOR_SLICE_COUNT; \ |
| 49 | + } \ |
| 50 | + if (mProcessingSettings.alternateBorderSort < 0) { \ |
| 51 | + mProcessingSettings.alternateBorderSort = GPUCA_ALTERNATE_BORDER_SORT; \ |
| 52 | + } \ |
| 53 | + if (mProcessingSettings.mergerSortTracks < 0) { \ |
| 54 | + mProcessingSettings.mergerSortTracks = GPUCA_SORT_BEFORE_FIT; \ |
| 55 | + } \ |
| 56 | + if (param().rec.tpc.looperInterpolationInExtraPass < 0) { \ |
| 57 | + param().rec.tpc.looperInterpolationInExtraPass = GPUCA_MERGER_SPLIT_LOOP_INTERPOLATION; \ |
| 58 | + } \ |
| 59 | + if (mProcessingSettings.tpcCompressionGatherModeKernel < 0) { \ |
| 60 | + mProcessingSettings.tpcCompressionGatherModeKernel = GPUCA_COMP_GATHER_KERNEL; \ |
| 61 | + } \ |
| 62 | + if (mProcessingSettings.tpcCompressionGatherMode < 0) { \ |
| 63 | + mProcessingSettings.tpcCompressionGatherMode = GPUCA_COMP_GATHER_MODE; \ |
64 | 64 | } |
65 | 65 |
|
66 | 66 | #endif |
0 commit comments