#include <qle/math/openclenvironment.hpp>
Definition at line 45 of file openclenvironment.hpp.
◆ OpenClFramework()
◆ ~OpenClFramework()
◆ getAvailableDevices()
std::set< std::string > getAvailableDevices |
( |
| ) |
const |
|
finaloverridevirtual |
Implements ComputeFramework.
Definition at line 1638 of file openclenvironment.cpp.
1638 {
1639 std::set<std::string> tmp;
1641 tmp.insert(name);
1642 return tmp;
1643}
std::map< std::string, ComputeContext * > contexts_
◆ getContext()
Implements ComputeFramework.
Definition at line 1645 of file openclenvironment.cpp.
1645 {
1648 return c->second;
1649 }
1650 QL_FAIL("OpenClFrameWork::getContext(): device '"
1651 << deviceName <<
"' not found. Available devices: " << boost::join(
getAvailableDevices(),
","));
1652}
std::set< std::string > getAvailableDevices() const override final
◆ init()
◆ contexts_
◆ mutex_
boost::shared_mutex mutex_ |
|
staticprivate |
◆ initialized_
◆ platformName_
std::string platformName_[4U] |
|
staticprivate |
◆ deviceName_
std::string deviceName_[4U][8U] |
|
staticprivate |
◆ deviceInfo_
std::vector<std::pair<std::string, std::string> > deviceInfo_[4U][8U] |
|
staticprivate |
◆ supportsDoublePrecision_
bool supportsDoublePrecision_[4U][8U] |
|
staticprivate |