Go to the documentation of this file.
6 #ifndef OPENMPCD_CUDA_DEVICE_HPP
7 #define OPENMPCD_CUDA_DEVICE_HPP
93 cudaDeviceProp properties;
unsigned int getPCIBusID() const
Returns the PCI Bus ID of this Device.
void setStackSizePerThread(const std::size_t value) const
Sets the stack size, in bytes, per Device thread.
Class representing a CUDA Device.
const std::string getPCIAddressString() const
Returns a string representing the PCI address.
Device()
Represents the CUDA Device active at the moment of this instance's construction on the current thread...
std::size_t getStackSizePerThread() const
Returns the stack size, in bytes, per Device thread.
unsigned int getPCIDomainID() const
Returns the PCI Domain ID of this Device.
static unsigned int getDeviceCount()
Returns the number of CUDA Devices available.
unsigned int getPCISlotID() const
Returns the PCI Slot ID (also known as PCI Device ID) of this Device.