Re: dynamically allocating memory for two dimensional array

From: Gary Funck (gary_at_intrepid_dot_com)
Date: Fri Jul 17 2009 - 14:36:02 PDT

  • Next message: sainath l: "Defining block size during runtime"
    Attached, is different implementation that allocates
    each a[i] in thread-distributed fashion, and each
    thread allocates its own thread-local storage for
    a[j] where (j%MYTHREAD) == MYTHREAD.  As a final
    step, thread 0 verifies that each a[i] has the
    exected affinity.
    
    - Gary
    
    


  • Next message: sainath l: "Defining block size during runtime"