Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ComputeFramework Class Referenceabstract

#include <qle/math/computeenvironment.hpp>

+ Inheritance diagram for ComputeFramework:
+ Collaboration diagram for ComputeFramework:

Public Member Functions

virtual ~ComputeFramework ()
 
virtual std::set< std::string > getAvailableDevices () const =0
 
virtual ComputeContextgetContext (const std::string &deviceName)=0
 

Detailed Description

Definition at line 57 of file computeenvironment.hpp.

Constructor & Destructor Documentation

◆ ~ComputeFramework()

virtual ~ComputeFramework ( )
virtual

Definition at line 59 of file computeenvironment.hpp.

59{}

Member Function Documentation

◆ getAvailableDevices()

virtual std::set< std::string > getAvailableDevices ( ) const
pure virtual

Implemented in BasicCpuFramework, and OpenClFramework.

◆ getContext()

virtual ComputeContext * getContext ( const std::string &  deviceName)
pure virtual

Implemented in BasicCpuFramework, and OpenClFramework.