Changes between Version 33 and Version 34 of MatrixMultiply


Ignore:
Timestamp:
Jul 6, 2010 2:23:36 AM (14 years ago)
Author:
nakasato
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MatrixMultiply

    v33 v34  
    22We have implemented single/double precision matrix multiply programs for RV770/Cypress. In our implementation, we use two input streams for computing C=AB. One is transposed input matrix A (i.e. column major) and other is input matrix B in normal format (i.e. row major). Output matrix C is also row major. We adopted 8x8 block for single precision and 4x4 for double precision. Here is benchmark result for each case. Note only kernel execution time is measured. 
    33 
    4 Update: we put double-double (DD) precision performance. In this case, we used 2x2 block in this case. On Cypress architecture GPU, we take advantage of FMA_64 instruction. For MAD peak in DD, we assume one DD operation takes 20 DP operations(ops) without FMA and 15 ops with FMA. Precicely, DD add and DD mul without FMA takes ~ 20 ops while DD mul with FMA only takes ~ 8 ops.  
     4Update: we put double-double (DD) precision performance. In this case, we used 2x2 block in this case. On Cypress architecture GPU, we take advantage of FMA_64 instruction. For MAD peak in DD, we assume one DD operation takes 20 DP operations(ops) without FMA and 15 ops with FMA. Precisely, DD add and DD mul without FMA takes ~ 20 ops while DD mul with FMA only takes ~ 8 ops. Even without FMA_64 instruction, we can use MULADD instruction to reduce op count in DD mul. On RV770, we have 13% better performance as indicated with the row with MAD. 
    55 
    6 == Peformance Summary == 
     6== Performance Summary == 
    77|| board  || Pmax || Nmax || prec  || reg. usage || MAD peak || note || 
    88|| HD4850 || 736    || 3328 || SP || 25 || 1040 |||| 
     
    1111|| HD5870 || 475    || 2048 || DP || 19 || 544 |||| 
    1212|| HD4850 || 7.5    || 768  || DDP || 21 || ~10.4 |||| 
     13|| HD4850 || 8.6    || 1024 || DDP || 17 || ~10.4 || MAD || 
    1314|| HD5870 || 20     || 1024 || DDP || 21 || ~27.2 |||| 
    1415|| HD5870 || 31     || 1024 || DDP || 18 || ~36.2 || FMA ||