User Profile
Collapse
-
use dynamic memory allocationLast edited by queer; Mar 31 '14, 01:26 AM. Reason: please let me know if you require other details. -
Segmentation Problem at 1024 size matrixes multiplication
I am able to compute the matrix multiplication algorithm upto 512 input square matrices of random numbers. I get a segmentation error at 1024 size input square matrices.
...Code:for(i=1;i<=m;i++) { for(j=1;j<=q;j++) { C[i][j]=0; for(k=1;k<=p;k++) { //printf("i %d k %d j %d",i,k,j); //printf("Aik %d Bkj%d",A[i][k],B[k][j]); float d = A[i][k]*B[k][j]; C[
No activity results to display
Show More
Leave a comment: