SWE
|
00001 00028 #ifndef __SWE_BLOCKCUDAKERNELS_HH 00029 #define __SWE_BLOCKCUDAKERNELS_HH 00030 00031 // declaration of CUDA kernels 00032 __global__ 00033 void kernelHdBufferEdges(float* hd, int nx, int ny); 00034 00035 __global__ 00036 void kernelMaximum(float* maxhd, float* maxvd, int start, int size); 00037 00038 __global__ 00039 void kernelLeftBoundary(float* hd, float* hud, float* hvd, 00040 int nx, int ny, BoundaryType bound); 00041 __global__ 00042 void kernelRightBoundary(float* hd, float* hud, float* hvd, 00043 int nx, int ny, BoundaryType bound); 00044 __global__ 00045 void kernelBottomBoundary(float* hd, float* hud, float* hvd, 00046 int nx, int ny, BoundaryType bound); 00047 __global__ 00048 void kernelTopBoundary(float* hd, float* hud, float* hvd, 00049 int nx, int ny, BoundaryType bound); 00050 __global__ 00051 void kernelBottomGhostBoundary(float* hd, float* hud, float* hvd, 00052 float* bottomGhostLayer, int nx, int ny); 00053 __global__ 00054 void kernelTopGhostBoundary(float* hd, float* hud, float* hvd, 00055 float* topGhostLayer, int nx, int ny); 00056 __global__ 00057 void kernelBottomCopyLayer(float* hd, float* hud, float* hvd, 00058 float* bottomCopyLayer, int nx, int ny); 00059 __global__ 00060 void kernelTopCopyLayer(float* hd, float* hud, float* hvd, 00061 float* topCopyLayer, int nx, int ny); 00062 00063 #endif