Changeset 93

Show
Ignore:
Timestamp:
03/18/07 01:29:26
Author:
apokayi
Message:

add write_shared for common fp and fix some functionality for others

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/io_fread_shared_ind.upc

    r91 r93  
    1515 
    1616 
    17 /* nmembs and offsets, this only works for 3 threads */ 
    18 static int nmembs [] = { 23, 37, 12 }; 
    19 static int offsets [] = { 2, 30, 81 }; 
     17/* nmembs and offsets, this only works for up to 8 threads */ 
     18static int nmembs [] = { 23, 37, 12 , 44, 14, 31, 4, 55}; 
     19static int offsets [] = { 2, 30, 81 , 25, 12, 21, 39, 47}; 
    2020 
    2121 
  • src/io_fwrite_shared_ind.upc

    r89 r93  
    1515 
    1616 
    17 /* nmembs and offsets, this only works for up to 4 threads */ 
    18 static int nmembs [] = { 23, 37, 12 , 20}; 
    19 static int offsets [] = { 2, 30, 81 , 33}; 
     17/* nmembs and offsets, this only works for up to 8 threads */ 
     18static int nmembs [] = { 23, 37, 12 , 20, 55, 3, 11, 40}; 
     19static int offsets [] = { 2, 30, 81 , 33, 14, 17, 27, 43}; 
    2020 
    2121int