 }
 
 
+template <bool UseCache>
 static void
 mvm
 (

    dim3 blocks;
    dim3 threads;

    mvm_control(rows, cols, blocks, threads);
    mvm_core<<<blocks,threads>>>(d_y, d_A, d_x, rows, cols);
}



void
mvm_if(float *d_y, const uint32_t *d_A, const float *d_x, const uint32_t m, const uint32_t n)
{
    mvm<false>(d_y, d_A, d_x, m, n);
}

