ViennaCL - The Vienna Computing Library  1.5.1
Data Structures | Namespaces | Functions
mem_handle.hpp File Reference

Implements the multi-memory-domain handle. More...

#include <vector>
#include <cassert>
#include "viennacl/forwards.h"
#include "viennacl/tools/shared_ptr.hpp"
#include "viennacl/backend/cpu_ram.hpp"

Go to the source code of this file.

Data Structures

class  mem_handle
 Main abstraction class for multiple memory domains. Represents a buffer in either main RAM, an OpenCL context, or a CUDA device. 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.
 

Functions

memory_types default_memory_type ()
 

Detailed Description

Implements the multi-memory-domain handle.