Skip to content

Commit cb066e5

Browse files
authored
Merge branch 'dev' into pr13665
2 parents ed328b5 + f56b4f8 commit cb066e5

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

GPU/GPUTracking/Base/GPUReconstructionCPU.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,9 @@ int32_t GPUReconstructionCPU::RunChains()
216216

217217
timerTotal.Start();
218218
if (mProcessingSettings.doublePipeline) {
219-
if (EnqueuePipeline()) {
220-
return 1;
219+
int32_t retVal = EnqueuePipeline();
220+
if (retVal) {
221+
return retVal;
221222
}
222223
} else {
223224
if (mThreadId != GetThread()) {

GPU/GPUTracking/Definitions/GPUSettingsList.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ AddOptionRTC(extraClusterErrorSplitPadSharedSingleY2, float, 0.03f, "", 0, "Addi
8989
AddOptionRTC(extraClusterErrorFactorSplitPadSharedSingleY2, float, 3.0f, "", 0, "Multiplicative extra cluster error for Y2 if splitpad, shared, or single set")
9090
AddOptionRTC(extraClusterErrorSplitTimeSharedSingleZ2, float, 0.03f, "", 0, "Additive extra cluster error for Z2 if splittime, shared, or single set")
9191
AddOptionRTC(extraClusterErrorFactorSplitTimeSharedSingleZ2, float, 3.0f, "", 0, "Multiplicative extra cluster error for Z2 if splittime, shared, or single set")
92-
AddOptionArray(errorsCECrossing, float, 5, (0.f, 0.f, 0.f, 0.f, 0.f), "", 0, "Extra errors to add to track when crossing CE, depending on addErrorsCECrossing") // BUG: CUDA cannot yet hand AddOptionArrayRTC
92+
AddOptionArray(errorsCECrossing, float, 5, (0.f, 0.f, 0.f, 0.f, 0.f), "", 0, "Extra errors to add to track when crossing CE, depending on addErrorsCECrossing") // BUG: CUDA cannot yet handle AddOptionArrayRTC
9393
AddOptionRTC(globalTrackingYRangeUpper, float, 0.85f, "", 0, "Inner portion of y-range in slice that is not used in searching for global track candidates")
9494
AddOptionRTC(globalTrackingYRangeLower, float, 0.85f, "", 0, "Inner portion of y-range in slice that is not used in searching for global track candidates")
9595
AddOptionRTC(trackFollowingYFactor, float, 4.f, "", 0, "Weight of y residual vs z residual in tracklet constructor")

GPU/GPUTracking/Global/GPUChainTrackingDebugAndProfiling.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ void GPUChainTracking::SanityCheck()
302302
void GPUChainTracking::RunTPCClusterFilter(o2::tpc::ClusterNativeAccess* clusters, std::function<o2::tpc::ClusterNative*(size_t)> allocator, bool applyClusterCuts)
303303
{
304304
GPUTPCClusterFilter clusterFilter(*clusters);
305-
o2::tpc::ClusterNative* outputBuffer;
305+
o2::tpc::ClusterNative* outputBuffer = nullptr;
306306
for (int32_t iPhase = 0; iPhase < 2; iPhase++) {
307307
uint32_t countTotal = 0;
308308
for (uint32_t iSector = 0; iSector < GPUCA_NSLICES; iSector++) {

GPU/Workflow/src/GPUWorkflowSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ void GPURecoWorkflowSpec::run(ProcessingContext& pc)
851851
}
852852
createEmptyOutput = !mConfParam->partialOutputForNonFatalErrors;
853853
} else {
854-
throw std::runtime_error("tracker returned error code " + std::to_string(retVal));
854+
throw std::runtime_error("GPU Reconstruction error: error code " + std::to_string(retVal));
855855
}
856856
}
857857

prodtests/full-system-test/aggregator-workflow.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,8 @@ fi
295295

296296
# TPC IDCs and SAC
297297
crus="0-359" # to be used with $AGGREGATOR_TASKS == TPC_IDCBOTH_SAC or ALL
298-
lanesFactorize=10
298+
lanesFactorize=${O2_TPC_IDC_FACTORIZE_NLANES:-10}
299+
threadFactorize=${O2_TPC_IDC_FACTORIZE_NTHREADS:-8}
299300
nTFs=$((1000 * 128 / ${NHBPERTF}))
300301
nTFs_SAC=$((1000 * 128 / ${NHBPERTF}))
301302
nBuffer=$((100 * 128 / ${NHBPERTF}))
@@ -309,7 +310,7 @@ if [[ "${DISABLE_IDC_PAD_MAP_WRITING:-}" == 1 ]]; then TPC_WRITING_PAD_STATUS_MA
309310
if ! workflow_has_parameter CALIB_LOCAL_INTEGRATED_AGGREGATOR; then
310311
if [[ $CALIB_TPC_IDC == 1 ]] && [[ $AGGREGATOR_TASKS == TPC_IDCBOTH_SAC || $AGGREGATOR_TASKS == ALL ]]; then
311312
add_W o2-tpc-idc-distribute "--crus ${crus} --timeframes ${nTFs} --output-lanes ${lanesFactorize} --send-precise-timestamp true --condition-tf-per-query ${nTFs} --n-TFs-buffer ${nBuffer}"
312-
add_W o2-tpc-idc-factorize "--n-TFs-buffer ${nBuffer} --input-lanes ${lanesFactorize} --crus ${crus} --timeframes ${nTFs} --nthreads-grouping 8 --nthreads-IDC-factorization 8 --sendOutputFFT true --enable-CCDB-output true --enablePadStatusMap true ${TPC_WRITING_PAD_STATUS_MAP} --use-precise-timestamp true $IDC_DELTA" "TPCIDCGroupParam.groupPadsSectorEdges=32211"
313+
add_W o2-tpc-idc-factorize "--n-TFs-buffer ${nBuffer} --input-lanes ${lanesFactorize} --crus ${crus} --timeframes ${nTFs} --nthreads-grouping ${threadFactorize} --nthreads-IDC-factorization ${threadFactorize} --sendOutputFFT true --enable-CCDB-output true --enablePadStatusMap true ${TPC_WRITING_PAD_STATUS_MAP} --use-precise-timestamp true $IDC_DELTA" "TPCIDCGroupParam.groupPadsSectorEdges=32211"
313314
add_W o2-tpc-idc-ft-aggregator "--rangeIDC 200 --inputLanes ${lanesFactorize} --nFourierCoeff 40 --nthreads 8"
314315
fi
315316
if [[ $CALIB_TPC_SAC == 1 ]] && [[ $AGGREGATOR_TASKS == TPC_IDCBOTH_SAC || $AGGREGATOR_TASKS == ALL ]]; then

0 commit comments

Comments
 (0)