Data Structures | Namespaces | Defines | Functions

/data/development/ViennaCL/dev/viennacl/ocl/forwards.h File Reference

This file provides the forward declarations for the OpenCL layer of ViennaCL. More...

#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  gpu_tag
struct  cpu_tag
struct  accelerator_tag
struct  default_tag

Namespaces

namespace  viennacl
namespace  viennacl::ocl

Defines

#define VIENNACL_OCL_MAX_DEVICE_NUM   8

Functions

template<typename KernelType >
void enqueue (KernelType &k, viennacl::ocl::command_queue const &queue)
 Enqueues a kernel in the provided queue.
viennacl::ocl::contextcurrent_context ()
 Convenience function for returning the current context.
viennacl::ocl::device const & current_device ()
 Convenience function for returning the active device in the current context.

Detailed Description

This file provides the forward declarations for the OpenCL layer of ViennaCL.


Define Documentation

#define VIENNACL_OCL_MAX_DEVICE_NUM   8