27#include <boost/thread/lock_types.hpp>
28#include <boost/thread/shared_mutex.hpp>
32#ifdef ORE_ENABLE_OPENCL
40#define ORE_OPENCL_MAX_N_PLATFORMS 4U
41#define ORE_OPENCL_MAX_N_DEVICES 8U
59#ifdef ORE_ENABLE_OPENCL
60 static cl_uint nPlatforms_;
std::map< std::string, ComputeContext * > contexts_
static std::string platformName_[4U]
static std::vector< std::pair< std::string, std::string > > deviceInfo_[4U][8U]
~OpenClFramework() override final
static std::string deviceName_[4U][8U]
static bool supportsDoublePrecision_[4U][8U]
static boost::shared_mutex mutex_
ComputeContext * getContext(const std::string &deviceName) override final
std::set< std::string > getAvailableDevices() const override final
interface to compute envs
#define ORE_OPENCL_MAX_N_PLATFORMS
#define ORE_OPENCL_MAX_N_DEVICES