LibreOffice Module sc (master) 1
|
Handling a Double Vector that is used as a sliding window input Performs parallel reduction based on given operator. More...
#include <opbase.hxx>
Public Member Functions | |
ParallelReductionVectorRef (const ScCalcConfig &config, const std::string &s, const FormulaTreeNodeRef &ft, std::shared_ptr< SlidingFunctionBase > CodeGen, int index) | |
~ParallelReductionVectorRef () | |
virtual void | GenSlidingWindowFunction (outputstream &ss) |
Emit the definition for the auxiliary reduction kernel. More... | |
virtual std::string | GenSlidingWindowDeclRef (bool) const |
size_t | GenReductionLoopHeader (outputstream &ss, int nResultSize, bool &needBody) |
Controls how the elements in the DoubleVectorRef are traversed. More... | |
virtual size_t | Marshal (cl_kernel k, int argno, int w, cl_program mpProgram) |
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 |
cl_mem | mpClmem2 |
Handling a Double Vector that is used as a sliding window input Performs parallel reduction based on given operator.
Definition at line 471 of file opbase.hxx.
sc::opencl::ParallelReductionVectorRef< Base >::ParallelReductionVectorRef | ( | const ScCalcConfig & | config, |
const std::string & | s, | ||
const FormulaTreeNodeRef & | ft, | ||
std::shared_ptr< SlidingFunctionBase > | CodeGen, | ||
int | index | ||
) |
Definition at line 1220 of file formulagroupcl.cxx.
References Base, sc::opencl::ParallelReductionVectorRef< Base >::bIsEndFixed, sc::opencl::ParallelReductionVectorRef< Base >::bIsStartFixed, config, ft, index, formula::DoubleVectorRefToken::IsEndFixed(), formula::DoubleVectorRefToken::IsStartFixed(), sc::opencl::ParallelReductionVectorRef< Base >::mpDVR, formula::svDoubleVectorRef, and t.
sc::opencl::ParallelReductionVectorRef< Base >::~ParallelReductionVectorRef |
Definition at line 1620 of file formulagroupcl.cxx.
References err, openclwrapper::errorString(), mpClmem2, and SAL_WARN_IF.
size_t sc::opencl::ParallelReductionVectorRef< Base >::GenReductionLoopHeader | ( | outputstream & | ss, |
int | nResultSize, | ||
bool & | needBody | ||
) |
Controls how the elements in the DoubleVectorRef are traversed.
Definition at line 1427 of file formulagroupcl.cxx.
References mpCodeGen.
|
virtual |
Definition at line 1416 of file formulagroupcl.cxx.
|
virtual |
Emit the definition for the auxiliary reduction kernel.
Definition at line 1236 of file formulagroupcl.cxx.
|
inline |
Definition at line 485 of file opbase.hxx.
References formula::DoubleVectorRefToken::GetArrayLength(), and sc::opencl::ParallelReductionVectorRef< Base >::mpDVR.
|
inline |
Definition at line 488 of file opbase.hxx.
References sc::opencl::ParallelReductionVectorRef< Base >::bIsEndFixed.
|
inline |
Definition at line 487 of file opbase.hxx.
References sc::opencl::ParallelReductionVectorRef< Base >::bIsStartFixed.
|
inline |
Definition at line 486 of file opbase.hxx.
References formula::DoubleVectorRefToken::GetRefRowSize(), and sc::opencl::ParallelReductionVectorRef< Base >::mpDVR.
|
virtual |
Definition at line 1452 of file formulagroupcl.cxx.
References err, openclwrapper::errorString(), i, mpClmem2, mpCodeGen, openclwrapper::KernelEnv::mpkCmdQueue, openclwrapper::KernelEnv::mpkContext, mpProgram, SAL_INFO, SAL_WARN, SAL_WARN_IF, openclwrapper::setKernelEnv(), and w.
|
protected |
Definition at line 491 of file opbase.hxx.
Referenced by sc::opencl::ParallelReductionVectorRef< Base >::GetEndFixed(), and sc::opencl::ParallelReductionVectorRef< Base >::ParallelReductionVectorRef().
|
protected |
Definition at line 491 of file opbase.hxx.
Referenced by sc::opencl::ParallelReductionVectorRef< Base >::GetStartFixed(), and sc::opencl::ParallelReductionVectorRef< Base >::ParallelReductionVectorRef().
|
protected |
Definition at line 496 of file opbase.hxx.
|
protected |
Definition at line 494 of file opbase.hxx.
|
protected |