GBISInput< 1 > 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< 1 > param, const float q)
__device__ __forceinline__
void 
initQj (const float q)
__device__ __forceinline__
void 
shuffleNext ()

Public Attributes

float qi
float qj
float intRad0j
float intRadSi

Detailed Description

template<>
struct GBISInput< 1 >

Definition at line 35 of file CudaComputeGBISKernel.cu.


Member Function Documentation

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

Definition at line 48 of file CudaComputeGBISKernel.cu.

00048 {}

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

Definition at line 49 of file CudaComputeGBISKernel.cu.

00049 {}

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

Definition at line 40 of file CudaComputeGBISKernel.cu.

00040                                                                                                               {
00041     qi = inp1[i];
00042     intRadSi = inp2[i];
00043   }

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

Definition at line 44 of file CudaComputeGBISKernel.cu.

00044                                                                                                               {
00045     qj = inp2[i];
00046     intRad0j = inp1[i];
00047   }

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

Definition at line 50 of file CudaComputeGBISKernel.cu.

References WARP_FULL_MASK, WARP_SHUFFLE, and WARPSIZE.

00050                                                 {
00051     qj       = WARP_SHUFFLE(WARP_FULL_MASK, qj,       (threadIdx.x+1) & (WARPSIZE-1), WARPSIZE);
00052     intRad0j = WARP_SHUFFLE(WARP_FULL_MASK, intRad0j, (threadIdx.x+1) & (WARPSIZE-1), WARPSIZE);
00053   }


Member Data Documentation

float GBISInput< 1 >::intRad0j

Definition at line 37 of file CudaComputeGBISKernel.cu.

float GBISInput< 1 >::intRadSi

Definition at line 37 of file CudaComputeGBISKernel.cu.

float GBISInput< 1 >::qi

Definition at line 36 of file CudaComputeGBISKernel.cu.

float GBISInput< 1 >::qj

Definition at line 36 of file CudaComputeGBISKernel.cu.


The documentation for this struct was generated from the following file:
Generated on Mon Sep 25 01:17:18 2017 for NAMD by  doxygen 1.4.7