Gromacs  2026.0-dev-20250122-8a2daf5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
device_management_shared_amd.cpp File Reference
#include "gmxpre.h"
#include "config.h"
#include "device_management_shared_amd.h"
+ Include dependency graph for device_management_shared_amd.cpp:

Description

Defines shared AMD specific methods for device management.

Author
Paul Bauer paul..nosp@m.baue.nosp@m.r.q@g.nosp@m.mail.nosp@m..com

Functions

std::optional< std::array
< std::byte, 16 > > 
getAmdDeviceUuid (int deviceId)
 Optionally get an unique identifier for AMD devices. More...
 
void doubleCheckGpuAwareMpiWillWork (const DeviceInformation &)
 

Function Documentation

void doubleCheckGpuAwareMpiWillWork ( const DeviceInformation deviceInfo)

Run a possible check that GPU-aware MPI will work on deviceInfo

Exceptions
InvalidInputErrorif the user's choices would lead to a crash
std::optional<std::array<std::byte, 16> > getAmdDeviceUuid ( int  deviceId)

Optionally get an unique identifier for AMD devices.

Returns
An unique device id, or nullopt if no sane UUID could be found.