GBISInput< 3 > Struct Template Reference

List of all members.

Public Member Functions

__device__ __forceinline__
void 
loadI (const int i, const float *inp1, const float *inp2, const float *inp3)
__device__ __forceinline__
void 
loadJ (const int i, const float *inp1, const float *inp2, const float *inp3)
__device__ __forceinline__
void 
initQi (const GBISParam< 3 > param, const float q)
__device__ __forceinline__
void 
initQj (const float q)
__device__ __forceinline__
void 
shuffleNext ()

Public Attributes

float qi
float intRadSJ
float intRadJ0
float intRadIS
float dHdrPrefixI
float dHdrPrefixJ

Detailed Description

template<>
struct GBISInput< 3 >

Definition at line 225 of file CudaComputeGBISKernel.cu.


Member Function Documentation

__device__ __forceinline__ void GBISInput< 3 >::initQi ( const GBISParam< 3 >  param,
const float  q 
) [inline]

Definition at line 242 of file CudaComputeGBISKernel.cu.

00242 {}

__device__ __forceinline__ void GBISInput< 3 >::initQj ( const float  q  )  [inline]

Definition at line 243 of file CudaComputeGBISKernel.cu.

00243 {}

__device__ __forceinline__ void GBISInput< 3 >::loadI ( const int  i,
const float *  inp1,
const float *  inp2,
const float *  inp3 
) [inline]

Definition at line 232 of file CudaComputeGBISKernel.cu.

00232                                                                                                               {
00233     qi          = inp1[i];
00234     intRadIS    = inp2[i];
00235     dHdrPrefixI = inp3[i];
00236   }

__device__ __forceinline__ void GBISInput< 3 >::loadJ ( const int  i,
const float *  inp1,
const float *  inp2,
const float *  inp3 
) [inline]

Definition at line 237 of file CudaComputeGBISKernel.cu.

00237                                                                                                               {
00238     intRadJ0    = inp1[i];
00239     intRadSJ    = inp2[i];
00240     dHdrPrefixJ = inp3[i];
00241   }

__device__ __forceinline__ void GBISInput< 3 >::shuffleNext (  )  [inline]

Definition at line 244 of file CudaComputeGBISKernel.cu.

References WARP_FULL_MASK, WARP_SHUFFLE, and WARPSIZE.

00244                                                 {
00245     intRadSJ    = WARP_SHUFFLE(WARP_FULL_MASK, intRadSJ,    (threadIdx.x+1) & (WARPSIZE-1), WARPSIZE);
00246     dHdrPrefixJ = WARP_SHUFFLE(WARP_FULL_MASK, dHdrPrefixJ, (threadIdx.x+1) & (WARPSIZE-1), WARPSIZE);
00247     intRadJ0    = WARP_SHUFFLE(WARP_FULL_MASK, intRadJ0,    (threadIdx.x+1) & (WARPSIZE-1), WARPSIZE);
00248   }


Member Data Documentation

float GBISInput< 3 >::dHdrPrefixI

Definition at line 228 of file CudaComputeGBISKernel.cu.

float GBISInput< 3 >::dHdrPrefixJ

Definition at line 228 of file CudaComputeGBISKernel.cu.

float GBISInput< 3 >::intRadIS

Definition at line 227 of file CudaComputeGBISKernel.cu.

float GBISInput< 3 >::intRadJ0

Definition at line 227 of file CudaComputeGBISKernel.cu.

float GBISInput< 3 >::intRadSJ

Definition at line 227 of file CudaComputeGBISKernel.cu.

float GBISInput< 3 >::qi

Definition at line 226 of file CudaComputeGBISKernel.cu.


The documentation for this struct was generated from the following file:
Generated on Wed Nov 22 01:17:20 2017 for NAMD by  doxygen 1.4.7