NAMD
|
#include <CudaComputeGBISKernel.h>
Public Member Functions | |
CudaComputeGBISKernel (int deviceID) | |
~CudaComputeGBISKernel () | |
void | updateIntRad (const int atomStorageSize, float *intRad0H, float *intRadSH, cudaStream_t stream) |
void | updateBornRad (const int atomStorageSize, float *bornRadH, cudaStream_t stream) |
void | update_dHdrPrefix (const int atomStorageSize, float *dHdrPrefixH, cudaStream_t stream) |
void | GBISphase1 (CudaTileListKernel &tlKernel, const int atomStorageSize, const float3 lata, const float3 latb, const float3 latc, const float a_cut, float *h_psiSum, cudaStream_t stream) |
void | GBISphase2 (CudaTileListKernel &tlKernel, const int atomStorageSize, const bool doEnergy, const bool doSlow, const float3 lata, const float3 latb, const float3 latc, const float r_cut, const float scaling, const float kappa, const float smoothDist, const float epsilon_p, const float epsilon_s, float4 *d_forces, float *h_dEdaSum, cudaStream_t stream) |
void | GBISphase3 (CudaTileListKernel &tlKernel, const int atomStorageSize, const float3 lata, const float3 latb, const float3 latc, const float a_cut, float4 *d_forces, cudaStream_t stream) |
Definition at line 5 of file CudaComputeGBISKernel.h.
CudaComputeGBISKernel::CudaComputeGBISKernel | ( | int | deviceID | ) |
CudaComputeGBISKernel::~CudaComputeGBISKernel | ( | ) |
void CudaComputeGBISKernel::GBISphase1 | ( | CudaTileListKernel & | tlKernel, |
const int | atomStorageSize, | ||
const float3 | lata, | ||
const float3 | latb, | ||
const float3 | latc, | ||
const float | a_cut, | ||
float * | h_psiSum, | ||
cudaStream_t | stream | ||
) |
Definition at line 503 of file CudaComputeGBISKernel.cu.
References GBISParam< 1 >::a_cut, cudaCheck, cutoff2, deviceCUDA, FS_MAX, GBISKERNEL_NUM_WARP, CudaTileListKernel::get_xyzq(), DeviceCUDA::getMaxNumBlocks(), CudaTileListKernel::getNumTileListsGBIS(), CudaTileListKernel::getPatchPairs(), CudaTileListKernel::getTileJatomStartGBIS(), CudaTileListKernel::getTileListsGBIS(), lata, latb, latc, stream, and WARPSIZE.
void CudaComputeGBISKernel::GBISphase2 | ( | CudaTileListKernel & | tlKernel, |
const int | atomStorageSize, | ||
const bool | doEnergy, | ||
const bool | doSlow, | ||
const float3 | lata, | ||
const float3 | latb, | ||
const float3 | latc, | ||
const float | r_cut, | ||
const float | scaling, | ||
const float | kappa, | ||
const float | smoothDist, | ||
const float | epsilon_p, | ||
const float | epsilon_s, | ||
float4 * | d_forces, | ||
float * | h_dEdaSum, | ||
cudaStream_t | stream | ||
) |
Definition at line 531 of file CudaComputeGBISKernel.cu.
References CALL, cudaCheck, deviceCUDA, GBISParam< 2 >::epsilon_p_i, GBISParam< 2 >::epsilon_s_i, GBISKERNEL_NUM_WARP, DeviceCUDA::getMaxNumBlocks(), CudaTileListKernel::getNumTileListsGBIS(), GBISParam< 2 >::kappa, GBISParam< 2 >::r_cut2, GBISParam< 2 >::r_cut_2, GBISParam< 2 >::r_cut_4, GBISParam< 2 >::scaling, CudaTileListKernel::setTileListVirialEnergyGBISLength(), GBISParam< 2 >::smoothDist, stream, and WARPSIZE.
void CudaComputeGBISKernel::GBISphase3 | ( | CudaTileListKernel & | tlKernel, |
const int | atomStorageSize, | ||
const float3 | lata, | ||
const float3 | latb, | ||
const float3 | latc, | ||
const float | a_cut, | ||
float4 * | d_forces, | ||
cudaStream_t | stream | ||
) |
Definition at line 579 of file CudaComputeGBISKernel.cu.
References GBISParam< 3 >::a_cut, cudaCheck, cutoff2, deviceCUDA, FS_MAX, GBISKERNEL_NUM_WARP, CudaTileListKernel::get_xyzq(), DeviceCUDA::getMaxNumBlocks(), CudaTileListKernel::getNumTileListsGBIS(), CudaTileListKernel::getPatchPairs(), CudaTileListKernel::getTileJatomStartGBIS(), CudaTileListKernel::getTileListsGBIS(), lata, latb, latc, and WARPSIZE.
void CudaComputeGBISKernel::update_dHdrPrefix | ( | const int | atomStorageSize, |
float * | dHdrPrefixH, | ||
cudaStream_t | stream | ||
) |
void CudaComputeGBISKernel::updateBornRad | ( | const int | atomStorageSize, |
float * | bornRadH, | ||
cudaStream_t | stream | ||
) |
void CudaComputeGBISKernel::updateIntRad | ( | const int | atomStorageSize, |
float * | intRad0H, | ||
float * | intRadSH, | ||
cudaStream_t | stream | ||
) |