JASPL  0.2
Just Another Signal Processing Library
Public Member Functions | List of all members
jaspl::ocl::TaskQueue< T > Class Template Reference
Inheritance diagram for jaspl::ocl::TaskQueue< T >:
Inheritance graph
[legend]
Collaboration diagram for jaspl::ocl::TaskQueue< T >:
Collaboration graph
[legend]

Public Member Functions

 TaskQueue (uint platform_number, uint device_number)
 
void Load (T signal)
 
Recall ()
 
- Public Member Functions inherited from jaspl::ocl::TaskQueueBase
 TaskQueueBase (uint platform_number=0, uint device_number=0)
 Build a new TaskQueueBase and implicitly initialize OpenCL Context, Platform etc. More...
 
void Execute ()
 Run all TaskItems that are currently loaded. More...
 
void AddTaskItem (TaskItem &item)
 Add a new TaskItem into the TaskQueue. More...
 
bool RemoveTaskItem (TaskItem &item)
 Remove a TaskItem from the queue (if it exists) More...
 
void PrintContents ()
 Print all of the current elements in the queue in the order in which they will be executed.
 
void ReknewSignal (cl::Buffer &processed_buff, size_t processed_bytes, size_t processed_size)
 
- Public Member Functions inherited from jaspl::ocl::OpenCLBase
 OpenCLBase (uint platform_number=0, uint device_number=0)
 Initialize OpenCL Objects Note that the Platform and Context are selected automatically: Platform is set to cl::Platform( 0 ) Context is set to cl::Context( device[ device_number ] ) More...
 

Additional Inherited Members

- Protected Member Functions inherited from jaspl::ocl::OpenCLBase
void SetUp (uint platform_number, uint device_number)
 
- Protected Attributes inherited from jaspl::ocl::TaskQueueBase
std::list< TaskItem * > task_queue
 
cl::Buffer signal_input
 
cl::Buffer output
 
size_t signal_size
 
size_t signal_bytes
 
bool on_device = false
 
- Static Protected Attributes inherited from jaspl::ocl::OpenCLBase
static bool initalized = false
 
static std::vector< cl::Platform > all_platforms
 
static cl::Platform default_platform
 
static std::vector< cl::Device > all_devices
 
static cl::Device current_device
 
static cl::Context context
 
static cl::CommandQueue command_queue
 

Detailed Description

template<typename T>
class jaspl::ocl::TaskQueue< T >

Definition at line 27 of file taskqueue.h.