| 1 | // -------------------------------------------------------------------------- |
| 2 | // |
| 3 | // Copyright |
| 4 | // Markus Wittmann, 2016-2017 |
| 5 | // RRZE, University of Erlangen-Nuremberg, Germany |
| 6 | // markus.wittmann -at- fau.de or hpc -at- rrze.fau.de |
| 7 | // |
| 8 | // Viktor Haag, 2016 |
| 9 | // LSS, University of Erlangen-Nuremberg, Germany |
| 10 | // |
| 11 | // This file is part of the Lattice Boltzmann Benchmark Kernels (LbmBenchKernels). |
| 12 | // |
| 13 | // LbmBenchKernels is free software: you can redistribute it and/or modify |
| 14 | // it under the terms of the GNU General Public License as published by |
| 15 | // the Free Software Foundation, either version 3 of the License, or |
| 16 | // (at your option) any later version. |
| 17 | // |
| 18 | // LbmBenchKernels is distributed in the hope that it will be useful, |
| 19 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 21 | // GNU General Public License for more details. |
| 22 | // |
| 23 | // You should have received a copy of the GNU General Public License |
| 24 | // along with LbmBenchKernels. If not, see <http://www.gnu.org/licenses/>. |
| 25 | // |
| 26 | // -------------------------------------------------------------------------- |
| 27 | #ifndef __BENCH_KERNEL_D3Q19__ |
| 28 | #define __BENCH_KERNEL_D3Q19__ |
| 29 | |
| 30 | #include "Kernel.h" |
| 31 | |
| 32 | |
| 33 | void D3Q19Init_PushSoA(LatticeDesc * ld, KernelData ** kernelData, Parameters * params); |
| 34 | void D3Q19Init_PushAoS(LatticeDesc * ld, KernelData ** kernelData, Parameters * params); |
| 35 | |
| 36 | void D3Q19Deinit_PushSoA(LatticeDesc * ld, KernelData ** kernelData); |
| 37 | void D3Q19Deinit_PushAoS(LatticeDesc * ld, KernelData ** kernelData); |
| 38 | |
| 39 | void D3Q19Init_PullSoA(LatticeDesc * ld, KernelData ** kernelData, Parameters * params); |
| 40 | void D3Q19Init_PullAoS(LatticeDesc * ld, KernelData ** kernelData, Parameters * params); |
| 41 | |
| 42 | void D3Q19Deinit_PullSoA(LatticeDesc * ld, KernelData ** kernelData); |
| 43 | void D3Q19Deinit_PullAoS(LatticeDesc * ld, KernelData ** kernelData); |
| 44 | |
| 45 | void D3Q19BlkInit_PushSoA(LatticeDesc * ld, KernelData ** kernelData, Parameters * params); |
| 46 | void D3Q19BlkInit_PushAoS(LatticeDesc * ld, KernelData ** kernelData, Parameters * params); |
| 47 | |
| 48 | void D3Q19BlkDeinit_PushSoA(LatticeDesc * ld, KernelData ** kernelData); |
| 49 | void D3Q19BlkDeinit_PushAoS(LatticeDesc * ld, KernelData ** kernelData); |
| 50 | |
| 51 | void D3Q19BlkInit_PullSoA(LatticeDesc * ld, KernelData ** kernelData, Parameters * params); |
| 52 | void D3Q19BlkInit_PullAoS(LatticeDesc * ld, KernelData ** kernelData, Parameters * params); |
| 53 | |
| 54 | void D3Q19BlkDeinit_PullSoA(LatticeDesc * ld, KernelData ** kernelData); |
| 55 | void D3Q19BlkDeinit_PullAoS(LatticeDesc * ld, KernelData ** kernelData); |
| 56 | |
| 57 | #endif // __BENCH_KERNEL_D3Q19__ |