edu.rit.pj.test
Class Test13
- java.lang.Object
-
- edu.rit.pj.test.Test13
-
public class Test13 extends java.lang.ObjectClass Test13 is a unit test main program for the SMP barrier functionality in package edu.rit.pj. The program does the O(N3) Floyd's Algorithm on an NxN matrix filled with random data. The final matrix is stored in a binary file using java.io.DataOutput. Running time measurements are for the computational core only, not including initializing the matrix or writing the output file.Usage: java -Dpj.nt=K edu.rit.pj.test.Test13 seed N file
K = Number of parallel threads
seed = Random seed
N = Matrix size (NxN)
file = Output file name
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidmain(java.lang.String[] args)Unit test main program.
-
DMelt 3.0 © DataMelt by jWork.ORG