User Profile

Collapse

Profile Sidebar

Collapse
queer
queer
Last Activity: Mar 31 '14, 01:26 AM
Joined: Mar 29 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • use dynamic memory allocation
    See more | Go to post
    Last edited by queer; Mar 31 '14, 01:26 AM. Reason: please let me know if you require other details.

    Leave a comment:


  • queer
    started a topic Segmentation Problem at 1024 size matrixes multiplication
    in C

    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[
    ...
    See more | Go to post
    Last edited by Niheel; Apr 1 '14, 05:24 PM. Reason: Code added
No activity results to display
Show More
Working...