https://github.com/N-BodyShop/changa
Raw File
Tip revision: 30f002a5a24deff12380c6d25a8d8c8a227d762f authored by Tim Haines on 09 December 2017, 09:34:53 UTC
Remove deprecated CUDA device emulation support.
Tip revision: 30f002a
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