Skip to content

Commit 7486f59

Browse files
committed
dpl-workflow: automatically apply MI100 workaround in async
1 parent cf94b28 commit 7486f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ if [[ $GPUTYPE == "HIP" ]]; then
260260
GPU_CONFIG+=" --environment \"ROCR_VISIBLE_DEVICES={timeslice${TIMESLICEOFFSET}}\""
261261
fi
262262
[[ ${EPN_NODE_MI100:-} != "1" ]] && export HSA_NO_SCRATCH_RECLAIM=1
263-
[[ $EPNSYNCMODE == 1 && ${EPN_NODE_MI100:-} == "1" ]] && GPU_CONFIG_KEY+="GPU_proc.serializeGPU=3;"
263+
[[ $EPNSYNCMODE == 1 || ! -z ${OPTIMIZED_PARALLEL_ASYNC:-} ]] && [[ ${EPN_NODE_MI100:-} == "1" ]] && GPU_CONFIG_KEY+="GPU_proc.serializeGPU=3;"
264264
#export HSA_TOOLS_LIB=/opt/rocm/lib/librocm-debug-agent.so.2
265265
else
266266
GPU_CONFIG_KEY+="GPU_proc.deviceNum=-2;"

0 commit comments

Comments
 (0)