NAMD
Public Member Functions | Public Attributes | List of all members
GBISResults< 1 > Struct Template Reference

Public Member Functions

__device__ __forceinline__ void init ()
 
__device__ __forceinline__ void shuffleNext ()
 

Public Attributes

float psiSum
 

Detailed Description

template<>
struct GBISResults< 1 >

Definition at line 60 of file CudaComputeGBISKernel.cu.

Member Function Documentation

__device__ __forceinline__ void GBISResults< 1 >::init ( )
inline

Definition at line 62 of file CudaComputeGBISKernel.cu.

62 {psiSum = 0.0f;}
__device__ __forceinline__ void GBISResults< 1 >::shuffleNext ( )
inline

Definition at line 63 of file CudaComputeGBISKernel.cu.

References WARP_FULL_MASK, WARP_SHUFFLE, and WARPSIZE.

63  {
64  psiSum = WARP_SHUFFLE(WARP_FULL_MASK, psiSum, (threadIdx.x+1) & (WARPSIZE-1), WARPSIZE);
65  }
#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 GBISResults< 1 >::psiSum

Definition at line 61 of file CudaComputeGBISKernel.cu.

Referenced by calcGBISPhase(), and writeResult().


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