Skip to Content.
Sympa Menu

charm - Re: [charm] Template

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Template


Chronological Thread 
  • From: Haowei Huang <huangh AT in.tum.de>
  • To: Phil Miller <mille121 AT illinois.edu>
  • Cc: charm AT cs.illinois.edu
  • Subject: Re: [charm] Template
  • Date: Thu, 10 Jun 2010 14:24:27 +0200
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

  
   Hi Phil,

   I mean templated Charm++ chares like creating specific container for chares rather than using default chare array or CkVec . For example,

      Template <chare C>
       class myContainer{
         ...
        }

    How to declare the Template myContainer in .ci file? Is declaring chare C in .ci file enough or something more?
 
2010/6/8 Phil Miller <mille121 AT illinois.edu>
Please resend your question to the mailing list.

Also, please clarify whether you mean templated Charm++-specific
objects (like chares or messages) or templated C++ objects. The latter
work like any other C++ code. The former are supported with about the
syntax one would expect, in the ci file, and some extra declarations
of what template instantiations are in use.

On Tue, Jun 8, 2010 at 14:40, Haowei Huang <huangh AT in.tum.de> wrote:
> Hi Phil:
>
>        Does the Charm++ system support the definition of template?
>        For example,
>
>          Template <chare C>
>          class myContainer{
>          ...
>          }
>
> --
> Haowei Huang
> Ph.D. student
> Technische Universitaet Muenchen
> Institut fuer Informatik, I10
> Boltzmannstr. 3
> D-85748 Garching
> Room 01.06.061
> Phone: +49 (89) 289 18477
> mailto: huangh AT in.tum.de
>



--
Haowei Huang
Ph.D. student
Technische Universitaet Muenchen
Institut fuer Informatik, I10
Boltzmannstr. 3
D-85748 Garching
Room 01.06.061
Phone: +49 (89) 289 18477
mailto: huangh AT in.tum.de



Archive powered by MHonArc 2.6.16.

Top of Page