#include <qle/math/basiccpuenvironment.hpp>
Definition at line 31 of file basiccpuenvironment.hpp.
◆ BasicCpuFramework()
Definition at line 120 of file basiccpuenvironment.cpp.
120{
contexts_[
"BasicCpu/Default/Default"] =
new BasicCpuContext(); }
std::map< std::string, ComputeContext * > contexts_
◆ ~BasicCpuFramework()
◆ getAvailableDevices()
std::set< std::string > getAvailableDevices |
( |
| ) |
const |
|
finaloverridevirtual |
◆ getContext()
Implements ComputeFramework.
Definition at line 397 of file basiccpuenvironment.cpp.
397 {
398 QL_REQUIRE(deviceName == "BasicCpu/Default/Default",
399 "BasicCpuFramework::getContext(): device '"
400 << deviceName << "' not supported. Available device is 'BasicCpu/Default/Default'.");
402}
◆ contexts_