All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
context.hpp File Reference

Represents an OpenCL context within ViennaCL. More...

`#include <CL/cl.h>`
`#include <algorithm>`
`#include <fstream>`
`#include <vector>`
`#include <map>`
`#include <cstdlib>`
`#include "viennacl/ocl/forwards.h"`
`#include "viennacl/ocl/error.hpp"`
`#include "viennacl/ocl/handle.hpp"`
`#include "viennacl/ocl/kernel.hpp"`
`#include "viennacl/ocl/program.hpp"`
`#include "viennacl/ocl/device.hpp"`
`#include "viennacl/ocl/platform.hpp"`
`#include "viennacl/ocl/command_queue.hpp"`
`#include "viennacl/tools/sha1.hpp"`
`#include "viennacl/tools/shared_ptr.hpp"`

Go to the source code of this file.

## Classes

class | viennacl::ocl::context
| Manages an OpenCL context and provides the respective convenience functions for creating buffers, etc. 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.

## Detailed Description

Represents an OpenCL context within ViennaCL.

Definition in file context.hpp.