Accelerated Computation Engine
|
#include <eabstractanalytic_opencl_worker.h>
Public Member Functions | |
virtual std::unique_ptr< EAbstractAnalytic::Block > | execute (const EAbstractAnalytic::Block *block)=0 |
Static Protected Member Functions | |
static int | threadSize () |
This represents a single OpenCL worker for an analytic type that processes work blocks and returns result blocks using OpenCL acceleration. Multiple instances of this class are used in parallel on separate threads so thread safety must always be considered for any code used by the the methods of any implementation of this class.
|
pure virtual |
This interface reads in the given work block, executes the algorithms necessary to produce its results using OpenCL acceleration, and saves those results in a new results block whose pointer is returned.
block |
|
staticprotected |