NAMD
Public Member Functions | Public Attributes | List of all members
GBISInput< 3 > Struct Template Reference

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 229 of file CudaComputeGBISKernel.cu.

Member Function Documentation

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

Definition at line 246 of file CudaComputeGBISKernel.cu.

246 {}
__device__ __forceinline__ void GBISInput< 3 >::initQj ( const float  q)
inline

Definition at line 247 of file CudaComputeGBISKernel.cu.

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

Definition at line 236 of file CudaComputeGBISKernel.cu.

236  {
237  qi = inp1[i];
238  intRadIS = inp2[i];
239  dHdrPrefixI = inp3[i];
240  }
__device__ __forceinline__ void GBISInput< 3 >::loadJ ( const int  i,
const float *  inp1,
const float *  inp2,
const float *  inp3 
)
inline

Definition at line 241 of file CudaComputeGBISKernel.cu.

241  {
242  intRadJ0 = inp1[i];
243  intRadSJ = inp2[i];
244  dHdrPrefixJ = inp3[i];
245  }
__device__ __forceinline__ void GBISInput< 3 >::shuffleNext ( )
inline

Definition at line 248 of file CudaComputeGBISKernel.cu.

References WARP_FULL_MASK, WARP_SHUFFLE, and WARPSIZE.

248  {
249  intRadSJ = WARP_SHUFFLE(WARP_FULL_MASK, intRadSJ, (threadIdx.x+1) & (WARPSIZE-1), WARPSIZE);
251  intRadJ0 = WARP_SHUFFLE(WARP_FULL_MASK, intRadJ0, (threadIdx.x+1) & (WARPSIZE-1), WARPSIZE);
252  }
#define WARP_FULL_MASK
Definition: CudaUtils.h:11
#define WARPSIZE
#define WARP_SHUFFLE(MASK, VAR, LANE, SIZE)
Definition: CudaUtils.h:38

Member Data Documentation

float GBISInput< 3 >::dHdrPrefixI

Definition at line 232 of file CudaComputeGBISKernel.cu.

Referenced by calcGBISPhase().

float GBISInput< 3 >::dHdrPrefixJ

Definition at line 232 of file CudaComputeGBISKernel.cu.

Referenced by calcGBISPhase().

float GBISInput< 3 >::intRadIS

Definition at line 231 of file CudaComputeGBISKernel.cu.

Referenced by calcGBISPhase().

float GBISInput< 3 >::intRadJ0

Definition at line 231 of file CudaComputeGBISKernel.cu.

Referenced by calcGBISPhase().

float GBISInput< 3 >::intRadSJ

Definition at line 231 of file CudaComputeGBISKernel.cu.

Referenced by calcGBISPhase().

float GBISInput< 3 >::qi

Definition at line 230 of file CudaComputeGBISKernel.cu.

Referenced by calcGBISPhase().


The documentation for this struct was generated from the following file: