Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

msmpot_cuda_latcut.cu File Reference

#include "msmpot_cuda.h"

Go to the source code of this file.

Defines

#define MAXLEVELS   28
#define SUBCUBESZ   64
#define LG_SUBCUBESZ   6
#define PRECOMP_1
#define UNROLL_1
#define SHMEMCOPY
#define UNROLL_2
#define MAX_GRID_DIM   65536u

Functions

__global__ void cuda_latcut (unsigned int nsubcubes, int nlevels, int srad, int padding, float *qgrids, float *egrids)
void Msmpot_cuda_cleanup_latcut (MsmpotCuda *mc)
int Msmpot_cuda_setup_latcut (MsmpotCuda *mc)
int Msmpot_cuda_condense_qgrids (MsmpotCuda *mc)
int Msmpot_cuda_expand_egrids (MsmpotCuda *mc)
int Msmpot_cuda_compute_latcut (MsmpotCuda *mc)

Variables

__constant__ int4 sinfo [MAXLEVELS]
__constant__ float lfac [MAXLEVELS]
__constant__ float wt [24 *24 *24]


Define Documentation

#define LG_SUBCUBESZ   6
 

Definition at line 23 of file msmpot_cuda_latcut.cu.

#define MAX_GRID_DIM   65536u
 

#define MAXLEVELS   28
 

Definition at line 21 of file msmpot_cuda_latcut.cu.

Referenced by Msmpot_cuda_setup_latcut.

#define PRECOMP_1
 

Definition at line 26 of file msmpot_cuda_latcut.cu.

#define SHMEMCOPY
 

Definition at line 32 of file msmpot_cuda_latcut.cu.

#define SUBCUBESZ   64
 

Definition at line 22 of file msmpot_cuda_latcut.cu.

Referenced by cuda_latcut, Msmpot_cuda_compute_latcut, Msmpot_cuda_condense_qgrids, Msmpot_cuda_expand_egrids, and Msmpot_cuda_setup_latcut.

#define UNROLL_1
 

Definition at line 29 of file msmpot_cuda_latcut.cu.

#define UNROLL_2
 

Definition at line 35 of file msmpot_cuda_latcut.cu.


Function Documentation

__global__ void cuda_latcut unsigned int    nsubcubes,
int    nlevels,
int    srad,
int    padding,
float *    qgrids,
float *    egrids
[static]
 

Definition at line 50 of file msmpot_cuda_latcut.cu.

References lfac, sinfo, SUBCUBESZ, and wt.

void Msmpot_cuda_cleanup_latcut MsmpotCuda *    mc
 

Definition at line 322 of file msmpot_cuda_latcut.cu.

Referenced by Msmpot_cuda_cleanup.

int Msmpot_cuda_compute_latcut MsmpotCuda *    mc
 

Definition at line 640 of file msmpot_cuda_latcut.cu.

References CUERR, ERROR, lfac, MSMPOT_ERROR_CUDA_KERNEL, MSMPOT_ERROR_CUDA_MEMCPY, MSMPOT_ERROR_CUDA_SUPPORT, sinfo, SUBCUBESZ, and wt.

Referenced by Msmpot_compute_longrng_cubic.

int Msmpot_cuda_condense_qgrids MsmpotCuda *    mc
 

Definition at line 496 of file msmpot_cuda_latcut.cu.

References IS_SET_X, IS_SET_Y, IS_SET_Z, and SUBCUBESZ.

Referenced by Msmpot_compute_longrng_cubic.

int Msmpot_cuda_expand_egrids MsmpotCuda *    mc
 

Definition at line 581 of file msmpot_cuda_latcut.cu.

References SUBCUBESZ.

Referenced by Msmpot_compute_longrng_cubic.

int Msmpot_cuda_setup_latcut MsmpotCuda *    mc
 

Definition at line 333 of file msmpot_cuda_latcut.cu.

References Msmpot_t::a, CUERR, ERROR, Msmpot_t::hx, Msmpot_t::hy, Msmpot_t::hz, Msmpot_t::isperiodic, lfac, MAXLEVELS, Msmpot_t::maxlevels, MSMPOT_ERROR_CUDA_MALLOC, MSMPOT_ERROR_CUDA_SUPPORT, MSMPOT_ERROR_MALLOC, MSMPOT_SUCCESS, Msmpot_t::nlevels, NULL, Msmpot_t::qh, Msmpot_t::split, SPOLY, SUBCUBESZ, and wt.

Referenced by Msmpot_cuda_setup.


Variable Documentation

__constant__ float lfac[MAXLEVELS]
 

Definition at line 44 of file msmpot_cuda_latcut.cu.

Referenced by cuda_latcut, Msmpot_cuda_compute_latcut, and Msmpot_cuda_setup_latcut.

__constant__ int4 sinfo[MAXLEVELS]
 

Definition at line 37 of file msmpot_cuda_latcut.cu.

Referenced by cuda_latcut, and Msmpot_cuda_compute_latcut.

__constant__ float wt[24*24*24]
 

Definition at line 47 of file msmpot_cuda_latcut.cu.

Referenced by cluster_get_fitrmsd, cuda_latcut, MatrixFitRMS, Msmpot_cuda_compute_latcut, Msmpot_cuda_setup_latcut, and MyMatrixFitRMS.


Generated on Sat Nov 9 02:46:01 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002