Skip to content

Commit

Permalink
Restored OpenMP tests to check SIMD pragmas.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Sep 1, 2024
1 parent f540b25 commit 9f192c6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,14 @@ add_executable(

target_compile_definitions(cuspartest PRIVATE CUSTOM_PARALLEL_TEST=1)
add_common_properties(cuspartest)

find_package(OpenMP)
if(OpenMP_FOUND)
add_executable(omptest
src/tsne.cpp
src/gaussian.cpp
src/SPTree.cpp
)
add_common_properties(omptest)
target_link_libraries(omptest OpenMP::OpenMP_CXX)
endif()

0 comments on commit 9f192c6

Please sign in to comment.