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>
23
class
memory_thrust_c
24
{
26
thrust::device_vector<T>
mem
;
27
29
memory_array<T>
mem_r
;
30
32
memory_c
(){}
33
};
34
35
memory_thrust_c
This class is a container for the memory interface.
Definition:
memory_thrust_c.hpp:23
memory_thrust_c::memory_c
memory_c()
constructor
Definition:
memory_thrust_c.hpp:32
memory_thrust_c::mem
thrust::device_vector< T > mem
compile time specialization object that allocate memory
Definition:
memory_thrust_c.hpp:26
memory_thrust_c::mem_r
memory_array< T > mem_r
object that represent the memory as an array of objects T
Definition:
memory_thrust_c.hpp:29
memory_array
This class give a representation to a chunk or memory.
Definition:
memory_array.hpp:25
src
memory_thrust_c.hpp
Generated by
1.8.6