CMakeLists.txt 1.62 KB
Newer Older
Martin Bauer's avatar
Martin Bauer committed
1
2
3
4
5
6
###################################################################################################
#
# Tests for cuda
#
###################################################################################################

7
8
9
waLBerla_compile_test( FILES communication/GPUPackInfoTest.cpp DEPENDS blockforest )
waLBerla_execute_test( NAME  GPUPackInfoTest )

10
11
12
waLBerla_compile_test( FILES communication/GPUPackInfoCommunicationTest.cpp DEPENDS domain_decomposition blockforest stencil )
waLBerla_execute_test( NAME  GPUPackInfoCommunicationTest )

Martin Bauer's avatar
Martin Bauer committed
13
14
15
16
17
18
waLBerla_compile_test( FILES FieldTransferTest )
waLBerla_execute_test( NAME  FieldTransferTest )

waLBerla_compile_test( FILES SimpleKernelTest.cpp Kernels.cu DEPENDS blockforest timeloop gui )
waLBerla_execute_test( NAME  SimpleKernelTest )

19
20
21
waLBerla_compile_test( FILES FieldIndexing3DTest.cpp FieldIndexing3DTest.cu )
waLBerla_execute_test( NAME  FieldIndexing3DTest )

22
waLBerla_compile_test( FILES codegen/CodegenJacobiGPU.cpp
23
                             codegen/CudaJacobiKernel.py
24
25
                       DEPENDS blockforest timeloop gui )
waLBerla_execute_test( NAME CodegenJacobiGPU )
26
27
28
29
30
31
32
33


# The following tests work only for CUDA enabled MPI
waLBerla_compile_test( FILES communication/CommTest )
#waLBerla_execute_test( NAME  CommTest PROCESSES 2)

waLBerla_compile_test( FILES CudaMPI DEPENDS blockforest timeloop gui )
#waLBerla_execute_test( NAME  CudaMPI )
34
35
36
37

waLBerla_add_executable ( NAME CpuGpuGeneratedEquivalenceTest
                          FILES codegen/EquivalenceTest.cpp codegen/EquivalenceTest.gen.py
                          DEPENDS blockforest boundary core cuda field stencil timeloop vtk gui )