#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include <CL/cl.h>#include "WKFThreads.h"#include "OpenCLKernels.h"Go to the source code of this file.
Definition at line 76 of file OpenCLOrbital.C.
Referenced by openclorbitalthread, and vmd_opencl_compile_orbital_pgm.
Definition at line 77 of file OpenCLOrbital.C.
Referenced by openclorbitalthread, and vmd_opencl_compile_orbital_pgm.
Value:
if (clerr != CL_SUCCESS) { \
printf("opencl error %d, %s line %d\n", clerr, __FILE__, __LINE__); \
return NULL; \
}Definition at line 36 of file OpenCLOrbital.C.
Referenced by openclorbitalthread, vmd_opencl_compile_orbital_pgm, and vmd_opencl_create_orbital_handle.
Definition at line 103 of file OpenCLOrbital.C.
Definition at line 104 of file OpenCLOrbital.C.
Definition at line 105 of file OpenCLOrbital.C.
Definition at line 106 of file OpenCLOrbital.C.
Definition at line 113 of file OpenCLOrbital.C.
Definition at line 112 of file OpenCLOrbital.C.
Definition at line 102 of file OpenCLOrbital.C.
Definition at line 101 of file OpenCLOrbital.C.
Definition at line 81 of file OpenCLOrbital.C.
Definition at line 82 of file OpenCLOrbital.C.
Definition at line 74 of file OpenCLOrbital.C.
Referenced by openclorbitalthread, and vmd_opencl_compile_orbital_pgm.
Definition at line 75 of file OpenCLOrbital.C.
Referenced by openclorbitalthread, and vmd_opencl_compile_orbital_pgm.
Definition at line 90 of file OpenCLOrbital.C.
Definition at line 88 of file OpenCLOrbital.C.
Referenced by openclorbitalthread, and vmd_opencl_compile_orbital_pgm.
Definition at line 89 of file OpenCLOrbital.C.
Referenced by openclorbitalthread, and vmd_opencl_compile_orbital_pgm.
Definition at line 93 of file OpenCLOrbital.C.
Definition at line 94 of file OpenCLOrbital.C.
Definition at line 86 of file OpenCLOrbital.C.
Referenced by openclorbitalthread, and vmd_opencl_compile_orbital_pgm.
Definition at line 87 of file OpenCLOrbital.C.
Referenced by openclorbitalthread, and vmd_opencl_compile_orbital_pgm.
[static]
Definition at line 745 of file OpenCLOrbital.C.
Referenced by cudaorbitalthread, and openclorbitalthread.
[static]
Definition at line 752 of file OpenCLOrbital.C.
References orbthrparms::atom_basis, orbthrparms::atompos, orbthrparms::basis_array, BLOCKSIZEX, BLOCKSIZEY, CLERR, vmd_opencl_orbital_handle::cmdq, computepaddedsize, vmd_opencl_orbital_handle::ctx, orbthrparms::density, wkf_tasktile_struct::end, flint_t::f, GPU_X_ALIGNMASK, GPU_Y_ALIGNMASK, flint_t::i, vmd_opencl_orbital_handle::kconstmem, vmd_opencl_orbital_handle::kconstmem_vec4, vmd_opencl_orbital_handle::ktiledshared, MAX_ATOM_SZ, MAX_ATOMSHELL_SZ, MAX_BASIS_SZ, MAX_SHELL_SZ, MAX_WAVEF_SZ, MEMCOALESCE, NULL, orbthrparms::num_basis, orbthrparms::num_prim_per_shell, orbthrparms::num_shells, orbthrparms::num_shells_per_atom, orbthrparms::num_wave_f, orbthrparms::numatoms, orbthrparms::numvoxels, orbthrparms::orbh, orbthrparms::orbitalgrid, orbthrparms::origin, orbthrparms::shell_symmetry, wkf_tasktile_struct::start, UNROLLX, UNROLLY, V4BLOCKSIZEX, V4BLOCKSIZEY, V4GPU_X_ALIGNMASK, V4GPU_Y_ALIGNMASK, V4UNROLLX, V4UNROLLY, orbthrparms::voxelsize, orbthrparms::wave_f, WKF_SCHED_DONE, wkf_threadlaunch_getdata, wkf_threadlaunch_getid, wkf_threadlaunch_next_tile, wkf_threadpool_next_tile, wkf_threadpool_worker_devscaletile, wkf_threadpool_worker_getdata, and wkf_threadpool_worker_getid.
Referenced by vmd_opencl_evaluate_orbital_grid.
Definition at line 684 of file OpenCLOrbital.C.
References BLOCKSIZE, BLOCKSIZEX, BLOCKSIZEY, CLERR, clorbitalsrc, MAXSHELLCOUNT, MEMCOAMASK, NULL, SHAREDSIZE, UNROLLX, UNROLLY, V4BLOCKSIZEX, V4BLOCKSIZEY, V4UNROLLX, and V4UNROLLY.
Referenced by vmd_opencl_create_orbital_handle.
Definition at line 711 of file OpenCLOrbital.C.
References CLERR, vmd_opencl_orbital_handle::cmdq, vmd_opencl_orbital_handle::ctx, vmd_opencl_orbital_handle::devs, vmd_opencl_orbital_handle::kconstmem, vmd_opencl_orbital_handle::kconstmem_vec4, vmd_opencl_orbital_handle::ktiledshared, vmd_opencl_orbital_handle::pgm, and vmd_opencl_compile_orbital_pgm.
Referenced by Orbital::calculate_mo.
Definition at line 733 of file OpenCLOrbital.C.
References vmd_opencl_orbital_handle::kconstmem, vmd_opencl_orbital_handle::kconstmem_vec4, vmd_opencl_orbital_handle::ktiledshared, and vmd_opencl_orbital_handle::pgm.
Referenced by Orbital::calculate_mo.
Definition at line 1067 of file OpenCLOrbital.C.
References orbthrparms::atom_basis, orbthrparms::atompos, orbthrparms::basis_array, orbthrparms::density, wkf_tasktile_struct::end, orbthrparms::num_basis, orbthrparms::num_prim_per_shell, orbthrparms::num_shells, orbthrparms::num_shells_per_atom, orbthrparms::num_wave_f, orbthrparms::numatoms, orbthrparms::numvoxels, openclorbitalthread, orbthrparms::orbh, orbthrparms::orbitalgrid, orbthrparms::origin, orbthrparms::shell_symmetry, wkf_tasktile_struct::start, orbthrparms::voxelsize, orbthrparms::wave_f, wkf_threadlaunch, wkf_threadpool_launch, and wkf_threadpool_sched_dynamic.
Referenced by Orbital::calculate_mo.