ViennaCL - The Vienna Computing Library  1.5.0
Data Structures | Namespaces | Defines | Functions
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
 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...

Namespaces

namespace  viennacl
 

Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.


namespace  viennacl::ocl
 

OpenCL backend. Manages platforms, contexts, buffers, kernels, etc.


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