SG++-Doxygen-Documentation
sgpp::base::OCLPlatformWrapper Class Reference

#include <OCLPlatformWrapper.hpp>

Public Member Functions

size_t getDeviceCount ()
 
 OCLPlatformWrapper (cl_platform_id platformId, char(&platformName)[128], const std::vector< cl_device_id > &deviceIds, const std::vector< std::string > &deviceName)
 
 OCLPlatformWrapper (const OCLPlatformWrapper &original)
 
OCLPlatformWrapperoperator= (const OCLPlatformWrapper &other)=delete
 
 ~OCLPlatformWrapper ()
 

Public Attributes

std::vector< cl_command_queue > commandQueues
 
cl_context context
 
std::vector< cl_device_id > deviceIds
 
std::vector< std::string > deviceNames
 
cl_platform_id platformId
 
char platformName [128]
 

Constructor & Destructor Documentation

◆ OCLPlatformWrapper() [1/2]

sgpp::base::OCLPlatformWrapper::OCLPlatformWrapper ( cl_platform_id  platformId,
char(&)  platformName[128],
const std::vector< cl_device_id > &  deviceIds,
const std::vector< std::string > &  deviceName 
)

◆ OCLPlatformWrapper() [2/2]

sgpp::base::OCLPlatformWrapper::OCLPlatformWrapper ( const OCLPlatformWrapper original)

◆ ~OCLPlatformWrapper()

sgpp::base::OCLPlatformWrapper::~OCLPlatformWrapper ( )

Member Function Documentation

◆ getDeviceCount()

◆ operator=()

OCLPlatformWrapper& sgpp::base::OCLPlatformWrapper::operator= ( const OCLPlatformWrapper other)
delete

Member Data Documentation

◆ commandQueues

◆ context

◆ deviceIds

std::vector<cl_device_id> sgpp::base::OCLPlatformWrapper::deviceIds

◆ deviceNames

std::vector<std::string> sgpp::base::OCLPlatformWrapper::deviceNames

◆ platformId

◆ platformName

char sgpp::base::OCLPlatformWrapper::platformName[128]

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