Objet : Developers list for StarPU
Archives de la liste
- From: Johan Mazel <johan.mazel@gmail.com>
- To: Samuel Thibault <samuel.thibault@inria.fr>, Johan Mazel <johan.mazel@gmail.com>, starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] Implementation question regarding output type
- Date: Fri, 20 Dec 2019 17:46:42 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=johan.mazel@gmail.com; spf=Pass smtp.mailfrom=johan.mazel@gmail.com; spf=None smtp.helo=postmaster@mail-wr1-f46.google.com
- Ironport-phdr: 9a23:2Tgjghzn/QvjzErXCy+O+j09IxM/srCxBDY+r6Qd2uoUIJqq85mqBkHD//Il1AaPAdyAragd0KGG4ujJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglVijexe61+IAi4oAnetcQbhZZpJ7osxBfOvnZGYfldy3lyJVKUkRb858Ow84Bm/i9Npf8v9NNOXLvjcaggQrNWEDopM2Yu5M32rhbDVheA5mEdUmoNjBVFBRXO4QzgUZfwtiv6sfd92DWfMMbrQ704RSiu4qF2QxLzliwJKyA2/33WisxojaJUvhShpwBkw4XJZI2ZLedycr/Bcd8fQ2dKQ8RfWDFbAo6kYIQPAegOM+ZWoYf+ulUAswexCBK2C+/z0DJFnGP60bE43uknDArI3BYgH9ULsHnMqNv1M6cSXvqzzKLVyjvMdfJX1in56IPVdR0ho/aMXbJqfsrX00UvEhnKj1SOpozhJD6V2eENvHKa7+pkT+6gl2knqwRorzWp28wihI7JhocPxVDF8yV02Ic1JduiSE56e9GoCpVQtzucOoBrQc0iW3lltDgmxrACo5K2fygHxI45yxLBdvCLaYeF7xPlWe2MOzl3nmhld6i6hxuq8Uiv1On8Vs6s3VZPtCVFk93MumkD1hzJ98SLU/V980ig1DqV2ADT7eZEIU8wlaXFMZIu3rkwlp8LvUTCGC/5hln2gbeIekk4/uWk8efqb7X8qpOCKYN4lxvyP6svl8CnBOQ3KAkOX2yV+eSm073j+FX0QLdNjv02iKbZtorWJcEBqa+4HQBV1p0u6xm6Dzi80dQYmWMLI05CeBKCl4TpIU3BIOjkDfejhFShiCxrx+zcMb37GpXNM2HPn6r/crZj9UFczBE+zdRe55JPFrEBO+j/WkD/tNzfFB85PBK7z/zmCNV7zIMeWHiADrWXMKPI4he04bcUKuyRaYtdhDb8IfE44+Km2WQwnEIQee+13ZodYW28AtxnJV+YaDzimIFFWUUNvgM4BMnjmlCGGWpRYHa7WeQ57yM2DKqpCI7CQsamh7nXmG+gApRMfn0DBl2SHHPAc4SfR+xKZyyVOMBs1D0CT7moDYE7hj+0swqv6b1nJ+yc3yQKuJargNpy5+TV0xQ75zFwJ8uY2mCJCWpzmzVbFHcNwKljrBklmR+42q9ijqkdTIQLvq8bYkIBLZfZitdCJZXqQAuYJ4WGTV+nRpOtBjRjFotske9LWF50HpCZtj6G3yeuBOVIxbmCBZhx7biFmnateYByzHHJ0KRnhF4jEJMWZD+Ww5Vn/g2WPLbn1kCQlqKkb6MZhXef+2KKzG7It0ZdAld9
- 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>
Thank you very much for your answer.
Is this new section called "7.1.7 Data Interface with Variable Size" in the 3rd chapter in http://starpu.gforge.inria.fr/doc/starpu.pdf? Or did I miss something? Or is not online yet?
I will take a look at tests/datawizard/variable_size.c, it looks similar to what I want to do.
Thank you very much again.
Johan
Le ven. 20 déc. 2019 à 17:19, Samuel Thibault <samuel.thibault@inria.fr> a écrit :
Hello,
Johan Mazel, le jeu. 19 déc. 2019 14:02:11 +0100, a ecrit:
> This is quite slow because I guess that StarPU has to transfer back all the
> result vectors to the RAM.
Yes.
> I identified two possible solutions :
> * Define a new data interface ([1]http://starpu.gforge.inria.fr/doc/html/
I don't think this will be needed
> * Use the CSR data interface.
That seems overkill :)
> Which one of these two methods looks do you think is the most appropriate for
> my use case? Do you know any examples that use a similar method?
I believe you can just use vectors, by reallocating it during the task.
I have now added a "Changing the size of a data" section in the StarPU
handbook. Basically the bits are shown in the kernel() function in
tests/datawizard/variable_size.c: you just reallocate the data buffer
and fix the size. When StarPU brings back the data to the main memory,
it will only have to transfer that piece.
Samuel
- [Starpu-devel] Implementation question regarding output type, Johan Mazel, 19/12/2019
- Re: [Starpu-devel] Implementation question regarding output type, Samuel Thibault, 20/12/2019
- Re: [Starpu-devel] Implementation question regarding output type, Johan Mazel, 20/12/2019
- Re: [Starpu-devel] Implementation question regarding output type, Samuel Thibault, 20/12/2019
- Re: [Starpu-devel] Implementation question regarding output type, Johan Mazel, 20/12/2019
- Re: [Starpu-devel] Implementation question regarding output type, Samuel Thibault, 20/12/2019
- Re: [Starpu-devel] Implementation question regarding output type, Johan Mazel, 20/12/2019
- Re: [Starpu-devel] Implementation question regarding output type, Samuel Thibault, 20/12/2019
- Re: [Starpu-devel] Implementation question regarding output type, Johan Mazel, 20/12/2019
- Re: [Starpu-devel] Implementation question regarding output type, Johan Mazel, 20/12/2019
- Re: [Starpu-devel] Implementation question regarding output type, Samuel Thibault, 20/12/2019
- Re: [Starpu-devel] Implementation question regarding output type, Johan Mazel, 20/12/2019
- Re: [Starpu-devel] Implementation question regarding output type, Samuel Thibault, 20/12/2019
- Re: [Starpu-devel] Implementation question regarding output type, Johan Mazel, 20/12/2019
- Re: [Starpu-devel] Implementation question regarding output type, Samuel Thibault, 20/12/2019
Archives gérées par MHonArc 2.6.19+.