Skip to content

Commit cfa7b71

Browse files
committed
dpl-workflow: Automatically apply MI100 workaround in sync
1 parent 48c7605 commit cfa7b71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ if [[ $GPUTYPE == "HIP" ]]; then
259259
TIMESLICEOFFSET=$(($GPU_FIRST_ID + ($NUMAGPUIDS != 0 ? ($NGPUS * $NUMAID) : 0)))
260260
GPU_CONFIG+=" --environment \"ROCR_VISIBLE_DEVICES={timeslice${TIMESLICEOFFSET}}\""
261261
fi
262-
[[ "${EPN_NODE_MI100:-}" != "1" ]] && export HSA_NO_SCRATCH_RECLAIM=1
262+
[[ ${EPN_NODE_MI100:-} != "1" ]] && export HSA_NO_SCRATCH_RECLAIM=1
263+
[[ $EPNSYNCMODE == 1 && ${EPN_NODE_MI100:-} == "1" ]] && GPU_CONFIG_KEY+="GPU_proc.serializeGPU=3;"
263264
#export HSA_TOOLS_LIB=/opt/rocm/lib/librocm-debug-agent.so.2
264265
else
265266
GPU_CONFIG_KEY+="GPU_proc.deviceNum=-2;"

0 commit comments

Comments
 (0)