cuda-api-wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
|
Location "coordinates" for a CUDA device on a PCIe bus. More...
#include <pci_id.hpp>
Public Member Functions | |
operator::std::string () const | |
Static Public Member Functions | |
static pci_location_t | parse (const ::std::string &id_str) |
static pci_location_t | parse (const char *id_str) |
Public Attributes | |
int | domain |
int | bus |
int | device |
int | function |
Static Public Attributes | |
static constexpr const int | unused { -1 } |
Location "coordinates" for a CUDA device on a PCIe bus.