Skip to content

Commit 3bb11f0

Browse files
[RCCL][NAVI3X] Fix UT hang
[rocm-systems] ROCm/rocm-systems#2984 (commit 21cc542)
1 parent 67f32b7 commit 3bb11f0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,11 @@ if(ROCM_PATH)
164164
${ROCM_PATH}/llvm)
165165
endif()
166166

167+
set(CMAKE_CXX_FLAGS_RELEASE "-O3" CACHE STRING "Release flags" FORCE)
168+
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -g" CACHE STRING "RelWithDebInfo flags" FORCE)
169+
set(CMAKE_C_FLAGS_RELEASE "-O3" CACHE STRING "Release flags" FORCE)
170+
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 -g" CACHE STRING "RelWithDebInfo flags" FORCE)
171+
167172
# Check for required dependencies
168173
#==================================================================================================
169174
## Check for Threads

0 commit comments

Comments
 (0)