wrong values in matrix multiplication

in the “matrix multiplication” code in CUDA FORTRAN language given in PGI CUDA FORTRAN guide

if i set values of N = 67 , M = 67, L = 1
then it is not giving correct answer.so where it needs modification ?

Hi kuldeep gupta,

then it is not giving correct answer.

Correct, as the example states just before the source code listing, for simplicity the code assumes the input size is a multiple of 16.

  • Mat