https://github.com/N-BodyShop/changa
Raw File
Tip revision: 06f668f14966f876a155d23f98415ab08eed4bfd authored by Harshit Dokania on 18 September 2014, 02:12:15 UTC
changed buffer size to 4 to prevent flaky seg faults
Tip revision: 06f668f
CUDAMoments.h
#ifndef CUDAMoments_h
#define CUDAMoments_h 1

#include "cuda_typedef.h"

/** CUDA version of momEvalFmomrcm. */
#ifdef CUDA_UNIT_TEST
__global__ void
#else
__device__ inline void __attribute__(( always_inline ))
#endif
CUDA_momEvalFmomrcm(const CudaMultipoleMoments* _m,
                    const CudaVector3D* _r,
                    cudatype dir,
                    CudaVector3D* out,
                    cudatype* pot);

#endif  /* CUDAMoments_h */
back to top