|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.multicorebsp.core.BSP_GLOBAL_COMM<T[],S> com.multicorebsp.core.BSP_GLOBAL_ARR_COMM<T,S>
T
- Data type of the array elements.S
- Data type of the class implementing BSP_GLOBAL_ARR_COMMpublic abstract class BSP_GLOBAL_ARR_COMM<T,S extends BSP_GLOBAL_ARR_COMM<?,?>>
Defines which functions should be implemented for BSP global arrays.
Constructor Summary | |
---|---|
BSP_GLOBAL_ARR_COMM()
|
Method Summary | |
---|---|
abstract void |
bsp_direct_get(int pid,
int length)
DRMA Direct get instruction. |
abstract void |
bsp_direct_get(int pid,
int source_offset,
int dest_offset,
int length)
DRMA Direct get instruction. |
abstract void |
bsp_direct_get(S source,
int pid,
int length)
DRMA Direct get instruction. |
abstract void |
bsp_direct_get(S source,
int pid,
int source_offset,
int dest_offset,
int length)
DRMA Direct get instruction. |
abstract void |
bsp_get(int source_processor,
int length)
DRMA Get instruction. |
abstract void |
bsp_get(int pid,
int source_offset,
int dest_offset,
int length)
DRMA Get instruction. |
abstract void |
bsp_get(S source,
int pid,
int length)
DRMA Get instruction. |
abstract void |
bsp_get(S source,
int pid,
int source_offset,
int dest_offset,
int length)
DRMA Get instruction. |
abstract void |
bsp_put(int pid,
int length)
DRMA Put instruction. |
abstract void |
bsp_put(int source_offset,
int pid,
int dest_offset,
int length)
DRMA Put instruction. |
abstract void |
bsp_put(S source,
int pid,
int length)
DRMA Put instruction. |
abstract void |
bsp_put(S source,
int source_offset,
int pid,
int dest_offset,
int length)
DRMA Put instruction. |
abstract void |
bsp_put(T[] source,
int pid)
DRMA Put instruction. |
abstract void |
bsp_put(T[] source,
int pid,
int length)
DRMA Put instruction. |
abstract void |
bsp_put(T[] source,
int source_offset,
int pid,
int dest_offset,
int length)
DRMA Put instruction. |
abstract void |
bsp_put(T item,
int pid,
int dest_offset)
DRMA Put instruction. |
Methods inherited from class com.multicorebsp.core.BSP_GLOBAL_COMM |
---|
bsp_direct_get, bsp_direct_get, bsp_get, bsp_get, bsp_move, bsp_put, bsp_put, bsp_qsize, bsp_send, bsp_send, bsp_send, unregister |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BSP_GLOBAL_ARR_COMM()
Method Detail |
---|
public abstract void bsp_put(int pid, int length)
pid
- Destination processor.length
- Elements to put.public abstract void bsp_put(int source_offset, int pid, int dest_offset, int length)
source_offset
- Copy length items beginning at
this[ source_offset ].pid
- Target processor ID of this put instruction.dest_offset
- Put items into destination starting at
this[ destination_offset ] (at processor pid).length
- Put a total of length items in the row direction.public abstract void bsp_put(S source, int pid, int length)
source
- Where to write the (sub)array to.pid
- Target processor ID of this put instruction.length
- Put a total of length items in the row direction.public abstract void bsp_put(S source, int source_offset, int pid, int dest_offset, int length)
source
- Where to write the (sub)array to.source_offset
- Copy length items beginning at this[ source_offset ].pid
- Target processor ID of this put instruction.dest_offset
- Put items into destination starting at destination[ dest_offset ].length
- Put a total of length items in the row direction.public abstract void bsp_put(T[] source, int pid)
bsp_put
in class BSP_GLOBAL_COMM<T[],S extends BSP_GLOBAL_ARR_COMM<?,?>>
source
- The array to put.pid
- At which processor to put the current variable.public abstract void bsp_put(T[] source, int pid, int length)
source
- The array to put.pid
- At which processor to put the current variable.length
- How many items to put.public abstract void bsp_put(T[] source, int source_offset, int pid, int dest_offset, int length)
source
- The array to put.source_offset
- From which index on to put from the source array.pid
- At which processor to put the current variable.dest_offset
- Put items into destination starting at destination[ dest_offset ].length
- How many items to put.public abstract void bsp_put(T item, int pid, int dest_offset)
item
- The value to put.pid
- At which processor to put the current variable.dest_offset
- Put item into destination[ dest_offset ] at processor pid.public abstract void bsp_get(int source_processor, int length)
source_processor
- Processor to get the (partial) vector from.length
- Number of elements to retrieve in the row direction.public abstract void bsp_get(int pid, int source_offset, int dest_offset, int length)
pid
- Processor to get the (partial) array from.source_offset
- Get elements starting from source[ isource_offset ][..].dest_offset
- Copy elements into sub-array starting from destination[ idestination_offset ][..].length
- Number of elements to retrieve in the row direction.public abstract void bsp_get(S source, int pid, int length)
source
- From which global variable to get data.pid
- Processor to get the (partial) vector from.length
- Number of elements to retrieve in the row direction.public abstract void bsp_get(S source, int pid, int source_offset, int dest_offset, int length)
source
- From which global variable to get data.pid
- Processor to get the (partial) vector from.source_offset
- Get elements starting from source[ isource_offset ][..].dest_offset
- Copy elements into sub-array starting from destination[ idestination_offset ][..].length
- Number of elements to retrieve in the row direction.public abstract void bsp_direct_get(int pid, int length)
pid
- Processor to get the (partial) vector from.length
- Number of elements to retrieve in the row direction.public abstract void bsp_direct_get(int pid, int source_offset, int dest_offset, int length)
pid
- Processor to get the (partial) vector from.source_offset
- Get elements starting from source[ isource_offset ][..].dest_offset
- Copy elements into sub-array starting from destination[ idestination_offset ][..].length
- Number of elements to retrieve in the row direction.public abstract void bsp_direct_get(S source, int pid, int length)
source
- From which global variable to get data.pid
- Processor to get the (partial) vector from.length
- Number of elements to retrieve in the row direction.public abstract void bsp_direct_get(S source, int pid, int source_offset, int dest_offset, int length)
source
- From which global variable to get data.pid
- Processor to get the (partial) vector from.source_offset
- Get elements starting from source[ isource_offset ][..].dest_offset
- Copy elements into sub-array starting from destination[ idestination_offset ][..].length
- Number of elements to retrieve in the row direction.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |