#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cuda.h>
#include "WKFThreads.h"
#include "WKFUtils.h"
#include "CUDAKernels.h"
#include "utilities.h"
Go to the source code of this file.
Definition in file CUDAVolMapCreateILS.cu.
Definition at line 86 of file CUDAVolMapCreateILS.cu.
Definition at line 89 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, and cuda_occupancy_multiatom.
Definition at line 88 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
Definition at line 90 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, and cuda_occupancy_multiatom.
Definition at line 87 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
Definition at line 182 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
Value:
do { \
cudaError_t err; \
if ((err = cudaGetLastError()) != cudaSuccess) { \
printf("CUDA error: %s, %s line %d\n", cudaGetErrorString(err), __FILE__, __LINE__); \
printf("Thread aborting...\n"); \
return NULL; \
} \
} while (0)Definition at line 38 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_occupancy_thread.
Definition at line 176 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, and cuda_occupancy_multiatom.
Definition at line 164 of file CUDAVolMapCreateILS.cu.
Definition at line 153 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_occupancy_multiatom, and cuda_occupancy_thread.
Definition at line 180 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, and cuda_occupancy_multiatom.
Definition at line 184 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, and cuda_occupancy_multiatom.
Definition at line 197 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_occupancy_multiatom, and cuda_occupancy_thread.
Definition at line 75 of file CUDAVolMapCreateILS.cu.
Definition at line 76 of file CUDAVolMapCreateILS.cu.
Definition at line 67 of file CUDAVolMapCreateILS.cu.
[static]
Definition at line 320 of file CUDAVolMapCreateILS.cu.
References BIN_SHIFT, BIN_SIZE, BIN_SLOTSHIFT, BIN_SLOTSIZE, BSHIFT, const_binoffsets, const_bx_1, const_by_1, const_bz_1, const_cutoff, const_extra, const_hx, const_hy, const_hz, const_max_energy, const_num_binoffsets, const_num_extras, const_probevdwparms, const_vdwparms, const_x0, const_y0, const_z0, DO_ONE_PLANE, n, NTHREADSPERBLOCK, and NTPBSHIFT.
[static]
Definition at line 495 of file CUDAVolMapCreateILS.cu.
References BIN_SHIFT, BIN_SIZE, BIN_SLOTSHIFT, BIN_SLOTSIZE, BSHIFT, const_binoffsets, const_bx_1, const_by_1, const_bz_1, const_cutoff, const_extra, const_hx, const_hy, const_hz, const_max_energy, const_num_binoffsets, const_num_extras, const_probevdwparms, const_vdwparms, const_x0, const_y0, const_z0, DO_ONE_PLANE, n, NTHREADSPERBLOCK, and NTPBSHIFT.
[static]
Definition at line 667 of file CUDAVolMapCreateILS.cu.
References BIN_SHIFT, BIN_SIZE, BIN_SLOTSHIFT, BIN_SLOTSIZE, BSHIFT, conf, const_binoffsets, const_bx_1, const_by_1, const_bz_1, const_conformers, const_cutoff, const_extra, const_hx, const_hy, const_hz, const_inv_numconf, const_min_occupancy, const_num_binoffsets, const_num_conformers, const_num_extras, const_num_probes, const_probevdwparms, const_vdwparms, const_x0, const_y0, const_z0, DO_ONE_PLANE, MAX_ALLOWABLE_ENERGY, MAX_PROBES, n, NCONFPERLOOP, NTHREADSPERBLOCK, NTPB_TIMES_NCPL, NTPBSHIFT, and PADMASK.
[static]
Definition at line 1036 of file CUDAVolMapCreateILS.cu.
References occthrparms_t::bin, BIN_SIZE, BIN_SLOTSIZE, occthrparms_t::bin_zero, occthrparms_t::binoffsets, BSHIFT, occthrparms_t::bx_1, occthrparms_t::by_1, occthrparms_t::bz_1, occthrparms_t::conformers, const_binoffsets, const_bx_1, const_by_1, const_bz_1, const_conformers, const_cutoff, const_excloffsets, const_extra, const_hx, const_hy, const_hz, const_inv_numconf, const_max_energy, const_min_excldist, const_min_occupancy, const_num_binoffsets, const_num_conformers, const_num_extras, const_num_probes, const_probevdwparms, const_vdwparms, const_x0, const_y0, const_z0, CUERR, occthrparms_t::cutoff, occthrparms_t::errcode, occthrparms_t::extra, occthrparms_t::hx, occthrparms_t::hy, occthrparms_t::hz, occthrparms_t::map, MAX_BINOFFSETS, MAX_CONFORMERS, occthrparms_t::max_energy, MAX_EXTRAS, MAX_PROBES, MAX_THREADBLOCKS, MAX_VDWPARMS, occthrparms_t::min_excldist, occthrparms_t::mx, occthrparms_t::my, occthrparms_t::mz, n, occthrparms_t::nbx, occthrparms_t::nby, occthrparms_t::nbz, NULL, occthrparms_t::num_binoffsets, occthrparms_t::num_conformers, occthrparms_t::num_extras, occthrparms_t::num_probes, occthrparms_t::num_vdwparms, PADMASK, occthrparms_t::probevdwparms, THBLEN, occthrparms_t::vdwparms, vmd_cuda_num_devices, VMDCUDA_ERR_NONE, wkf_timer_create, wkf_timer_destroy, wkf_timer_start, wkf_timer_timenow, wkf_timerhandle, occthrparms_t::x0, occthrparms_t::y0, and occthrparms_t::z0.
Referenced by vmd_cuda_evaluate_occupancy_map.
Definition at line 1601 of file CUDAVolMapCreateILS.cu.
References occthrparms_t::bin, bin, occthrparms_t::bin_zero, occthrparms_t::binoffsets, occthrparms_t::bx_1, occthrparms_t::by_1, occthrparms_t::bz_1, occthrparms_t::conformers, cuda_occupancy_thread, occthrparms_t::cutoff, occthrparms_t::errcode, occthrparms_t::extra, occthrparms_t::hx, occthrparms_t::hy, occthrparms_t::hz, occthrparms_t::map, occthrparms_t::max_energy, occthrparms_t::min_excldist, occthrparms_t::mx, occthrparms_t::my, occthrparms_t::mz, occthrparms_t::nbx, occthrparms_t::nby, occthrparms_t::nbz, occthrparms_t::num_binoffsets, occthrparms_t::num_conformers, occthrparms_t::num_extras, occthrparms_t::num_probes, occthrparms_t::num_vdwparms, occthrparms_t::probevdwparms, occthrparms_t::vdwparms, occthrparms_t::x0, occthrparms_t::y0, and occthrparms_t::z0.
[static]
Definition at line 161 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 141 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 141 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 141 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 173 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 137 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
[static]
Definition at line 157 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 139 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 139 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 139 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 143 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 135 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, and cuda_occupancy_thread.
[static]
[static]
Definition at line 136 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 145 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 148 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 146 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 147 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 154 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 151 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 140 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 140 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.
[static]
Definition at line 140 of file CUDAVolMapCreateILS.cu.
Referenced by cuda_find_energy_exclusions, cuda_occupancy_monoatom, cuda_occupancy_multiatom, and cuda_occupancy_thread.