|
Gromacs
2025.3
|
#include "gmxpre.h"#include <cassert>#include <cmath>#include <cstdarg>#include <cstdio>#include <cstdlib>#include <cstring>#include "gromacs/hardware/device_information.h"#include "gromacs/hardware/device_management.h"#include "gromacs/math/vectypes.h"#include "gromacs/mdlib/force_flags.h"#include "gromacs/mdtypes/interaction_const.h"#include "gromacs/mdtypes/md_enums.h"#include "gromacs/nbnxm/atomdata.h"#include "gromacs/nbnxm/gpu_data_mgmt.h"#include "gromacs/nbnxm/gpu_jit_support.h"#include "gromacs/nbnxm/nbnxm.h"#include "gromacs/nbnxm/nbnxm_gpu.h"#include "gromacs/nbnxm/nbnxm_gpu_data_mgmt.h"#include "gromacs/nbnxm/pairlistsets.h"#include "gromacs/timing/gpu_timing.h"#include "gromacs/utility/cstringutil.h"#include "gromacs/utility/fatalerror.h"#include "gromacs/utility/gmxassert.h"#include "gromacs/utility/real.h"#include "gromacs/utility/smalloc.h"#include "nbnxm_ocl_types.h"
Include dependency graph for nbnxm_ocl_data_mgmt.cpp:Define OpenCL implementation of nbnxm_gpu_data_mgmt.h.
Functions | |
| static cl_kernel | gmx::nbnxn_gpu_create_kernel (NbnxmGpu *nb, const char *kernel_name) |
| Initializes the OpenCL kernel pointers of the nbnxn_ocl_ptr_t input data structure. | |
| static void | gmx::nbnxn_gpu_init_kernels (NbnxmGpu *nb) |
| Initializes the OpenCL kernel pointers of the nbnxn_ocl_ptr_t input data structure. | |
| void | gmx::gpu_init_platform_specific (NbnxmGpu *nb) |
| Initializes the NBNXM GPU data structures. | |
| static void | gmx::free_kernel (cl_kernel *kernel_ptr) |
| Releases an OpenCL kernel pointer. | |
| static void | gmx::free_kernels (cl_kernel *kernels, int count) |
| Releases a list of OpenCL kernel pointers. | |
| static void | gmx::freeGpuProgram (cl_program program) |
| Free the OpenCL program. More... | |
| void | gmx::gpu_free_platform_specific (NbnxmGpu *nb) |
| Releases the NBNXM GPU data structures. More... | |
| int | gmx::gpu_min_ci_balanced (NbnxmGpu *nb) |
| This function is documented in the header file. | |
Variables | |
| static unsigned int | gmx::gpu_min_ci_balanced_factor = 50 |
| This parameter should be determined heuristically from the kernel execution times. More... | |
1.8.5