1 Reply Latest reply on Dec 5, 2010 4:26 PM by himanshu.gautam

    The problem in the Maxtrix multiply example

    supersunshine

      is there any one would  help me,the problem is given below:

      (wA is the width of Maxtrix A,and hA is the heigth of A,and Matrix B is similar with is)

      "int bx=blockIdx.x

      //index of the first sub-matrix of A processed by the block

      int aBegin=wA*BLOCK_SIZE*by

      int aEnd=aBegin+wA-1;

      int bBegin=BLOCK_SIZE*bx

      "

      i do not understand  meaning of the code and how does the index of the first sub-matrix of A processed by ther block caculated? thanks.