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.