Gromacs  2019-beta2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Attributes
gmx_device_info_t Struct Reference

#include <gromacs/gpu_utils/oclutils.h>

+ Collaboration diagram for gmx_device_info_t:

Description

OpenCL device information.

The OpenCL device information is queried and set at detection and contains both information about the device/hardware returned by the runtime as well as additional data like support status.

Public Attributes

ocl_gpu_id_t ocl_gpu_id
 device ID assigned at detection
 
char device_name [256]
 device name
 
char device_version [256]
 device version
 
char device_vendor [256]
 device vendor
 
int compute_units
 number of compute units
 
int adress_bits
 number of adress bits the device is capable of
 
int stat
 device status takes values of e_gpu_detect_res_t
 
ocl_vendor_id_t vendor_e
 device vendor as defined by ocl_vendor_id_t
 
size_t maxWorkItemSizes [3]
 workgroup size limits (CL_DEVICE_MAX_WORK_ITEM_SIZES)
 
size_t maxWorkGroupSize
 workgroup total size limit (CL_DEVICE_MAX_WORK_GROUP_SIZE)
 

The documentation for this struct was generated from the following file: