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

Helper functionality for working with different memory domains. More...

#include <vector>
#include <cassert>
#include "viennacl/forwards.h"
#include "viennacl/backend/mem_handle.hpp"

Go to the source code of this file.

Classes

struct  viennacl::backend::detail::convert_to_opencl< T >
 Helper struct for converting a type to its OpenCL pendant. More...
 
class  viennacl::backend::typesafe_host_array< T, special >
 Helper class implementing an array on the host. Default case: No conversion necessary. More...
 
class  viennacl::backend::typesafe_host_array< T, true >
 Special host array type for conversion between OpenCL types and pure CPU types. More...
 

Namespaces

 viennacl
 Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
 
 viennacl::backend
 Namespace providing routines for handling the different memory domains.
 
 viennacl::backend::detail
 Implementation details for the generic memory backend interface.
 

Detailed Description

Helper functionality for working with different memory domains.

Definition in file util.hpp.