Defining block size during runtime

From: sainath l (ls.sainath_at_gmail_dot_com)
Date: Wed Jul 22 2009 - 18:00:02 PDT

  • Next message: James Dinan: "Re: Defining block size during runtime"
    Hello Guys,
    
    I am very much interested in knowing any workaround, if possible, for
    dynamically allocating an array with variable block size at runtime.
    
    Lets say I want to know if it is possible to create the following array
    dynamically where N and M are some variables. If yes then how can we do it.
    
    shared [M] int A[N][M];
    
    Once again I thank you all for the Help.
    
    
    Sainath
    

  • Next message: James Dinan: "Re: Defining block size during runtime"