A class representing a command queue. More...
#include <command_queue.hpp>
Public Member Functions | |
command_queue () | |
command_queue (viennacl::ocl::handle< cl_command_queue > h, cl_device_id dev) | |
command_queue (command_queue const &other) | |
command_queue & | operator= (command_queue const &other) |
void | finish () const |
Waits until all kernels in the queue have finished their execution. | |
void | flush () const |
Waits until all kernels in the queue have started their execution. | |
viennacl::ocl::handle < cl_command_queue > const & | handle () const |
A class representing a command queue.
command_queue | ( | ) | [inline] |
command_queue | ( | viennacl::ocl::handle< cl_command_queue > | h, | |
cl_device_id | dev | |||
) | [inline] |
command_queue | ( | command_queue const & | other | ) | [inline] |
void finish | ( | ) | const [inline] |
Waits until all kernels in the queue have finished their execution.
void flush | ( | ) | const [inline] |
Waits until all kernels in the queue have started their execution.
viennacl::ocl::handle<cl_command_queue> const& handle | ( | ) | const [inline] |
command_queue& operator= | ( | command_queue const & | other | ) | [inline] |