https://github.com/N-BodyShop/changa
Raw File
Tip revision: 0699aa54badb8e970ea4642e36555182f1112b16 authored by Tom Quinn on 31 March 2016, 22:50:01 UTC
Make 35 the default CUDA level. (K20s or better).
Tip revision: 0699aa5
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