CMakeLists.txt 2.09 KB
Newer Older
1
2

waLBerla_link_files_to_builddir( "*.prm" )
3
#waLBerla_link_files_to_builddir( "simulation_setup" )
4

Martin Bauer's avatar
Martin Bauer committed
5
6
7
8
9
10
waLBerla_python_file_generates(UniformGridGPU.py
        UniformGridGPU_LatticeModel.cpp UniformGridGPU_LatticeModel.h
        UniformGridGPU_LbKernel.cu UniformGridGPU_LbKernel.h
        UniformGridGPU_NoSlip.cu UniformGridGPU_NoSlip.h
        UniformGridGPU_UBB.cu UniformGridGPU_UBB.h
        UniformGridGPU_PackInfo.cu UniformGridGPU_PackInfo.h
11
12
        UniformGridGPU_MacroSetter.cpp UniformGridGPU_MacroSetter.h
        UniformGridGPU_MacroGetter.cpp UniformGridGPU_MacroGetter.h
13
        UniformGridGPU_Defines.h
Martin Bauer's avatar
Martin Bauer committed
14
15
        )

16
17
foreach(config srt trt mrt smagorinsky entropic smagorinsky_noopt entropic_kbc_n4
        entropic_kbc_n4_noopt mrt_noopt mrt_full mrt_full_noopt
Martin Bauer's avatar
Martin Bauer committed
18
        cumulant cumulant_d3q27
Martin Bauer's avatar
Martin Bauer committed
19
        srt_d3q27 mrt_d3q27 mrt_d3q27_noopt smagorinsky_d3q27 smagorinsky_d3q27_noopt mrt_full_d3q27 mrt_full_d3q27_noopt)
20
21
    waLBerla_add_executable ( NAME UniformGridBenchmarkGPU_${config}
                              FILES UniformGridGPU.cpp UniformGridGPU.py
22
                              DEPENDS blockforest boundary core cuda domain_decomposition field geometry timeloop vtk gui
23
24
                              CODEGEN_CFG ${config})
endforeach()
25
26
27
28
29
30
31
32
33
34
35




waLBerla_python_file_generates(UniformGridGPU_AA.py
        UniformGridGPU_AA_LbKernelEven.cu UniformGridGPU_AA_LbKernelEven.h
        UniformGridGPU_AA_LbKernelOdd.cu  UniformGridGPU_AA_LbKernelOdd.h
        UniformGridGPU_AA_PackInfoPull.cu UniformGridGPU_AA_PackInfoPull.h
        UniformGridGPU_AA_PackInfoPush.cu UniformGridGPU_AA_PackInfoPush.h
        UniformGridGPU_AA_MacroSetter.cpp UniformGridGPU_AA_MacroSetter.h
        UniformGridGPU_AA_MacroGetter.cpp UniformGridGPU_AA_MacroGetter.h
36
        UniformGridGPU_AA_Defines.h
37
38
        )

39
40
41
42
43
44
foreach(config srt trt mrt smagorinsky entropic )
    waLBerla_add_executable ( NAME UniformGridBenchmarkGPU_AA_${config}
            FILES UniformGridGPU_AA.cpp UniformGridGPU_AA.py
            DEPENDS blockforest boundary core cuda domain_decomposition field geometry timeloop vtk gui
            CODEGEN_CFG ${config})
endforeach()