LibreOffice Module sc (master) 1
|
Handling a Double Vector that is used as a sliding window input to either a sliding window average or sum-of-products Generate a sequential loop for reductions. More...
#include <opbase.hxx>
Public Member Functions | |
DynamicKernelSlidingArgument (const ScCalcConfig &config, const std::string &s, const FormulaTreeNodeRef &ft, std::shared_ptr< SlidingFunctionBase > CodeGen, int index) | |
virtual bool | NeedParallelReduction () const |
virtual void | GenSlidingWindowFunction (outputstream &) |
std::string | GenSlidingWindowDeclRef (bool nested=false) const |
size_t | GenReductionLoopHeader (outputstream &ss, bool &needBody) |
Controls how the elements in the DoubleVectorRef are traversed. More... | |
size_t | GetArrayLength () const |
size_t | GetWindowSize () const |
bool | GetStartFixed () const |
bool | GetEndFixed () const |
Protected Attributes | |
bool | bIsStartFixed |
bool | bIsEndFixed |
const formula::DoubleVectorRefToken * | mpDVR |
std::shared_ptr< SlidingFunctionBase > | mpCodeGen |
Handling a Double Vector that is used as a sliding window input to either a sliding window average or sum-of-products Generate a sequential loop for reductions.
Definition at line 439 of file opbase.hxx.
sc::opencl::DynamicKernelSlidingArgument< Base >::DynamicKernelSlidingArgument | ( | const ScCalcConfig & | config, |
const std::string & | s, | ||
const FormulaTreeNodeRef & | ft, | ||
std::shared_ptr< SlidingFunctionBase > | CodeGen, | ||
int | index | ||
) |
Definition at line 949 of file formulagroupcl.cxx.
References Base, sc::opencl::DynamicKernelSlidingArgument< Base >::bIsEndFixed, sc::opencl::DynamicKernelSlidingArgument< Base >::bIsStartFixed, config, ft, index, formula::DoubleVectorRefToken::IsEndFixed(), formula::DoubleVectorRefToken::IsStartFixed(), sc::opencl::DynamicKernelSlidingArgument< Base >::mpDVR, formula::svDoubleVectorRef, and t.
size_t sc::opencl::DynamicKernelSlidingArgument< Base >::GenReductionLoopHeader | ( | outputstream & | ss, |
bool & | needBody | ||
) |
Controls how the elements in the DoubleVectorRef are traversed.
Definition at line 997 of file formulagroupcl.cxx.
References count, mpCodeGen, and UNROLLING_FACTOR.
std::string sc::opencl::DynamicKernelSlidingArgument< Base >::GenSlidingWindowDeclRef | ( | bool | nested = false | ) | const |
Definition at line 973 of file formulagroupcl.cxx.
|
inlinevirtual |
Definition at line 447 of file opbase.hxx.
|
inline |
Definition at line 453 of file opbase.hxx.
References formula::DoubleVectorRefToken::GetArrayLength(), and sc::opencl::DynamicKernelSlidingArgument< Base >::mpDVR.
|
inline |
Definition at line 459 of file opbase.hxx.
References sc::opencl::DynamicKernelSlidingArgument< Base >::bIsEndFixed.
|
inline |
Definition at line 457 of file opbase.hxx.
References sc::opencl::DynamicKernelSlidingArgument< Base >::bIsStartFixed.
|
inline |
Definition at line 455 of file opbase.hxx.
References formula::DoubleVectorRefToken::GetRefRowSize(), and sc::opencl::DynamicKernelSlidingArgument< Base >::mpDVR.
|
virtual |
Definition at line 964 of file formulagroupcl.cxx.
References mpCodeGen.
|
protected |
Definition at line 462 of file opbase.hxx.
Referenced by sc::opencl::DynamicKernelSlidingArgument< Base >::DynamicKernelSlidingArgument(), and sc::opencl::DynamicKernelSlidingArgument< Base >::GetEndFixed().
|
protected |
Definition at line 462 of file opbase.hxx.
Referenced by sc::opencl::DynamicKernelSlidingArgument< Base >::DynamicKernelSlidingArgument(), and sc::opencl::DynamicKernelSlidingArgument< Base >::GetStartFixed().
|
protected |
Definition at line 465 of file opbase.hxx.
|
protected |