Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Request help for StarPU-MPI data_handle copy behaviour.

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Request help for StarPU-MPI data_handle copy behaviour.


Chronologique Discussions 
  • From: Olivier Aumage <olivier.aumage@inria.fr>
  • To: Sameer Deshmukh <sameer.deshmukh@rio.gsic.titech.ac.jp>
  • Cc: Emmanuel Agullo <emmanuel.agullo@inria.fr>, "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
  • Subject: Re: [Starpu-devel] Request help for StarPU-MPI data_handle copy behaviour.
  • Date: Wed, 12 Jun 2019 15:59:13 +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>

Dear Sameer,

The family of functions "starpu_vector_ptr_register()" and alike should do
what you want.

The purpose of starpu_data_register_same is different: it creates a new data
handle with parameters copied from a pre-existing data handle.

Best regards,
--
Olivier Aumage

> Le 12 juin 2019 à 15:30, Emmanuel Agullo <emmanuel.agullo@inria.fr> a écrit
> :
>
> Dear Sameer,
>
> Sorry for the late response. I just discussed with StarPU developers. It
> will be better to directly interact with them (CC) on this advanced
> question.
>
> Best regards,
>
> Emmanuel
>
> Sameer Deshmukh <sameer.deshmukh@rio.gsic.titech.ac.jp> writes:
>
>> Dear Emmanuel,
>>
>> My name is Sameer Deshmukh, from Rio Yokota Lab at Tokyo Institute of
>> Technology, Japan. I'm an M2 student conducting research on H-matrices.
>>
>> I'm currently trying to use starPU to create a dynamic distributed
>> Hierarchical
>> matrix library for H2 matrices, and am running into some problems when
>> interfacing starPU with my code. Would be great if you could shed some
>> light on
>> the following question.
>>
>> So basically I have registered some data handles of type
>> `starpu_data_handle_t`
>> using the `starpu_mpi_data_handle_register` function, and at some point of
>> time
>> in the code, the data that is held within these pointers needs to be
>> destroyed
>> and new data created in its place.
>>
>> Now the older data already has some dependencies defined on it, and I wish
>> to
>> 'transfer' these dependencies to the new data possibly by copying the
>> contents
>> of the older data handles. The new data will strictly reside on the same
>> node as
>> the older data.
>>
>> I tried using `starpu_data_register_same` but it complains that the handle
>> is
>> not registered (maybe this function is not meant to be used with the MPI
>> interface?).
>>
>> Could you please tell me if its possible to make this handle copying +
>> dependency transfer happen in starPU?
> _______________________________________________
> Starpu-devel mailing list
> Starpu-devel@lists.gforge.inria.fr
> https://lists.gforge.inria.fr/mailman/listinfo/starpu-devel





Archives gérées par MHonArc 2.6.19+.

Haut de le page