ViennaCL - The Vienna Computing Library  1.5.2
Public Member Functions
command_queue Class Reference

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)
 command_queue (command_queue const &other)
command_queueoperator= (command_queue const &other)
bool operator== (command_queue const &other) const
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
viennacl::ocl::handle
< cl_command_queue > & 
handle ()

Detailed Description

A class representing a command queue.


Constructor & Destructor Documentation

command_queue ( ) [inline]
command_queue ( viennacl::ocl::handle< cl_command_queue >  h) [inline]
command_queue ( command_queue const &  other) [inline]

Member Function Documentation

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]
viennacl::ocl::handle<cl_command_queue>& handle ( ) [inline]
command_queue& operator= ( command_queue const &  other) [inline]
bool operator== ( command_queue const &  other) const [inline]

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