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, cl_device_id dev)
 command_queue (command_queue const &other)
command_queueoperator= (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

Detailed Description

A class representing a command queue.


Constructor & Destructor Documentation

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

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