OpenFPM_pdata
4.1.0
Project that contain the implementation of distributed structures
reduce_type.hpp
1
// This class define several reduce type
2
4
template
<
class
T>
5
struct
reduce_type
6
{
7
typedef
T type;
8
};
9
11
template
<>
struct
reduce_type
<float[]>
12
{
14
typedef
float
type
;
15
};
16
18
template
<>
struct
reduce_type
<double[]>
19
{
21
typedef
double
type
;
22
};
23
25
template
<>
struct
reduce_type
<
int
[]>
26
{
28
typedef
int
type
;
29
};
reduce_type< int[]>::type
int type
define the int
Definition:
reduce_type.hpp:28
reduce_type
In general a reduction of a type T produce a type T.
Definition:
reduce_type.hpp:5
cub::int
KeyT const ValueT ValueT OffsetIteratorT OffsetIteratorT int
[in] The number of segments that comprise the sorting data
Definition:
dispatch_radix_sort.cuh:331
reduce_type< double[]>::type
double type
define the double
Definition:
reduce_type.hpp:21
reduce_type< float[]>::type
float type
define the float
Definition:
reduce_type.hpp:14
openfpm_data
src
reduce_type.hpp
Generated by
1.8.15