Skip to content

Commit

Permalink
Log msg when creating dispatch lib with relaxed setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Auburn committed Apr 27, 2024
1 parent 587d203 commit 504e54f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dispatch/cmake/ClassSIMD.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ function(fastsimd_create_dispatch_library simd_library_name)

if(fastsimd_create_dispatch_library_RELAXED)
target_compile_definitions(${simd_library_name} PUBLIC FASTSIMD_IS_RELAXED=1)
set(relaxed_log_msg " (RELAXED)")
endif()

set(feature_set_list "")
Expand Down Expand Up @@ -141,6 +142,6 @@ function(fastsimd_create_dispatch_library simd_library_name)
string(REPLACE ";" ",\n" feature_set_list "${feature_set_list}")
configure_file("${FastSIMD_SOURCE_DIR}/dispatch/cmake/simd_lib_config.h.in" "${simd_library_source_dir}/include/FastSIMD/${simd_library_name}_config.h")

message(STATUS "FastSIMD: Created dispatch library \"${simd_library_name}\" with Feature Sets: ${feature_set_list_debug}")
message(STATUS "FastSIMD: Created dispatch library \"${simd_library_name}\" with Feature Sets${relaxed_log_msg}: ${feature_set_list_debug}")

endfunction()

0 comments on commit 504e54f

Please sign in to comment.