Dear xianyi,
I compiled OpenBlas with visual studio 2012 in X86
But when I call cblas_sgemm with small matrices it works but with big matrices , I got an access violation.
Below a piece of code
float* AA = (float_)malloc(270000_sizeof(float)); // matrice of 10000x27
memset(AA, 0.1, 270000_sizeof(float));
float_ BB = (float_)malloc(864_sizeof(float)); // matrice of 27x32
memset(BB, 0.2, 864_sizeof(float));
float_ CC = (float_)malloc(320000_sizeof(float)); //Matrice of 10000x32
cblas_sgemm(CblasColMajor, CblasNoTrans, CblasNoTrans, 10000, 32, 27,
1.0, AA, 10000, BB, 27, 0.0, CC, 10000);
free(AA);
free(BB);
free(CC);
This piece of code above works with openblas compiled MinGW but not with the version compile with visual studio
Any idea ?