Skip to Content.
Sympa Menu

charm - [charm] Fwd: Dynamically obtaining the number of array elements from its proxy

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Fwd: Dynamically obtaining the number of array elements from its proxy


Chronological Thread 
  • From: Alexander Frolov <alexndr.frolov AT gmail.com>
  • To: charm AT cs.illinois.edu
  • Subject: [charm] Fwd: Dynamically obtaining the number of array elements from its proxy
  • Date: Thu, 22 Dec 2016 00:41:25 +0300

Hi all!

I know of ckGetArraySize which can be used to read number of array elements from the inside of the [array] chare class. But is it possible to know the number of array elements just from its initialized proxy? 

Best, 
   Alexander

...
CProxy_array proxy_array;
MainChare::MainChare() {
   proxy_array = CProxy_array::ckNew(N);
void foo() {
    // smth like this:
    proxy_array.ckArraySize(); //?
}
...





Archive powered by MHonArc 2.6.19.

Top of Page