Changeset 161

Show
Ignore:
Timestamp:
10/14/07 04:49:24
Author:
apokayi
Message:

typo fixed, explicit casting is done among different blocksize shared arrays

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • guts_main/src/pointer_to_shared.upc

    r132 r161  
    8888        int phase1, thread1, phase2, thread2; 
    8989 
    90         p = &A[0]; 
     90        p = (shared[B] int*) &A[0]; 
    9191        p1 = p + i; 
    9292  
     
    110110 
    111111        s1 = &D[B*MYTHREAD]; 
    112         s2 = &D[(B*MYTHREAD + 1)%THREADS]; 
     112        s2 = &D[(B*MYTHREAD + 1)]; 
    113113 
    114114        pp1 = (int*) s1;