nngn
Loading...
Searching...
No Matches
anonymous_namespace{opencl.cpp}::Device Class Reference
Collaboration diagram for anonymous_namespace{opencl.cpp}::Device:

Public Types

using Version = nngn::Compute::Version
 

Public Member Functions

cl_device_id id () const
 
Version version () const
 
bool init (cl_device_id id, std::string *tmp)
 

Private Member Functions

bool get_version_info (std::string *tmp)
 

Private Attributes

cl_device_id m_id = {}
 
Version m_version = {}
 

Member Typedef Documentation

◆ Version

using anonymous_namespace{opencl.cpp}::Device::Version = nngn::Compute::Version

Member Function Documentation

◆ get_version_info()

bool anonymous_namespace{opencl.cpp}::Device::get_version_info ( std::string * tmp)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ id()

cl_device_id anonymous_namespace{opencl.cpp}::Device::id ( ) const
inline
Here is the caller graph for this function:

◆ init()

bool anonymous_namespace{opencl.cpp}::Device::init ( cl_device_id id,
std::string * tmp )
Here is the call graph for this function:

◆ version()

Version anonymous_namespace{opencl.cpp}::Device::version ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ m_id

cl_device_id anonymous_namespace{opencl.cpp}::Device::m_id = {}
private

◆ m_version

Version anonymous_namespace{opencl.cpp}::Device::m_version = {}
private

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