PacktPublishing / Learn-CUDA-Programming

Learn CUDA Programming, published by Packt
MIT License
1.02k stars 238 forks source link

I have a bit of a dispute with this code #13

Open InkChan opened 2 years ago

InkChan commented 2 years ago

Learn-CUDA-Programming/tree/master/Chapter02/02_memory_overview/01_sgemm)/sgemm.cu segmm_gpu_kernel: sum += A[i + row K] B[col + i * M]; I think it should be M

zhihaoling commented 1 year ago

yeah , you are right. And the annotation in this file should be: //! @param K width of matrix A and height of matrix C => B