Hi,
I launched an Memory Error Analysis with Intel Inspector on simple test of the dgemm function and i got this warning:"uninitialized memory access"located on the dgemm call.
Here is my test (really simple !) :
void dgemm_test() { double *A,*B,*C; double alpha, beta; int m,i; m = 10; A = (double*)mkl_malloc((m*m)*sizeof(double),128); B = (double*)mkl_malloc((m*m)*sizeof(double),128); C = (double*)mkl_malloc((m*m)*sizeof(double),128); for(i=0; i<m*m; i++){ A[i] = (double)(rand() % (m*m)) / (double)(m*m); B[i] = (double)(rand() % (m*m)) / (double)(m*m); C[i] = 0.0; } alpha = 1.0; beta = 0.0; cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans, m, m, m, alpha, A, m, B, m, beta, C, m); mkl_free(A); mkl_free(B); mkl_free(C); }
Each buffer seems to be initialized... Do I have to be worried about this warning ? Is it an expected behavior ?
My configuration: Intel Inspector XE 2013. MKL: 11.1.2 (32bit mode). CPU: Xeon E5-1620. OS: W7 64bit (SP1).
Thanks in advance for your help !