>mppcheck online demonstrator
Download
Input
Input program
void kernel_gemm() { int NI=512; int NJ=512; int NK=512; int i, j, k; double alpha; double beta; double** C; double** A; double** B; #pragma begin_scop for (i = 0; i < NI; i++) { for (j = 0; j < NJ; j++) #pragma tile_hyperplanes[i][j][0] #pragma tile_ratio[1][1][1] #pragma schedule[__T][__T][__T][i][0][0][j] C[i][j] = C[i][j] * beta; for (k = 0; k < NK; k++) { for (j = 0; j < NJ; j++) #pragma tile_hyperplanes[i][j][k] #pragma tile_ratio[1][1][1] #pragma schedule[__T][__T][__T][i][k][1][j] C[i][j] = C[i][j] + alpha * A[i][k] * B[k][j]; } } #pragma end_scop }
Output format
raw
errors
examples
Execute