Skip to content

Commit

Permalink
GREATER_EQUAL is available from CMake 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
junliume committed Aug 9, 2023
1 parent 1883686 commit b3d5164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ option(MIOPEN_USE_HIPRTC "Use HIPRTC to build HIP kernels instead of COMGR" ${MI

# No assumption that HIP kernels are launched with uniform block size for backward compatibility
# SWDEV-413293 and https://reviews.llvm.org/D155213, effective HIP_FLAT_VERSION 500723302
if(${MIOPEN_hip_VERSION_FLAT} GREATER 500723300)
if(${MIOPEN_hip_VERSION_FLAT} GREATER_EQUAL 500723302)
string(APPEND HIP_COMPILER_FLAGS " -fno-offload-uniform-block ")
endif()

Expand Down

0 comments on commit b3d5164

Please sign in to comment.