GooFit
v2.1.3
|
#include <thrust/detail/config.h>
#include <thrust/detail/seq.h>
#include <thrust/detail/temporary_array.h>
#include <thrust/detail/type_traits.h>
#include <thrust/execution_policy.h>
#include <thrust/reduce.h>
#include <thrust/system/cuda/detail/bulk.h>
#include <thrust/system/cuda/detail/decomposition.h>
#include <thrust/system/cuda/detail/execute_on_stream.h>
#include <thrust/system/cuda/detail/execution_policy.h>
#include <goofit/detail/ThrustOverrideConfig.h>
Go to the source code of this file.
Classes | |
struct | goofit_policy |
Macros | |
#define | OR_GROUPSIZE 128 |
#define | OR_GRAINSIZE 7 |
Functions | |
template<typename InputIterator , typename UnaryFunction , typename OutputType , typename BinaryFunction > | |
__host__ __device__ OutputType | transform_reduce (goofit_policy &exec, InputIterator first, InputIterator last, UnaryFunction unary_op, OutputType init, BinaryFunction binary_op) |
template<typename InputIterator , typename OutputType , typename BinaryFunction > | |
__host__ __device__ OutputType | reduce (goofit_policy &exec, InputIterator first, InputIterator last, OutputType init, BinaryFunction binary_op) |
#define OR_GRAINSIZE 7 |
Definition at line 25 of file ThrustOverride.h.
Referenced by reduce().
#define OR_GROUPSIZE 128 |
Definition at line 21 of file ThrustOverride.h.
Referenced by reduce().
__host__ __device__ OutputType reduce | ( | goofit_policy & | exec, |
InputIterator | first, | ||
InputIterator | last, | ||
OutputType | init, | ||
BinaryFunction | binary_op | ||
) |
Definition at line 47 of file ThrustOverride.h.
References OR_GRAINSIZE, and OR_GROUPSIZE.
Referenced by getData(), main(), and transform_reduce().
__host__ __device__ OutputType transform_reduce | ( | goofit_policy & | exec, |
InputIterator | first, | ||
InputIterator | last, | ||
UnaryFunction | unary_op, | ||
OutputType | init, | ||
BinaryFunction | binary_op | ||
) |
Definition at line 32 of file ThrustOverride.h.
References reduce().