Skip to content

Commit

Permalink
onnxruntime build fix when more than one cpu was selected
Browse files Browse the repository at this point in the history
if more than one cpu was selected the onnxruntime
parsed the option "gfx1030;gfx1035" wrongly trying
to pass build option 'gfx1030 --offload-arch=gfx1035'
instead of using "--offload-arch=gfx1030 --offload-arch=gfx1035"

Signed-off-by: Mika Laitio <[email protected]>
  • Loading branch information
lamikr committed Jun 14, 2024
1 parent 2c3f301 commit f24e969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binfo/040_01_onnxruntime_rocm_training.binfo
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ BINFO_APP_PRE_CONFIG_CMD_ARRAY=(

BINFO_APP_BUILD_CMD_ARRAY=(
"cd ${BINFO_APP_SRC_DIR}"
"./build_onnxruntime_rocm_training.sh ${INSTALL_DIR_PREFIX_SDK_ROOT} \"${SEMICOLON_SEPARATED_GPU_TARGET_LIST_DEFAULT}\""
"./build_onnxruntime_rocm_training.sh ${INSTALL_DIR_PREFIX_SDK_ROOT} ${SEMICOLON_SEPARATED_GPU_TARGET_LIST_DEFAULT}"
)

BINFO_APP_INSTALL_CMD_ARRAY=(
Expand Down

0 comments on commit f24e969

Please sign in to comment.