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: Sameer Deshmukh <sameer.deshmukh@rio.gsic.titech.ac.jp>
  • To: Olivier Aumage <olivier.aumage@inria.fr>
  • 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 23:08:35 +0900
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=sameer.deshmukh@rio.gsic.titech.ac.jp; spf=Pass smtp.mailfrom=sameer.deshmukh@rio.gsic.titech.ac.jp; spf=None smtp.helo=postmaster@mail-lj1-f181.google.com
  • Ironport-phdr: 9a23:Ppd97h/26GHRl/9uRHKM819IXTAuvvDOBiVQ1KB20e8cTK2v8tzYMVDF4r011RmVBNydsq8bwLWL+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxhViDanfL9/LBe7oQrTu8QWnIBvNrs/xhzVr3VSZu9Y33loJVWdnxb94se/4ptu+DlOtvwi6sBNT7z0c7w3QrJEAjsmNXs15NDwuhnYUQSP/HocXX4InRdOHgPI8Qv1Xpb1siv9q+p9xCyXNtD4QLwoRTiv6bpgRQT2gykbKTE27GDXitRxjK1FphKhuwd/yJPQbI2MKfZyYr/RcdYcSGFcXMheSjZBD5uzYIsBDeUPPehWoYrgqVUQsRSzHhOjCP/1xzJSmnP6wa833uI8Gg/GxgwgGNcOvWzJotrvMacdT/66zLPVxjvNcfxWwjf96I3VchAiofGHQLV9cdHLxkkqCQzKkE+QpZb4MDyLzeQNs22b7/djVeKvkGMnsQBxoj+1yscjkYnJh54axkrY9SV43IY6O8G3SE5hbdG+DJRcrSOaN5NvT84kXmpmtiE6yrgctp66eigH0JUnxxjFa/yGaYeE+BzjVPyXLDxlh3xlYKqyiwiu/UWk0OHxVcm53ExUoiZZkdTArG0B2h/O5sWBV/Bz5F2u2SyV2ADW8uxEIV47la7cK5M5x74/jJsTsUDaEi/ymkX6kbaadks59uWr9ujreLrmppibN497jgHxLL4ildC4AeQ9KgQOXm6b9vqg1LD740H1XLFHguc1n6TZqpzWO9gXq62jDwNI0Ysv9g6zDzK839QZmXkHIkhFeBWCj4XxIFHBOvX4AumhjFS2ijtk2u7JPqbhApXIM3jDk7fhcK1n605dzwo/199f54lVCr4dOv7zRk7xtMDGARAlMwy42fzoB8ln2oMcQWKDGrWZP7/KsV+U+uIvJPGBZJQJuDnnMfgl/+PugWYkllADY6mmw58XZWu8HvRnOEWZfWHsjs0OEWcEuQo+VuPqh0OYXT5SYXayRaM86SshBIKoF4eQDryq1ZuF3Tm6E4ceT31DA1+BWSPvc4SaWvoWLiuPJ8ZunxQFU6KgQskvz0f9mhX9zu9cJ+/Z9zdQmZ/41N1o5O2bwQo78DF5FYKR3nqNSnx3nksSRjhw07t+qgphy0uO2qg+ivceF8QFtKABaRszKZOJl78yMNv1QA+UO47REA/7EOXjOik4S5cK+/FLY0t5HI/83BXK3i7vB71M0rLSVMVy/aXb0Hz8Yc16ziSejfVzvxwdWsJKcFaeqOtn7QGJXNzTkkLfmL2rfuIA3TLA/2fFxGHIvlkKCFchA5WAZmgWYw7tlfq840rDS7G0DrF9aVlbyMnEJbBLYZv1jElLT/elMd+YYXrjwmo=
  • 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 Emmanuel and Olivier,

Thank you for your help. I'll have a look at the functions and see if they work in my code.

As an aside, I will be attending the Gene Golub Summer School being organized by INRIA next week. Will we get to meet each other there?

On Wed, Jun 12, 2019 at 10:59 PM Olivier Aumage <olivier.aumage@inria.fr> wrote:
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



--
Regards,
Sameer Deshmukh



Archives gérées par MHonArc 2.6.19+.

Haut de le page