Changes between Initial Version and Version 1 of application_pages/tutorial_apps/c/matmul_objects_ompss


Ignore:
Timestamp:
07/25/16 15:22:07 (8 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • application_pages/tutorial_apps/c/matmul_objects_ompss

    v1 v1  
     1[[PageOutline]] 
     2 
     3= Application Name = 
     4 
     5Matrix multiplication with objects 
     6 
     7= Summary = 
     8 
     9* '''Name''': {{{Matrix multiplication with objects}}} 
     10* '''Contact Person''': {{{support-compss@bsc.es}}} 
     11* '''Access Level''': {{{public}}} 
     12* '''License Agreement''': {{{Apache2}}} 
     13* '''Platform''': {{{COMPSs}}} 
     14* '''Repository''': [[https://compss.bsc.es/svn/bar/tutorial_apps/c/matmul_objects_ompss|Matrix multiplication with objects]] 
     15 
     16 
     17== Description == 
     18Matrix multiplication is a binary operation that takes a pair of matrices and produces another matrix. 
     19 
     20If A is an n×m matrix and B is an m×p matrix, the result AB of their multiplication is an n×p matrix defined only if the number of columns m in A is equal to the number of rows m in B. When multiplying A and B, the elements of the rows in A are multiplied with corresponding columns in B. 
     21 
     22In this implementation, A and B are square matrices (same number of rows and columns), and so it is the result matrix C. Each matrix is divided in N blocks of M doubles. The multiplication of two blocks is done by a multiply task method with a simple three-nested-loop implementation. When executed with COMPSs, the main program generates N^3^ tasks arranged as N^2^ chains of N tasks in the dependency graph. 
     23 
     24 
     25== Execution instructions == 
     26Usage: 
     27runcompss --lang=c /home/compss/workspace_c/matmul_objects/master/Matmul <numberOfBlocks> <blockSize> <initVal> 
     28 
     29where: 
     30                 * - numberOfBlocks: Number of blocks inside each matrix 
     31                 * - blockSize: Size of each block 
     32                 * - initVal: double value for the matrix initialization 
     33 
     34 
     35== Execution Example == 
     36runcompss --lang=c /home/compss/workspace_c/matmul_objects/master/Matmul 8 4 12.34 
     37 
     38 
     39== Build == 
     40buildapp Matmul