https://github.com/N-BodyShop/changa
Raw File
Tip revision: fc5afabc0beaef286a205f90b349821bb2590085 authored by Lukasz Wesolowski on 03 April 2015, 09:24:34 UTC
Change type of thread indices on the GPU from char to int to support large bucket sizes
Tip revision: fc5afab
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