 #define NTHREADS_Y 32
 #define THREADS_PER_BLOCK NTHREADS_X * NTHREADS_Y
 
-__global__ void vector_mul(int *a, int *b, int *c, int a_ncolumns, int c_nlines, int c_ncolumns) {
+__global__ void matrix_mul(int *a, int *b, int *c, int a_ncolumns, int c_nlines, int c_ncolumns) {
 
     int column = blockIdx.x * blockDim.x + threadIdx.x;
     int line =  blockIdx.y * blockDim.y + threadIdx.y;

 * Alexandre Maros - 2016
 *
 * Cuda Matrix Multiplication with Global Memory.
 *
 * Implemented by Alexandre Maros for learning purposes.
 * A version of this code using Shared Memory is in here:

    #endif

    // kernel call
    matrix_mul<<<tbloco,tthreads>>>(d_a, d_b, d_c, a_ncolumns, c_nlines, c_ncolumns);

    cudaMemcpy(c, d_c, c_size, cudaMemcpyDeviceToHost);
    gettimeofday(&timevalB,NULL);
