Skip to content

Commit

Permalink
Changed dpct_add_mkl_to_target to dpct_helper_add_mkl_to_target
Browse files Browse the repository at this point in the history
  • Loading branch information
TejaX-Alaghari committed Jan 4, 2024
1 parent aaa1976 commit 295aa21
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions clang/test/dpct/cmake_migration/case_012/expected.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dpct_add_mkl_to_target(culib)
dpct_add_mkl_to_target(
dpct_helper_add_mkl_to_target(culib)
dpct_helper_add_mkl_to_target(
culib
)
Original file line number Diff line number Diff line change
Expand Up @@ -270,5 +270,5 @@
Priority: Fallback
CmakeSyntax: cuda_add_cufft_to_target
In: cuda_add_cufft_to_target(${target})
Out: dpct_add_mkl_to_target(${target})
Out: dpct_helper_add_mkl_to_target(${target})

2 changes: 1 addition & 1 deletion clang/tools/dpct/cmake/dpct.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ message("dpct.cmake: SYCL_HAS_FP16 is set true by default.")
set(SYCL_HAS_FP16 TRUE)

# Link MKL library to target
macro(DPCT_ADD_MKL_TO_TARGET target)
macro(DPCT_HELPER_ADD_MKL_TO_TARGET target)
if(WIN32)
target_link_libraries(${target} mkl_sycl_dll.lib mkl_intel_ilp64_dll.lib mkl_tbb_thread_dll.lib mkl_core_dll.lib OpenCL.lib)
elseif(UNIX AND NOT APPLE)
Expand Down

0 comments on commit 295aa21

Please sign in to comment.