CMakeLists.txt 1.83 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 )

Martin Bauer's avatar
Martin Bauer committed
22
23
24
25

waLBerla_python_file_generates(codegen/CudaJacobiKernel.py
        CudaJacobiKernel2D.cu CudaJacobiKernel2D.h
        CudaJacobiKernel3D.cu CudaJacobiKernel3D.h)
26
waLBerla_compile_test( FILES codegen/CodegenJacobiGPU.cpp
27
                             codegen/CudaJacobiKernel.py
28
29
                       DEPENDS blockforest timeloop gui )
waLBerla_execute_test( NAME CodegenJacobiGPU )
30
31
32
33
34
35
36
37


# 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 )
38

39
40
waLBerla_compile_test( FILES AlignmentTest.cpp DEPENDS blockforest timeloop )

41
waLBerla_python_file_generates(codegen/MicroBenchmarkGpuLbm.py MicroBenchmarkStreamKernel.cu MicroBenchmarkCopyKernel.cu)
Martin Bauer's avatar
Martin Bauer committed
42
waLBerla_compile_test( FILES codegen/MicroBenchmarkGpuLbm.cpp codegen/MicroBenchmarkGpuLbm.py)