|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread com.multicorebsp.core.BSP_PROGRAM com.multicorebsp.bspedupack.BSPmv_driver
public abstract class BSPmv_driver
Distributed-/shared-memory sparse matrix--vector driver application.
Does all I/O and initialisation for either one of the available SpMV
kernel codes; see below.
BSPmv_fully_buffered
,
BSPmv_half_buffered
,
By default, BSPmv_half_buffered is used. See the static main
function for switching to other variants.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected com.multicorebsp.util.TS<com.multicorebsp.util.IntegerData> |
colglobal
|
protected int[][] |
cols2global
|
protected int[][] |
dxs
|
protected int[][] |
dys
|
protected int[] |
input_length
|
protected com.multicorebsp.util.MMobject |
matrix
|
protected int[] |
output_length
|
protected int[][] |
oxs
|
protected int[][] |
oys
|
protected com.multicorebsp.util.TS<com.multicorebsp.util.IntegerData> |
rowglobal
|
protected int[][] |
rows2global
|
protected com.multicorebsp.bspedupack.BSPmv_driver.Settings |
settings
Run-time settings |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
BSPmv_driver()
|
Method Summary | |
---|---|
protected void |
emm_init()
|
protected void |
main_part()
|
static void |
main(java.lang.String[] args)
|
protected void |
parallel_part()
|
protected void |
test_on_mm_matrix()
|
protected void |
test_on_random_matrix()
|
static int[][] |
varmat2raw(com.multicorebsp.util.VectorCollection<com.multicorebsp.util.IntegerData> varmat)
|
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 |
Field Detail |
---|
protected com.multicorebsp.bspedupack.BSPmv_driver.Settings settings
protected com.multicorebsp.util.MMobject matrix
protected com.multicorebsp.util.TS<com.multicorebsp.util.IntegerData> rowglobal
protected com.multicorebsp.util.TS<com.multicorebsp.util.IntegerData> colglobal
protected int[][] rows2global
protected int[][] cols2global
protected int[][] oxs
protected int[][] oys
protected int[][] dxs
protected int[][] dys
protected int[] input_length
protected int[] output_length
Constructor Detail |
---|
public BSPmv_driver()
Method Detail |
---|
protected void main_part() throws java.lang.InterruptedException
main_part
in class com.multicorebsp.core.BSP_PROGRAM
java.lang.InterruptedException
protected void test_on_random_matrix() throws java.lang.InterruptedException, java.lang.IllegalAccessException
java.lang.InterruptedException
java.lang.IllegalAccessException
protected void test_on_mm_matrix() throws java.lang.InterruptedException, java.lang.IllegalAccessException
java.lang.InterruptedException
java.lang.IllegalAccessException
protected void emm_init() throws java.lang.InterruptedException, java.lang.IllegalAccessException
java.lang.InterruptedException
java.lang.IllegalAccessException
protected void parallel_part() throws java.lang.InterruptedException, java.lang.IllegalAccessException
parallel_part
in class com.multicorebsp.core.BSP_PROGRAM
java.lang.InterruptedException
java.lang.IllegalAccessException
public static int[][] varmat2raw(com.multicorebsp.util.VectorCollection<com.multicorebsp.util.IntegerData> varmat)
public static void main(java.lang.String[] args)
args
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |