Skip to content

Commit

Permalink
move more tests to host compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
upsj committed Sep 14, 2023
1 parent 498123f commit 9071cfb
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions cuda/test/base/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ginkgo_create_cuda_test(array)
ginkgo_create_test(array RESOURCE_TYPE cudagpu)
ginkgo_create_cuda_test(cuda_executor)
ginkgo_create_cuda_test(index_set)
ginkgo_create_test(index_set RESOURCE_TYPE cudagpu)
if(GINKGO_HAVE_HWLOC)
find_package(NUMA REQUIRED)
ginkgo_create_cuda_test(cuda_executor_topology ADDITIONAL_LIBRARIES NUMA::NUMA)
endif()
ginkgo_create_cuda_test(exception_helpers)
ginkgo_create_cuda_test(kernel_launch)
ginkgo_create_cuda_test(lin_op)
ginkgo_create_test(lin_op RESOURCE_TYPE cudagpu)
ginkgo_create_cuda_test(math)
ginkgo_create_cuda_test(memory)
ginkgo_create_cuda_test(scoped_device_id NO_RESOURCES)
ginkgo_create_test(memory RESOURCE_TYPE cudagpu)
ginkgo_create_cuda_test(scoped_device_id)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions hip/test/base/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
ginkgo_create_hip_test(hip_executor)
ginkgo_create_test(index_set)
ginkgo_create_test(index_set RESOURCE_TYPE hipgpu)
if(GINKGO_HAVE_HWLOC)
find_package(NUMA REQUIRED)
ginkgo_create_hip_test(hip_executor_topology ADDITIONAL_LIBRARIES NUMA::NUMA)
endif()
ginkgo_create_hip_test(kernel_launch)
# correct flags for kernel_launch.hpp are set in GINKGO_HIPCC_OPTIONS
ginkgo_create_hip_test(lin_op)
ginkgo_create_test(lin_op RESOURCE_TYPE hipgpu)
ginkgo_create_hip_test(math)
ginkgo_create_hip_test(memory)
ginkgo_create_test(memory RESOURCE_TYPE hipgpu)
# Only hcc needs the libraries. nvcc only requires the headers.
if (GINKGO_HIP_PLATFORM MATCHES "${HIP_PLATFORM_AMD_REGEX}")
ginkgo_create_hip_test(exception_helpers ADDITIONAL_LIBRARIES roc::hipblas roc::hipsparse hip::hiprand roc::rocrand)
else()
ginkgo_create_hip_test(exception_helpers)
endif()
ginkgo_create_hip_test(scoped_device_id NO_RESOURCES)
ginkgo_create_hip_test(scoped_device_id)
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion hip/test/matrix/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ginkgo_create_hip_test(fbcsr_kernels)
ginkgo_create_test(fbcsr_kernels RESOURCE_TYPE hipgpu)
if (hipfft_FOUND)
ginkgo_create_hip_test(fft_kernels)
endif()
File renamed without changes.
4 changes: 2 additions & 2 deletions hip/test/solver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ginkgo_create_test(lower_trs_kernels)
ginkgo_create_test(upper_trs_kernels)
ginkgo_create_test(lower_trs_kernels RESOURCE_TYPE hipgpu)
ginkgo_create_test(upper_trs_kernels RESOURCE_TYPE hipgpu)
2 changes: 1 addition & 1 deletion hip/test/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ginkgo_create_hip_test(assertions_test)
ginkgo_create_test(assertions_test RESOURCE_TYPE hipgpu)
File renamed without changes.

0 comments on commit 9071cfb

Please sign in to comment.