hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hama Wiki] Trivial Update of "Architecture" by udanax
Date Mon, 17 Nov 2008 09:37:41 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hama Wiki" for change notification.

The following page has been changed by udanax:
http://wiki.apache.org/hama/Architecture

------------------------------------------------------------------------------
  ----
  
  == Dense Matrix ==
- For dense matrix computations, The block-partitioned algorithms used to minimize data movement
and network cost. Dense Matrix and Blocked Dense Matrix are both stored in one table with
other metadata. 
+ For dense matrix computations, The block-partitioned algorithms used to minimize data movement
and network cost. Dense Matrix and Blocked Dense Matrix are both stored in one table with
other metadata. But, Blocked dense matrix can be synchronized by dense matrix update.
- 
-  -- BTW, How to synchronize them? Should we blocking when operate something? -- Edward
  
  {{{
    // Generate matrix with random elements
@@ -23, +21 @@

    DenseMatrix b = DenseMatrix.random(conf, 1000, 1000);
    
    // The type of the Matrix to be blocked, must be dense.
-   a.blocking();
+   a.blocking(2);
-   b.blocking();
+   b.blocking(2);
  
    DenseMatrix c = a.mult(b);
  }}}

Mime
View raw message