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
 
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)
 
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)
 
bool get_version_info (std::string *tmp)
 

Private Attributes

cl_device_id m_id = {}
 
Version m_version = {}
 

Member Typedef Documentation

◆ Version [1/2]

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

◆ Version [2/2]

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

Member Function Documentation

◆ get_version_info() [1/2]

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:

◆ get_version_info() [2/2]

bool anonymous_namespace{opencl.cpp}::Device::get_version_info ( std::string *  tmp)
private

◆ id() [1/2]

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

◆ id() [2/2]

cl_device_id anonymous_namespace{opencl.cpp}::Device::id ( ) const
inline

◆ init() [1/2]

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

◆ init() [2/2]

bool anonymous_namespace{opencl.cpp}::Device::init ( cl_device_id  id,
std::string *  tmp 
)

◆ version() [1/2]

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

◆ version() [2/2]

Version anonymous_namespace{opencl.cpp}::Device::version ( ) const
inline

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 files: