Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Dnn::Compute::DeviceProps Class Referenceexport

Public Member Functions

 DeviceProps (int deviceId)
 
const std::pair< int, int > getComputeCapability () const
 
const std::string getName () const
 
const cudaDeviceProp * getProperties () const
 
const size_t getTotalGlobalMem () const
 
std::string toString () const
 

Private Attributes

cudaDeviceProp props_
 

Constructor & Destructor Documentation

◆ DeviceProps()

Mila::Dnn::Compute::DeviceProps::DeviceProps ( int  deviceId)
inline
Here is the call graph for this function:

Member Function Documentation

◆ getComputeCapability()

const std::pair< int, int > Mila::Dnn::Compute::DeviceProps::getComputeCapability ( ) const
inline

◆ getName()

const std::string Mila::Dnn::Compute::DeviceProps::getName ( ) const
inline

◆ getProperties()

const cudaDeviceProp * Mila::Dnn::Compute::DeviceProps::getProperties ( ) const
inline

◆ getTotalGlobalMem()

const size_t Mila::Dnn::Compute::DeviceProps::getTotalGlobalMem ( ) const
inline

◆ toString()

std::string Mila::Dnn::Compute::DeviceProps::toString ( ) const
inline
Here is the call graph for this function:

Member Data Documentation

◆ props_

cudaDeviceProp Mila::Dnn::Compute::DeviceProps::props_
private

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