edu.rit.pj.reduction
Class ByteOp
- java.lang.Object
-
- edu.rit.pj.reduction.Op
-
- edu.rit.pj.reduction.ByteOp
-
public abstract class ByteOp extends Op
Class ByteOp is the abstract base class for a binary operation on byte values, used to do reduction in a parallel program.
-
-
Field Summary
Fields Modifier and Type Field and Description static ByteOpANDThe byte bitwise "and" binary operation.static ByteOpMAXIMUMThe byte maximum binary operation.static ByteOpMINIMUMThe byte minimum binary operation.static ByteOpORThe byte bitwise "or" binary operation.static ByteOpPRODUCTThe byte product binary operation.static ByteOpSUMThe byte sum binary operation.static ByteOpXORThe byte bitwise "exclusive or" binary operation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract byteop(byte x, byte y)Perform this binary operation.
-
-
-
Field Detail
-
SUM
public static final ByteOp SUM
The byte sum binary operation.
-
PRODUCT
public static final ByteOp PRODUCT
The byte product binary operation.
-
MINIMUM
public static final ByteOp MINIMUM
The byte minimum binary operation.
-
MAXIMUM
public static final ByteOp MAXIMUM
The byte maximum binary operation.
-
AND
public static final ByteOp AND
The byte bitwise "and" binary operation.
-
OR
public static final ByteOp OR
The byte bitwise "or" binary operation.
-
XOR
public static final ByteOp XOR
The byte bitwise "exclusive or" binary operation.
-
-
DMelt 3.0 © DataMelt by jWork.ORG