Thin C++-flavored wrappers for the CUDA Runtime API
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
cuda::device::pci_location_t Struct Reference

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 }

Detailed Description

Location "coordinates" for a CUDA device on a PCIe bus.

can be compiled from individual values from a device's properties; see properties_t

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