Skip to content

Commit a5a4f02

Browse files
committed
Add parsing of comma separated and space separated lists so that target.ls has the appropriate format for rocm_agent_enumerator.
1 parent 6e45bd0 commit a5a4f02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow/tools/tf_sig_build_dockerfiles/setup.rocm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,5 +151,5 @@ echo $ROCM_PATH
151151
echo $GPU_DEVICE_TARGETS
152152

153153
# Ensure the ROCm target list is set up
154-
printf '%s\n' ${GPU_DEVICE_TARGETS} | tee -a "$ROCM_PATH/bin/target.lst"
154+
echo ${GPU_DEVICE_TARGETS} | tr ' ,' '\n' | tee -a "$ROCM_PATH/bin/target.lst"
155155
touch "${ROCM_PATH}/.info/version"

0 commit comments

Comments
 (0)