JASPL
0.2
Just Another Signal Processing Library
|
Public Member Functions | |
TaskQueue (uint platform_number, uint device_number) | |
void | Load (T signal) |
T | Recall () |
![]() | |
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) |
![]() | |
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 | |
![]() | |
void | SetUp (uint platform_number, uint device_number) |
![]() | |
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 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 |
Definition at line 27 of file taskqueue.h.