Skip to content

Commit f301ef4

Browse files
committed
rename
1 parent ee49926 commit f301ef4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED 17)
1515

1616
include(CheckCXXCompilerFlag)
1717

18-
# Function to check if the CPU is AMD and not older than family 25
19-
function(check_amd_family_25_or_newer)
18+
# Function to check if the CPU supports bmi2
19+
function(check_bmi2_support)
2020
execute_process(
2121
COMMAND awk "/^vendor_id/{{print \$3; exit}}" /proc/cpuinfo
2222
OUTPUT_VARIABLE VENDOR_ID
@@ -43,7 +43,7 @@ function(check_amd_family_25_or_newer)
4343
endif()
4444
endfunction()
4545

46-
check_amd_family_25_or_newer()
46+
check_bmi2_support()
4747

4848
if(CPU_SUPPORTS_BMI2)
4949
message(STATUS "Adding BMI2 support")

0 commit comments

Comments
 (0)