ViennaCL - The Vienna Computing Library  1.7.0
Free open-source GPU-accelerated linear algebra and solver library.
handle.hpp File Reference

Implementation of a smart-pointer-like class for handling OpenCL handles. More...

#include <CL/cl.h>
#include <assert.h>
#include <string>
#include <iostream>
#include "viennacl/ocl/forwards.h"
#include "viennacl/ocl/error.hpp"

Go to the source code of this file.

Classes

class  viennacl::ocl::handle_inc_dec_helper< OCL_TYPE >
 Helper for OpenCL reference counting used by class handle. More...
 
class  viennacl::ocl::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.
 

Detailed Description

Implementation of a smart-pointer-like class for handling OpenCL handles.

Definition in file handle.hpp.