Skip to content

Commit

Permalink
Adding back mkl warnings in compile-time example CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
s-Nick committed Jun 21, 2024
1 parent b643ee2 commit a4ba46a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/dft/compile_time_dispatching/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ if (ENABLE_MKLCPU_BACKEND AND ENABLE_CUFFT_BACKEND)
list(APPEND DFT_CT_SOURCES "complex_fwd_usm_mklcpu_cufft")
endif()

include(WarningsUtils)

foreach(dft_ct_source ${DFT_CT_SOURCES})
set(EXAMPLE_NAME example_${domain}_${dft_ct_source})
add_executable(${EXAMPLE_NAME} ${dft_ct_source}.cpp)
Expand All @@ -40,6 +42,7 @@ endif()
target_link_libraries(${EXAMPLE_NAME} PUBLIC
${ONEMKL_LIBRARIES_${domain}}
ONEMKL::SYCL::SYCL
onemkl_warnings
)

# Register example as ctest
Expand Down

0 comments on commit a4ba46a

Please sign in to comment.