#include <stdio.h>#include <stdlib.h>#include <string.h>#include <CL/cl.h>#include "Inform.h"#include "utilities.h"#include "WKFThreads.h"#include "WKFUtils.h"#include "OpenCLKernels.h"#include "OpenCLUtils.h"Go to the source code of this file.
Definition at line 94 of file OpenCLVolCPotential.C.
Referenced by vmd_opencl_compile_volcpotential_pgm.
Definition at line 92 of file OpenCLVolCPotential.C.
Referenced by openclenergythread, and vmd_opencl_compile_volcpotential_pgm.
Definition at line 93 of file OpenCLVolCPotential.C.
Referenced by openclenergythread, and vmd_opencl_compile_volcpotential_pgm.
Value:
if (clerr != CL_SUCCESS) { \
printf("opencl error %d, %s line %d\n", clerr, __FILE__, __LINE__); \
return NULL; \
}Definition at line 51 of file OpenCLVolCPotential.C.
Referenced by openclenergythread, and vmd_opencl_compile_volcpotential_pgm.
Definition at line 227 of file OpenCLVolCPotential.C.
Referenced by openclenergythread, and vmd_opencl_vol_cpotential.
Definition at line 228 of file OpenCLVolCPotential.C.
Referenced by openclenergythread, and vmd_opencl_vol_cpotential.
Definition at line 64 of file OpenCLVolCPotential.C.
Referenced by copyatomstoconstbuf, and openclenergythread.
Definition at line 225 of file OpenCLVolCPotential.C.
Definition at line 226 of file OpenCLVolCPotential.C.
Definition at line 90 of file OpenCLVolCPotential.C.
Referenced by openclenergythread, and vmd_opencl_compile_volcpotential_pgm.
Definition at line 91 of file OpenCLVolCPotential.C.
Referenced by openclenergythread, and vmd_opencl_compile_volcpotential_pgm.
Definition at line 100 of file OpenCLVolCPotential.C.
Referenced by vmd_opencl_compile_volcpotential_pgm.
Definition at line 98 of file OpenCLVolCPotential.C.
Referenced by openclenergythread, and vmd_opencl_compile_volcpotential_pgm.
Definition at line 99 of file OpenCLVolCPotential.C.
Referenced by openclenergythread, and vmd_opencl_compile_volcpotential_pgm.
Definition at line 232 of file OpenCLVolCPotential.C.
Referenced by openclenergythread, and vmd_opencl_vol_cpotential.
Definition at line 233 of file OpenCLVolCPotential.C.
Referenced by openclenergythread, and vmd_opencl_vol_cpotential.
Definition at line 230 of file OpenCLVolCPotential.C.
Definition at line 231 of file OpenCLVolCPotential.C.
Definition at line 96 of file OpenCLVolCPotential.C.
Referenced by openclenergythread, and vmd_opencl_compile_volcpotential_pgm.
Definition at line 97 of file OpenCLVolCPotential.C.
Referenced by openclenergythread, and vmd_opencl_compile_volcpotential_pgm.
[static]
Definition at line 235 of file OpenCLVolCPotential.C.
References atoms, MAXATOMS, and NULL.
Referenced by cudaenergythread, and openclenergythread.
[static]
Definition at line 361 of file OpenCLVolCPotential.C.
References enthrparms::atoms, atoms, BLOCKSIZEX, BLOCKSIZEY, CLERR, copyatomstoconstbuf, wkf_tasktile_struct::end, GPU_X_ALIGNMASK, GPU_Y_ALIGNMASK, enthrparms::grideners, enthrparms::gridspacing, gridspacing, MAXATOMS, enthrparms::natoms, NULL, enthrparms::numcol, enthrparms::numplane, enthrparms::numpt, wkf_tasktile_struct::start, UNROLLX, UNROLLY, V4BLOCKSIZEX, V4BLOCKSIZEY, V4GPU_X_ALIGNMASK, V4GPU_Y_ALIGNMASK, V4UNROLLX, V4UNROLLY, vmd_cl_get_platform_index, vmd_opencl_compile_volcpotential_pgm, wkf_msg_timer_create, wkf_msg_timer_destroy, wkf_msg_timer_timeout, WKF_SCHED_DONE, wkf_threadlaunch_getdata, wkf_threadlaunch_getid, wkf_threadlaunch_next_tile, wkf_timer_create, wkf_timer_destroy, wkf_timer_start, wkf_timer_timenow, and wkf_timerhandle.
Referenced by vmd_opencl_vol_cpotential.
Definition at line 327 of file OpenCLVolCPotential.C.
References BLOCKSIZE, BLOCKSIZEX, BLOCKSIZEY, clenergysrc, CLERR, NULL, UNROLLX, UNROLLY, V4BLOCKSIZE, V4BLOCKSIZEX, V4BLOCKSIZEY, V4UNROLLX, and V4UNROLLY.
Referenced by openclenergythread.
Definition at line 260 of file OpenCLVolCPotential.C.
References enthrparms::atoms, atoms, wkf_tasktile_struct::end, FLOPSPERATOMEVAL, GPU_X_ALIGNMASK, GPU_Y_ALIGNMASK, enthrparms::grideners, enthrparms::gridspacing, gridspacing, enthrparms::natoms, NULL, enthrparms::numcol, enthrparms::numplane, enthrparms::numpt, openclenergythread, wkf_tasktile_struct::start, V4GPU_X_ALIGNMASK, V4GPU_Y_ALIGNMASK, wkf_threadlaunch, wkf_timer_create, wkf_timer_destroy, wkf_timer_start, wkf_timer_stop, wkf_timer_time, and wkf_timerhandle.
Referenced by vol_cpotential.
Definition at line 106 of file OpenCLVolCPotential.C.
Referenced by vmd_opencl_compile_volcpotential_pgm.