https://github.com/N-BodyShop/changa
Raw File
Tip revision: a4f56b2abc5872b9b4b6b4c00f64f851398a4470 authored by Tim Haines on 30 July 2016, 08:19:37 UTC
Remove all CUDA-specific functionality during non-CUDA build
Tip revision: a4f56b2
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