#include "msmpot_cuda.h"
Go to the source code of this file.
Defines | |
#define | BLOCK_DIM_X 8 |
#define | BLOCK_DIM_Y 2 |
#define | UNROLL_Y 4 |
#define | BLOCK_DIM_Z 8 |
#define | REGSIZE_X BLOCK_DIM_X |
#define | REGSIZE_Y (BLOCK_DIM_Y * UNROLL_Y) |
#define | REGSIZE_Z BLOCK_DIM_Z |
#define | REGION_SIZE (REGSIZE_X * REGSIZE_Y * REGSIZE_Z) |
#define | LOG_BDIM_X 3 |
#define | LOG_BDIM_Y 1 |
#define | LOG_UNRL_Y 2 |
#define | LOG_BDIM_Z 3 |
#define | LOG_REGS_X LOG_BDIM_X |
#define | LOG_REGS_Y (LOG_BDIM_Y + LOG_UNRL_Y) |
#define | LOG_REGS_Z LOG_BDIM_Z |
#define | LOG_REGSIZE (LOG_REGS_X + LOG_REGS_Y + LOG_REGS_Z) |
#define | MASK_REGS_X (REGSIZE_X - 1) |
#define | MASK_REGS_Y (REGSIZE_Y - 1) |
#define | MASK_REGS_Z (REGSIZE_Z - 1) |
#define | MAX_BIN_DEPTH 8 |
#define | DSHIFT (LOG_BDIM_X + LOG_BDIM_Y) |
#define | REGSXY (REGSIZE_X * REGSIZE_Y) |
#define | BDIMXY (BLOCK_DIM_X * BLOCK_DIM_Y) |
#define | MASK (BDIMXY - 1) |
#define | DSHIFT (LOG_BDIM_X + LOG_BDIM_Y) |
#define | REGSXY (REGSIZE_X * REGSIZE_Y) |
#define | BDIMXY (BLOCK_DIM_X * BLOCK_DIM_Y) |
#define | MASK (BDIMXY - 1) |
Functions | |
__global__ void | cuda_shortrange_nonperiodic (float *regionBase, int zRegionDim, float dx, float dy, float dz, float rx0, float ry0, float rz0, float4 *binBase, int xBinDim, int yBinDim, int zBinDim, int bindepth, float invbx, float invby, float invbz, float cutoff2, float invcut) |
__global__ void | cuda_shortrange (float *regionBase, int zRegionDim, float dx, float dy, float dz, float rx0, float ry0, float rz0, float px, float py, float pz, int isperiodic, float4 *binBase, int xBinDim, int yBinDim, int zBinDim, int bindepth, float invbx, float invby, float invbz, float cutoff2, float invcut) |
void | Msmpot_cuda_cleanup_shortrng (MsmpotCuda *mc) |
int | Msmpot_cuda_setup_shortrng (MsmpotCuda *mc) |
int | Msmpot_cuda_compute_shortrng (MsmpotCuda *mc) |
Variables | |
__constant__ int | NbrListLen |
__constant__ int3 | NbrList [NBRLIST_MAXLEN] |
|
|
|
|
|
Definition at line 24 of file msmpot_cuda_shortrng.cu. Referenced by cuda_shortrange, cuda_shortrange_nonperiodic, and Msmpot_cuda_compute_shortrng. |
|
Definition at line 25 of file msmpot_cuda_shortrng.cu. Referenced by cuda_shortrange, cuda_shortrange_nonperiodic, and Msmpot_cuda_compute_shortrng. |
|
Definition at line 27 of file msmpot_cuda_shortrng.cu. Referenced by Msmpot_cuda_compute_shortrng. |
|
|
|
|
|
Definition at line 35 of file msmpot_cuda_shortrng.cu. |
|
Definition at line 36 of file msmpot_cuda_shortrng.cu. |
|
Definition at line 38 of file msmpot_cuda_shortrng.cu. |
|
Definition at line 40 of file msmpot_cuda_shortrng.cu. Referenced by Msmpot_cuda_compute_shortrng, and Msmpot_cuda_setup_shortrng. |
|
Definition at line 41 of file msmpot_cuda_shortrng.cu. Referenced by Msmpot_cuda_compute_shortrng, and Msmpot_cuda_setup_shortrng. |
|
Definition at line 42 of file msmpot_cuda_shortrng.cu. Referenced by Msmpot_cuda_compute_shortrng, and Msmpot_cuda_setup_shortrng. |
|
Definition at line 44 of file msmpot_cuda_shortrng.cu. |
|
Definition at line 37 of file msmpot_cuda_shortrng.cu. |
|
|
|
|
|
Definition at line 46 of file msmpot_cuda_shortrng.cu. Referenced by Msmpot_cuda_compute_shortrng, and Msmpot_cuda_setup_shortrng. |
|
Definition at line 47 of file msmpot_cuda_shortrng.cu. Referenced by Msmpot_cuda_compute_shortrng, and Msmpot_cuda_setup_shortrng. |
|
Definition at line 48 of file msmpot_cuda_shortrng.cu. Referenced by Msmpot_cuda_compute_shortrng, and Msmpot_cuda_setup_shortrng. |
|
Definition at line 52 of file msmpot_cuda_shortrng.cu. Referenced by cuda_shortrange, and cuda_shortrange_nonperiodic. |
|
Definition at line 33 of file msmpot_cuda_shortrng.cu. Referenced by cuda_shortrange, cuda_shortrange_nonperiodic, and Msmpot_cuda_compute_shortrng. |
|
Definition at line 29 of file msmpot_cuda_shortrng.cu. Referenced by cuda_shortrange, cuda_shortrange_nonperiodic, Msmpot_cuda_compute_shortrng, and Msmpot_cuda_setup_shortrng. |
|
Definition at line 30 of file msmpot_cuda_shortrng.cu. Referenced by cuda_shortrange, cuda_shortrange_nonperiodic, Msmpot_cuda_compute_shortrng, and Msmpot_cuda_setup_shortrng. |
|
Definition at line 31 of file msmpot_cuda_shortrng.cu. Referenced by cuda_shortrange, cuda_shortrange_nonperiodic, and Msmpot_cuda_setup_shortrng. |
|
|
|
|
|
Definition at line 26 of file msmpot_cuda_shortrng.cu. |
|
Definition at line 263 of file msmpot_cuda_shortrng.cu. References bin, BLOCK_DIM_X, BLOCK_DIM_Y, IS_SET_X, IS_SET_Y, IS_SET_Z, MAX_BIN_DEPTH, n, NbrList, NbrListLen, REGION_SIZE, REGSIZE_X, REGSIZE_Y, REGSIZE_Z, and z. |
|
Definition at line 91 of file msmpot_cuda_shortrng.cu. References bin, BLOCK_DIM_X, BLOCK_DIM_Y, MAX_BIN_DEPTH, n, NbrList, NbrListLen, REGION_SIZE, REGSIZE_X, REGSIZE_Y, REGSIZE_Z, and z. |
|
Definition at line 492 of file msmpot_cuda_shortrng.cu. Referenced by Msmpot_cuda_cleanup. |
|
|
Definition at line 502 of file msmpot_cuda_shortrng.cu. References Msmpot_t::bindepth, Msmpot_t::boff, CUERR, Msmpot_t::dx, Msmpot_t::dy, Msmpot_t::dz, ERROR, Msmpot_t::isperiodic, LOG_REGS_X, LOG_REGS_Y, LOG_REGS_Z, MASK_REGS_X, MASK_REGS_Y, MASK_REGS_Z, Msmpot_compute_shortrng_bin_neighborhood, MSMPOT_ERROR_CUDA_MALLOC, MSMPOT_ERROR_CUDA_MEMCPY, MSMPOT_ERROR_CUDA_SUPPORT, MSMPOT_ERROR_MALLOC, MSMPOT_SUCCESS, Msmpot_t::mx, Msmpot_t::my, Msmpot_t::mz, n, Msmpot_t::nboff, NbrList, NbrListLen, Msmpot_t::nbx, Msmpot_t::nby, Msmpot_t::nbz, NULL, REGSIZE_X, REGSIZE_Y, REGSIZE_Z, and REPORT. Referenced by Msmpot_cuda_setup. |
|
Definition at line 59 of file msmpot_cuda_shortrng.cu. Referenced by cuda_shortrange, cuda_shortrange_nonperiodic, and Msmpot_cuda_setup_shortrng. |
|
Definition at line 58 of file msmpot_cuda_shortrng.cu. Referenced by cuda_shortrange, cuda_shortrange_nonperiodic, and Msmpot_cuda_setup_shortrng. |