updated text files
[RBC.git] / kernels.h
1 /* This file is part of the Random Ball Cover (RBC) library.
2 * (C) Copyright 2010, Lawrence Cayton [lcayton@tuebingen.mpg.de]
3 */
4
5 #ifndef KERNELS_H
6 #define KERNELS_H
7
8 #include "defs.h"
9 __global__ void planNNKernel(const matrix,const unint*,const matrix,const intMatrix,real*,unint*,compPlan,unint);
10 __global__ void planKNNKernel(const matrix,const unint*,const matrix,const intMatrix,matrix,intMatrix,compPlan,unint);
11 __global__ void dist1Kernel(const matrix,unint,const matrix,unint,matrix);
12 __global__ void nnKernel(const matrix,unint,const matrix,real*,unint*);
13 __global__ void knnKernel(const matrix,unint,const matrix,matrix,intMatrix);
14 __global__ void findRangeKernel(const matrix,unint,real*,unint);
15 __global__ void rangeSearchKernel(const matrix,unint,unint,const real*,charMatrix);
16 __global__ void rangeCountKernel(const matrix,unint,const matrix,real*,unint*);
17 __device__ void sort16(real[][16],unint[][16]);
18 __device__ void sort16off(real[][48],unint[][48]);
19 __device__ void merge32x16(real[][48],unint[][48]);
20 __device__ void mmGateI(real*,real*,unint*,unint*);
21 #endif