edu.rit.pj.test
Class Test12
- java.lang.Object
-
- edu.rit.pj.test.Test12
-
public class Test12 extends java.lang.ObjectClass Test12 is a unit test main program for the SMP barrier functionality in package edu.rit.pj. The program obtains three numbers, N1, N2, and N3, from the command line. Then the program does the following:block = Array of N2 16-byte blocks for i = 0 to N1 - 1 parallel for j = 0 to N2 - 1 for k = 0 to N3 - 1 Encrypt block[j] using AES with an all-zero key barrierUsage: java -Dpj.nt=K edu.rit.pj.test.Test12 N1 N2 N3
K = Number of parallel threads
N1 = Number of outer loop iterations
N2 = Number of middle loop iterations
N3 = Number of inner loop iterations
-
-
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