Accelerated Computation Engine
Classes | Public Member Functions | List of all members
EAbstractAnalytic::OpenCL Class Referenceabstract

#include <eabstractanalytic_opencl.h>

Inheritance diagram for EAbstractAnalytic::OpenCL:

Classes

class  Worker
 

Public Member Functions

virtual std::unique_ptr< EAbstractAnalytic::OpenCL::WorkermakeWorker ()=0
 
virtual void initialize (::OpenCL::Context *context)=0
 
 OpenCL (EAbstractAnalytic *parent)
 

Detailed Description

This represents the base OpenCL class for an analytic. This class is responsible for initializing and creating all OpenCL resources that all work threads will use. The most common task that should be expected from an implementation of this class is creating an OpenCL program and compiling the kernels used for its analytic type.

Constructor & Destructor Documentation

◆ OpenCL()

EAbstractAnalytic::OpenCL::OpenCL ( EAbstractAnalytic parent)
explicit

Constructs a new abstract OpenCL object with the given parent.

Parameters
parentThe parent analytic object for this new OpenCL object.

Member Function Documentation

◆ initialize()

virtual void EAbstractAnalytic::OpenCL::initialize ( ::OpenCL::Context context)
pure virtual

This interface initializes all OpenCL resources used by this object's implementation.

Parameters
context

◆ makeWorker()

virtual std::unique_ptr<EAbstractAnalytic::OpenCL::Worker> EAbstractAnalytic::OpenCL::makeWorker ( )
pure virtual

This interface creates and returns a new OpenCL worker for the implementation's analytic type.

Returns
Pointer to a new OpenCL worker object.

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