Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] StarPU gcc plugin not building

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] StarPU gcc plugin not building


Chronologique Discussions 
  • From: ludovic.courtes@inria.fr (Ludovic Courtès)
  • To: Miguel Palhas <mpalhas@gmail.com>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] StarPU gcc plugin not building
  • Date: Tue, 23 Apr 2013 16:21:30 +0200
  • List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel>
  • List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>

Miguel Palhas <mpalhas@gmail.com> skribis:

> Now, this might raise a problem for my project. Will i have any trouble if
> i compile the kernels separately as C code with gcc, but invoke them within
> C++ code?

No. Just make sure to declare the C functions within an ‘extern "C"’ block.

> Also, are these issues just specific to the plugin version? if required, i
> might just have use the API version, as long as it is more stable

Yes, these issues are caused by the GCC plug-in.

> And by the way, should i expect the same performance between both versions
> (Plugin and API)?

Yes. However, the C extensions supported by the plug-in are less
expressive than the C API, and you may find that you need some of the
features available in the API and not as C extensions, such as data
partitioning.

Ludo’.





Archives gérées par MHonArc 2.6.19+.

Haut de le page