Namespaces | Functions

/data/development/ViennaCL/dev/viennacl/ocl/enqueue.hpp File Reference

Enqueues kernels into command queues. More...

#include <CL/cl.h>
#include "viennacl/ocl/kernel.hpp"
#include "viennacl/ocl/command_queue.hpp"

Go to the source code of this file.

Namespaces

namespace  viennacl
namespace  viennacl::ocl

Functions

template<typename KernelType >
void enqueue (KernelType &k, viennacl::ocl::command_queue const &queue)
 Enqueues a kernel in the provided queue.
template<typename KernelType >
void enqueue (KernelType &k)
 Convenience function that enqueues the provided kernel into the first queue of the currently active device in the currently active context.

Detailed Description

Enqueues kernels into command queues.