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
public abstract class SpoofCellwise extends SpoofOperator
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpoofCellwise.AggOpstatic classSpoofCellwise.CellType-
Nested classes/interfaces inherited from class org.apache.sysds.runtime.codegen.SpoofOperator
SpoofOperator.SideInput, SpoofOperator.SideInputSparseCell, SpoofOperator.SideInputSparseRow
-
-
Constructor Summary
Constructors Constructor Description SpoofCellwise(SpoofCellwise.CellType type, boolean sparseSafe, boolean containsSeq, SpoofCellwise.AggOp aggOp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsSeq()SpoofCUDAOperatorcreateCUDAInstrcution(Integer opID, SpoofCUDAOperator.PrecisionProxy ep)ScalarObjectexecute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, int k)ScalarObjectexecute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalarObjects, int k, long rix)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)SpoofCellwise.AggOpgetAggOp()SpoofCellwise.CellTypegetCellType()StringgetSpoofType()booleanisSparseSafe()-
Methods inherited from class org.apache.sysds.runtime.codegen.SpoofOperator
execute, getDenseMatrices, getNativeStagingBuffer, getTotalInputNnz, getTotalInputSize
-
-
-
-
Constructor Detail
-
SpoofCellwise
public SpoofCellwise(SpoofCellwise.CellType type, boolean sparseSafe, boolean containsSeq, SpoofCellwise.AggOp aggOp)
-
-
Method Detail
-
getCellType
public SpoofCellwise.CellType getCellType()
-
getAggOp
public SpoofCellwise.AggOp getAggOp()
-
isSparseSafe
public boolean isSparseSafe()
-
containsSeq
public boolean containsSeq()
-
createCUDAInstrcution
public SpoofCUDAOperator createCUDAInstrcution(Integer opID, SpoofCUDAOperator.PrecisionProxy ep)
- Specified by:
createCUDAInstrcutionin classSpoofOperator
-
getSpoofType
public String 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)
-
-