ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/MatrixMultiply.java
(Generate patch)

Comparing jsr166/src/test/loops/MatrixMultiply.java (file contents):
Revision 1.7 by jsr166, Wed Dec 31 16:44:01 2014 UTC vs.
Revision 1.8 by jsr166, Thu Jan 15 18:34:19 2015 UTC

# Line 7 | Line 7
7   //import jsr166y.*;
8   import java.util.concurrent.*;
9  
10
10   /**
11   * Divide and Conquer matrix multiply demo
12   */
# Line 79 | Line 78 | public class MatrixMultiply {
78          pool.shutdown();
79      }
80  
82
81      // To simplify checking, fill with all 1's. Answer should be all n's.
82      static void init(float[][] a, float[][] b, int n) {
83          for (int i = 0; i < n; ++i) {
# Line 247 | Line 245 | public class MatrixMultiply {
245              snd.invoke();
246          }
247      }
250
251
248   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines