Package org.apache.sysds.runtime.codegen
Class SpoofMultiAggregate
- java.lang.Object
 - 
- org.apache.sysds.runtime.codegen.SpoofOperator
 - 
- org.apache.sysds.runtime.codegen.SpoofMultiAggregate
 
 
 
- 
- All Implemented Interfaces:
 Serializable
public abstract class SpoofMultiAggregate extends SpoofOperator
- See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class org.apache.sysds.runtime.codegen.SpoofOperator
SpoofOperator.SideInput, SpoofOperator.SideInputSparseCell, SpoofOperator.SideInputSparseRow 
 - 
 
- 
Constructor Summary
Constructors Constructor Description SpoofMultiAggregate(boolean sparseSafe, SpoofCellwise.AggOp... aggOps) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaggregatePartialResults(SpoofCellwise.AggOp[] aggOps, MatrixBlock c, MatrixBlock b)SpoofCUDAOperatorcreateCUDAInstrcution(Integer opID, SpoofCUDAOperator.PrecisionProxy ep)MatrixBlockexecute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, MatrixBlock out)MatrixBlockexecute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, MatrixBlock out, int k)MatrixBlockexecute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, MatrixBlock out, int k, long rix)static ValueFunction[]getAggFunctions(SpoofCellwise.AggOp[] aggOps)SpoofCellwise.AggOp[]getAggOps()static doublegetInitialValue(SpoofCellwise.AggOp aggop)StringgetSpoofType()booleanisSparseSafe()- 
Methods inherited from class org.apache.sysds.runtime.codegen.SpoofOperator
execute, execute, getDenseMatrices, getNativeStagingBuffer, getTotalInputNnz, getTotalInputSize 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
SpoofMultiAggregate
public SpoofMultiAggregate(boolean sparseSafe, SpoofCellwise.AggOp... aggOps) 
 - 
 
- 
Method Detail
- 
getAggOps
public SpoofCellwise.AggOp[] getAggOps()
 
- 
isSparseSafe
public boolean isSparseSafe()
 
- 
getSpoofType
public String getSpoofType()
- Specified by:
 getSpoofTypein classSpoofOperator
 
- 
createCUDAInstrcution
public SpoofCUDAOperator createCUDAInstrcution(Integer opID, SpoofCUDAOperator.PrecisionProxy ep)
- Specified by:
 createCUDAInstrcutionin classSpoofOperator
 
- 
execute
public MatrixBlock execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, MatrixBlock out)
- Specified by:
 executein classSpoofOperator
 
- 
execute
public MatrixBlock execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, MatrixBlock out, int k)
- Overrides:
 executein classSpoofOperator
 
- 
execute
public MatrixBlock execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, MatrixBlock out, int k, long rix)
 
- 
getInitialValue
public static double getInitialValue(SpoofCellwise.AggOp aggop)
 
- 
aggregatePartialResults
public static void aggregatePartialResults(SpoofCellwise.AggOp[] aggOps, MatrixBlock c, MatrixBlock b)
 
- 
getAggFunctions
public static ValueFunction[] getAggFunctions(SpoofCellwise.AggOp[] aggOps)
 
 - 
 
 -