From: sainath l (ls.sainath_at_gmail_dot_com)
Date: Tue Jul 14 2009 - 12:23:36 PDT
Hello, I want to dynamically allocate memory for a two dimensional array. I was not able to find an example of how to do it. I would be very happy if somebody could post a sample program of dynamic allocation of a two dimensional array. I believe the declaration of the pointer will look like this . shared int *shared *shared a1; I would like to allocate memory using upc_all_alloc(). Many thanks. Cheers, Sainath