charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Laércio Lima Pilla <laercio.pilla AT ufsc.br>
- To: charm AT lists.cs.illinois.edu
- Subject: [charm] Access modifiers on load balancing data
- Date: Tue, 12 Jan 2016 18:14:47 -0200
- Organization: UFSC-CTC-INE
Dear all,
I am having an issue with the access modifiers of load variables in classes ProcInfo and Vertex.
Since I recompute loads in some of my load balancers, I needed 'set methods' to update cores and tasks' loads. My usual solution was to edit ckgraph.h, but I want to stop modifying Charm's source files.
Nevertheless, I cannot simply extend Vertex because the load variable is set as 'private'. If it were set as 'protected' (as is the case for ProcInfo variables), that would not be an issue.
Would it be possible to add set methods in ckgraph.h or change the access modifier of Vertex's load data (double compload)?
Best regards,
--
Laércio Lima Pilla, PhD. Associate Professor (Professor Adjunto) UFSC - CTC - INE, Brazil Email: laercio.pilla AT ufsc.br or laercio.lima.pilla AT gmail.com Tel: +55 (48) 9152 8120, +55 (48) 3721 7564 Website: www.inf.ufsc.br/~pilla/
- [charm] Access modifiers on load balancing data, Laércio Lima Pilla, 01/12/2016
- <Possible follow-up(s)>
- Re: [charm] Access modifiers on load balancing data, Harshitha Menon, 01/12/2016
- Re: [charm] Access modifiers on load balancing data, Laércio Lima Pilla, 01/12/2016
Archive powered by MHonArc 2.6.16.