OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
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
22template<typename T>
24{
26 thrust::device_vector<T> mem;
27
30
33};
34
35
This class give a representation to a chunk or memory.
This class is a container for the memory interface.
memory_c()
constructor
memory_array< T > mem_r
object that represent the memory as an array of objects T
thrust::device_vector< T > mem
compile time specialization object that allocate memory