Skip to content

Commit

Permalink
dpl-workflow: Add option to use GPU RTC
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrohr committed Apr 22, 2024
1 parent 930951c commit 0f647fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions prodtests/full-system-test/dpl-workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ if has_detector_calib PHS && workflow_has_parameter CALIB; then
fi

[[ ${O2_GPU_DOUBLE_PIPELINE:-$EPNSYNCMODE} == 1 ]] && GPU_CONFIG+=" --enableDoublePipeline"
[[ ${O2_GPU_RTC:-0} == 1 ]] && GPU_CONFIG_KEY+="GPU_proc_rtc.enable=1;GPU_proc_rtc.cacheOutput=1;GPU_proc.RTCcacheFolder=/tmp/o2_gpu_rtc_cache;"

( workflow_has_parameter AOD || [[ -z "$DISABLE_ROOT_OUTPUT" ]] || needs_root_output o2-emcal-cell-writer-workflow ) && has_detector EMC && RAW_EMC_SUBSPEC=" --subspecification 1 "
has_detector_reco MID && has_detector_matching MCHMID && MFTMCHConf="FwdMatching.useMIDMatch=true;" || MFTMCHConf="FwdMatching.useMIDMatch=false;"
Expand Down
7 changes: 2 additions & 5 deletions prodtests/full-system-test/start_tmux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,19 +97,16 @@ fi

FST_SLEEP0=0
FST_SLEEP1=0
FST_SLEEP2=45
FST_SLEEP2=30
if [[ -z $SHM_MANAGER_SHMID ]]; then
rm -f /dev/shm/*fmq*
if [[ `ls /dev/shm/*fmq* 2> /dev/null | wc -l` != "0" ]]; then
echo "FMQ SHM files left which cannot be deleted, please clean up!"
exit 1
fi
else
FST_SLEEP0=0
FST_SLEEP1=0
FST_SLEEP2=30
fi
[[ ! -z $FST_TMUX_DD_WAIT ]] && FST_SLEEP2=$FST_TMUX_DD_WAIT
[[ ${O2_GPU_RTC:-0} == 1 ]] && FST_SLEEP2=60

if workflow_has_parameter CALIB_PROXIES; then
CALIB_COMMAND="$GEN_TOPO_MYDIR/aggregator-workflow.sh"
Expand Down

0 comments on commit 0f647fc

Please sign in to comment.