ViennaCL - The Vienna Computing Library  1.5.1
Data Structures | Namespaces | Macros | Functions
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
 A tag identifying OpenCL devices as GPUs. More...
 
struct  cpu_tag
 A tag identifying OpenCL devices as CPUs. More...
 
struct  accelerator_tag
 A tag identifying OpenCL devices as accelerators (e.g. Intel Xeon Phi) More...
 
struct  default_tag
 A tag denoting the default OpenCL device type (SDK-specific) More...
 
class  handle< OCL_TYPE >
 Handle class the effectively represents a smart pointer for OpenCL handles. More...
 

Namespaces

 viennacl
 Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
 
 viennacl::ocl
 OpenCL backend. Manages platforms, contexts, buffers, kernels, etc.
 

Macros

#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. More...
 
viennacl::ocl::contextcurrent_context ()
 Convenience function for returning the current context. More...
 
viennacl::ocl::device const & current_device ()
 Convenience function for returning the active device in the current context. More...
 

Detailed Description

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

Macro Definition Documentation

#define VIENNACL_OCL_MAX_DEVICE_NUM   8