|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectp2pmpi.mpi.Op
public class Op
MPI Collective Operation
Field Summary | |
---|---|
static int |
BAND
Bit-wise AND operation |
static int |
MAX
Maximum operation |
static int |
MAXLOC
|
static int |
MIN
Minimum operation |
static int |
MINLOC
|
static int |
NULL
No operation |
static int |
PROD
Multiplication operation |
static int |
SUM
Summation operation |
Constructor Summary | |
---|---|
Op(int Type)
Default constructor for MPI (internal use) |
|
Op(MPI_User_function func,
boolean commute)
Constructor for the user-definition operation |
Method Summary | |
---|---|
void |
Call(java.lang.Object in,
int inOffset,
java.lang.Object inout,
int inoutOffset,
int count,
Datatype type)
Invoke operation (internal use) |
boolean |
isCommute()
Check if operation is commutative |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NULL
public static final int MAX
public static final int MIN
public static final int SUM
public static final int PROD
public static final int BAND
public static final int MINLOC
public static final int MAXLOC
Constructor Detail |
---|
public Op(int Type)
Type
- NULL, MAX, MIN, SUM, or PRUD operationpublic Op(MPI_User_function func, boolean commute)
func
- user-define function inherited from MPI_User_functioncommute
- commutation operationMethod Detail |
---|
public void Call(java.lang.Object in, int inOffset, java.lang.Object inout, int inoutOffset, int count, Datatype type)
in
- Input objectinOffset
- Input offsetinout
- Input and Output objectinoutOffset
- Input and output offsetcount
- number of elementstype
- MPI datatypepublic boolean isCommute()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |