TGSTK  0.0.1
The Tumour Growth Simulation ToolKit
tgstkCUDADerivatives.h
Go to the documentation of this file.
1 /*==========================================================================
2 
3  This file is part of the Tumor Growth Simulation ToolKit (TGSTK)
4  (<https://github.com/cormarte/TGSTK>, <https://cormarte.github.io/TGSTK>).
5 
6  Copyright (C) 2021 Corentin Martens
7 
8  This program is free software: you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation, either version 3 of the License, or
11  (at your option) any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program. If not, see <https://www.gnu.org/licenses/>.
20 
21  Contact: corentin.martens@ulb.be
22 
23 ==========================================================================*/
24 
25 #ifndef TGSTKCUDADERIVATIVES_H
26 #define TGSTKCUDADERIVATIVES_H
27 
28 #include <cuda_runtime.h>
29 
30 void gpuDerivativeX(cudaPitchedPtr devSrc, cudaPitchedPtr devDest, int w, int h, int d);
31 void gpuDerivativeXX(cudaPitchedPtr devSrc, cudaPitchedPtr devDest, int w, int h, int d);
32 void gpuDerivativeY(cudaPitchedPtr devSrc, cudaPitchedPtr devDest, int w, int h, int d);
33 void gpuDerivativeYY(cudaPitchedPtr devSrc, cudaPitchedPtr devDest, int w, int h, int d);
34 void gpuDerivativeZ(cudaPitchedPtr devSrc, cudaPitchedPtr devDest, int w, int h, int d);
35 void gpuDerivativeZZ(cudaPitchedPtr devSrc, cudaPitchedPtr devDest, int w, int h, int d);
36 void gpuDerivatives(cudaPitchedPtr devSrc, cudaPitchedPtr devDx, cudaPitchedPtr devDy, cudaPitchedPtr devDz, cudaPitchedPtr devDxx, cudaPitchedPtr devDxy, cudaPitchedPtr devDxz, cudaPitchedPtr devDyy, cudaPitchedPtr devDyz, cudaPitchedPtr devDzz, int w, int h, int d);
37 void gpuDivergence(cudaPitchedPtr devSrcx, cudaPitchedPtr devSrcy, cudaPitchedPtr devSrcz, cudaPitchedPtr devTemp1, cudaPitchedPtr devTemp2, cudaPitchedPtr devTemp3, cudaPitchedPtr devDest, int w, int h, int d);
38 void gpuGradient(cudaPitchedPtr devSrc, cudaPitchedPtr devDx, cudaPitchedPtr devDy, cudaPitchedPtr devDz, int w, int h, int d);
39 void gpuInitializeDerivativeKernels(float* spacing);
40 
41 #endif // TGSTKCUDADERIVATIVES_H
gpuInitializeDerivativeKernels
void gpuInitializeDerivativeKernels(float *spacing)
gpuDerivativeZ
void gpuDerivativeZ(cudaPitchedPtr devSrc, cudaPitchedPtr devDest, int w, int h, int d)
gpuDerivativeX
void gpuDerivativeX(cudaPitchedPtr devSrc, cudaPitchedPtr devDest, int w, int h, int d)
gpuGradient
void gpuGradient(cudaPitchedPtr devSrc, cudaPitchedPtr devDx, cudaPitchedPtr devDy, cudaPitchedPtr devDz, int w, int h, int d)
gpuDerivatives
void gpuDerivatives(cudaPitchedPtr devSrc, cudaPitchedPtr devDx, cudaPitchedPtr devDy, cudaPitchedPtr devDz, cudaPitchedPtr devDxx, cudaPitchedPtr devDxy, cudaPitchedPtr devDxz, cudaPitchedPtr devDyy, cudaPitchedPtr devDyz, cudaPitchedPtr devDzz, int w, int h, int d)
gpuDerivativeXX
void gpuDerivativeXX(cudaPitchedPtr devSrc, cudaPitchedPtr devDest, int w, int h, int d)
gpuDerivativeZZ
void gpuDerivativeZZ(cudaPitchedPtr devSrc, cudaPitchedPtr devDest, int w, int h, int d)
gpuDivergence
void gpuDivergence(cudaPitchedPtr devSrcx, cudaPitchedPtr devSrcy, cudaPitchedPtr devSrcz, cudaPitchedPtr devTemp1, cudaPitchedPtr devTemp2, cudaPitchedPtr devTemp3, cudaPitchedPtr devDest, int w, int h, int d)
gpuDerivativeY
void gpuDerivativeY(cudaPitchedPtr devSrc, cudaPitchedPtr devDest, int w, int h, int d)
gpuDerivativeYY
void gpuDerivativeYY(cudaPitchedPtr devSrc, cudaPitchedPtr devDest, int w, int h, int d)