Package org.apache.sysds.runtime.codegen
Class SpoofOperator
- java.lang.Object
-
- org.apache.sysds.runtime.codegen.SpoofOperator
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SpoofCellwise
,SpoofMultiAggregate
,SpoofOuterProduct
,SpoofRowwise
public abstract class SpoofOperator extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SpoofOperator.SideInput
static class
SpoofOperator.SideInputSparseCell
static class
SpoofOperator.SideInputSparseRow
-
Constructor Summary
Constructors Constructor Description SpoofOperator()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract SpoofCUDAOperator
createCUDAInstrcution(Integer opID, SpoofCUDAOperator.PrecisionProxy ep)
ScalarObject
execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalars)
ScalarObject
execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalars, int k)
abstract MatrixBlock
execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalars, MatrixBlock out)
MatrixBlock
execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalars, MatrixBlock out, int k)
static DenseBlock[]
getDenseMatrices(SpoofOperator.SideInput[] inputs)
static int
getNativeStagingBuffer(jcuda.Pointer ptr, long context, int size)
abstract String
getSpoofType()
static long
getTotalInputNnz(ArrayList<MatrixBlock> inputs)
static long
getTotalInputSize(ArrayList<MatrixBlock> inputs)
-
-
-
Method Detail
-
execute
public abstract MatrixBlock execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalars, MatrixBlock out)
-
execute
public MatrixBlock execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalars, MatrixBlock out, int k)
-
getSpoofType
public abstract String getSpoofType()
-
execute
public ScalarObject execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalars)
-
execute
public ScalarObject execute(ArrayList<MatrixBlock> inputs, ArrayList<ScalarObject> scalars, int k)
-
getDenseMatrices
public static DenseBlock[] getDenseMatrices(SpoofOperator.SideInput[] inputs)
-
getTotalInputNnz
public static long getTotalInputNnz(ArrayList<MatrixBlock> inputs)
-
getTotalInputSize
public static long getTotalInputSize(ArrayList<MatrixBlock> inputs)
-
createCUDAInstrcution
public abstract SpoofCUDAOperator createCUDAInstrcution(Integer opID, SpoofCUDAOperator.PrecisionProxy ep)
-
getNativeStagingBuffer
public static int getNativeStagingBuffer(jcuda.Pointer ptr, long context, int size)
-
-