Gromacs
2024.4
|
#include <optional>
#include <tuple>
Lookup Intel hardware version from PCI Express ID.
Extracted into a separate file because it contains a huge data table.
Functions | |
std::optional< std::tuple< int, int, int > > | getIntelHardwareVersionFromPciExpressID (unsigned int pciExpressID) |
Look up Intel hardware version from device's PCI Express ID. More... | |
std::optional<std::tuple<int, int, int> > getIntelHardwareVersionFromPciExpressID | ( | unsigned int | pciExpressID | ) |
Look up Intel hardware version from device's PCI Express ID.
The returned values correspond to the ones ocloc
uses.
[in] | pciExpressID | Device ID reported in the device name. |
std::nullopt
otherwise.