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)
//index of the first sub-matrix of A processed by the block
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.
I find it hard to understand your question. Are you trying to do matrix multiplication using LDS? Refering to OpenCL samples can be a good idea.
Besides that Can you provide the complete kernel, or quote its source?