Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Unit_Tests

on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
Expand Down
4 changes: 4 additions & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ if (KOKKOS)
add_executable(qr_test test_qr_solve.cpp)
target_link_libraries(qr_test ${LINKING_LIBRARIES})

include_directories(pointcloud)
add_subdirectory(pointcloud)


if (Matar_ENABLE_TRILINOS)
add_executable(anndistributed ann_distributed.cpp)
target_link_libraries(anndistributed ${LINKING_LIBRARIES})
Expand Down
24 changes: 24 additions & 0 deletions examples/pointcloud/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
cmake_minimum_required(VERSION 3.18)


if (KOKKOS)
#find_package(Kokkos REQUIRED) #new

add_definitions(-DHAVE_KOKKOS=1)
if (CUDA)
add_definitions(-DHAVE_CUDA=1)
elseif (HIP)
add_definitions(-DHAVE_HIP=1)
elseif (OPENMP)
add_definitions(-DHAVE_OPENMP=1)
elseif (THREADS)
add_definitions(-DHAVE_THREADS=1)
endif()


add_executable(pointcloud-gbl pointcloud-gbl.cpp)
add_executable(pointcloud-rk pointcloud-rk.cpp)

target_link_libraries(pointcloud-gbl ${LINKING_LIBRARIES})
target_link_libraries(pointcloud-rk ${LINKING_LIBRARIES})
endif(KOKKOS)
Loading
Loading