Gromacs  2025-dev-20240710-afbd73d
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Attributes
DeviceInformation Struct Reference

#include <gromacs/hardware/device_information.h>

+ Collaboration diagram for DeviceInformation:

Description

Platform-dependent device information.

The 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

DeviceStatus status
 Device status.
 
int id
 ID of the device.
 
DeviceVendor deviceVendor
 Device vendor.
 
gmx::FixedCapacityVector< int, 10 > supportedSubGroupSizes
 Warp/sub-group sizes supported by the device. More...
 
gmx::GpuAwareMpiStatus gpuAwareMpiStatus
 

Member Data Documentation

gmx::FixedCapacityVector<int, 10> DeviceInformation::supportedSubGroupSizes

Warp/sub-group sizes supported by the device.

DeviceInformation must be serializable in CUDA, so we cannot use std::vector here. Arbitrarily limiting to 10.


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