Skip to content

Commit

Permalink
fix issue with CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
jcosborn committed Nov 2, 2023
1 parent b680199 commit 922692d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/targets/sycl/target_sycl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ target_include_directories(quda PUBLIC $<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/inc
string(APPEND CMAKE_SYCL_FLAGS " -x c++")
#set_source_files_properties(${QUDA_CU_OBJS} PROPERTIES LANGUAGE CXX)
set_source_files_properties(${QUDA_CU_OBJS} PROPERTIES LANGUAGE SYCL)
set_source_files_properties(${QUDA_CU_OBJS} PROPERTIES COMPILE_FLAGS ${SYCL_FLAGS})
if(SYCL_FLAGS)
set_source_files_properties(${QUDA_CU_OBJS} PROPERTIES COMPILE_FLAGS ${SYCL_FLAGS})
endif()
target_link_options(quda PUBLIC ${SYCL_LINK_FLAGS})

set(SYCL_MKL_LIBRARY "-lmkl_sycl -lmkl_intel_ilp64 -lmkl_core -lmkl_tbb_thread")
Expand Down

0 comments on commit 922692d

Please sign in to comment.