From b3d5164aea90cf2f076fa981c66743bc970d3074 Mon Sep 17 00:00:00 2001 From: Jun Liu Date: Wed, 9 Aug 2023 00:19:07 -0700 Subject: [PATCH] GREATER_EQUAL is available from CMake 3.7 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d723d27a3b..a6e5c28bf0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()