Skip to content

Commit

Permalink
reduce HIP language compile option -parallel-jobs from 4 to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdaily committed Oct 31, 2023
1 parent f640f89 commit 0f395ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ if (onnxruntime_USE_ROCM)
if(NOT DEFINED _CMAKE_HIP_DEVICE_RUNTIME_TARGET)
message(FATAL_ERROR "HIP Language is not properly configured.")
endif()
add_compile_options("$<$<COMPILE_LANGUAGE:HIP>:SHELL:-x hip -parallel-jobs=4>")
add_compile_options("$<$<COMPILE_LANGUAGE:HIP>:SHELL:-x hip -parallel-jobs=2>")

if (NOT onnxruntime_HIPIFY_PERL)
find_path(HIPIFY_PERL_PATH
Expand Down

0 comments on commit 0f395ab

Please sign in to comment.