com.multicorebsp.bspedupack
Class BSPinprod

java.lang.Object
  extended by java.lang.Thread
      extended by com.multicorebsp.core.BSP_PROGRAM
          extended by com.multicorebsp.bspedupack.BSPinprod
All Implemented Interfaces:
java.lang.Runnable

public class BSPinprod
extends com.multicorebsp.core.BSP_PROGRAM

Distributed inprod written for DM-MIMD systems. Directly adapted to BSPOnJava from BSPedupack. Since BSPOnJava is directed to SM-MIMD systems, we expect no great things. Some speedup (slightly over 1) is detected at n=100000000.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
BSPinprod()
           
 
Method Summary
protected  void main_part()
           
static void main(java.lang.String[] args)
           
protected  void parallel_part()
           
 
Methods inherited from class com.multicorebsp.core.BSP_PROGRAM
bsp_abort, bsp_begin, bsp_nprocs, bsp_pid, bsp_sync, getPid, run, waitForEnd
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BSPinprod

public BSPinprod()
Method Detail

main_part

protected void main_part()
                  throws java.lang.InterruptedException
Specified by:
main_part in class com.multicorebsp.core.BSP_PROGRAM
Throws:
java.lang.InterruptedException

parallel_part

protected void parallel_part()
                      throws java.lang.InterruptedException,
                             java.lang.IllegalAccessException
Specified by:
parallel_part in class com.multicorebsp.core.BSP_PROGRAM
Throws:
java.lang.InterruptedException
java.lang.IllegalAccessException

main

public static void main(java.lang.String[] args)
Parameters:
args -