com.multicorebsp.bspedupack
Class BSPmv_fully_buffered

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

public class BSPmv_fully_buffered
extends BSPmv_driver

Two-superstep shared-memory SpMV algorithm written for SM-SPMD systems. Adapted from the original DM-SPMD version found in the original BSPedupack.
This algorithm performs a sequential SpMV by now also buffering the output vector (no switching beforehand between different code for local vs non-local output vector elements, as happens in the other two BSPmv variants.


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 com.multicorebsp.bspedupack.BSPmv_driver
colglobal, cols2global, dxs, dys, input_length, matrix, output_length, oxs, oys, rowglobal, rows2global, settings
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
BSPmv_fully_buffered()
           
 
Method Summary
 
Methods inherited from class com.multicorebsp.bspedupack.BSPmv_driver
emm_init, main_part, main, parallel_part, test_on_mm_matrix, test_on_random_matrix, varmat2raw
 
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

BSPmv_fully_buffered

public BSPmv_fully_buffered()