OpenFPM_data  0.1.0
Project that contain the implementation and interfaces for basic structure like vectors, grids, graph ... .
 All Data Structures Namespaces Functions Variables Typedefs Friends
memory_thrust_c.hpp
1 /*
2  * memory_thrust_c.hpp
3  *
4  * Created on: Aug 17, 2014
5  * Author: Pietro Incardona
6  */
7 
16 #include <thrust/host_vector.h>
17 #include <thrust/device_vector.h>
18 #include <thrust/generate.h>
19 #include <thrust/sort.h>
20 #include <thrust/copy.h>
21 
22 template<typename T>
24 {
26  thrust::device_vector<T> mem;
27 
30 
33 };
34 
35 
This class is a container for the memory interface.
memory_c()
constructor
thrust::device_vector< T > mem
compile time specialization object that allocate memory
memory_array< T > mem_r
object that represent the memory as an array of objects T
This class give a representation to a chunk or memory.