GBISResults< 3 > Struct Template Reference

List of all members.

Public Member Functions

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

Public Attributes

float3 force

Detailed Description

template<>
struct GBISResults< 3 >

Definition at line 251 of file CudaComputeGBISKernel.cu.


Member Function Documentation

__device__ __forceinline__ void GBISResults< 3 >::init (  )  [inline]

Definition at line 253 of file CudaComputeGBISKernel.cu.

00253 {force.x = 0.0f; force.y = 0.0f; force.z = 0.0f;}

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

Definition at line 254 of file CudaComputeGBISKernel.cu.

References WARP_FULL_MASK, WARP_SHUFFLE, and WARPSIZE.

00254                                                 {
00255     force.x = WARP_SHUFFLE(WARP_FULL_MASK, force.x, (threadIdx.x+1) & (WARPSIZE-1), WARPSIZE);
00256     force.y = WARP_SHUFFLE(WARP_FULL_MASK, force.y, (threadIdx.x+1) & (WARPSIZE-1), WARPSIZE);
00257     force.z = WARP_SHUFFLE(WARP_FULL_MASK, force.z, (threadIdx.x+1) & (WARPSIZE-1), WARPSIZE);
00258   }


Member Data Documentation

float3 GBISResults< 3 >::force

Definition at line 252 of file CudaComputeGBISKernel.cu.


The documentation for this struct was generated from the following file:
Generated on Sat Sep 23 01:17:19 2017 for NAMD by  doxygen 1.4.7