Package org.apache.sysds.runtime.codegen
Class SpoofCellwise
java.lang.Object
org.apache.sysds.runtime.codegen.SpoofOperator
org.apache.sysds.runtime.codegen.SpoofCellwise
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SpoofCUDACellwise
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumNested classes/interfaces inherited from class org.apache.sysds.runtime.codegen.SpoofOperator
SpoofOperator.SideInput, SpoofOperator.SideInputSparseCell, SpoofOperator.SideInputSparseRow -
Constructor Summary
ConstructorsConstructorDescriptionSpoofCellwise(SpoofCellwise.CellType type, boolean sparseSafe, boolean containsSeq, SpoofCellwise.AggOp aggOp) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, int k) execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, int k, long rix) execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, MatrixBlock out) execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, MatrixBlock out, int k) execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, MatrixBlock out, int k, long rix) getAggOp()booleanMethods inherited from class org.apache.sysds.runtime.codegen.SpoofOperator
execute, getDenseMatrices, getNativeStagingBuffer, getTotalInputNnz, getTotalInputSize
-
Constructor Details
-
SpoofCellwise
public SpoofCellwise(SpoofCellwise.CellType type, boolean sparseSafe, boolean containsSeq, SpoofCellwise.AggOp aggOp)
-
-
Method Details
-
getCellType
-
getAggOp
-
isSparseSafe
public boolean isSparseSafe() -
containsSeq
public boolean containsSeq() -
createCUDAInstrcution
- Specified by:
createCUDAInstrcutionin classSpoofOperator
-
getSpoofType
- Specified by:
getSpoofTypein classSpoofOperator
-
execute
public ScalarObject execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, int k) - Overrides:
executein classSpoofOperator
-
execute
public ScalarObject execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, int k, long rix) -
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)
-