Objet : Developers list for StarPU
Archives de la liste
- From: Johan Mazel <johan.mazel@gmail.com>
- To: starpu-devel@lists.gforge.inria.fr
- Subject: [Starpu-devel] Implementation question regarding output type
- Date: Thu, 19 Dec 2019 14:02:11 +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-f52.google.com
- Ironport-phdr: 9a23:2+IuLhaKtSGeS0QAP4QTogn/LSx+4OfEezUN459isYplN5qZoMu8bnLW6fgltlLVR4KTs6sC17ON9fq5ACdcvd6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vIhi6txvdutQLjYdtJas8xQbCr2dVdehR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/YTQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhSEaPDM/7WrZiNF/jLhDrR2upxJxzY3abpyLOvViZa7SZ88WSHBbU8pNSyBMAIWxZJYPAeobOuZYqpHwqV8JrRu+HwasAv7kxDhSiX73w6I61/kqHAbE3AwnH9IBqnLUoM/wNKgIUOG60q3IwC7Mb/NTwzj96YzIfgo9rvGLWLJ9aMzcwlQhGQPCi1Wfs43lPzWN2+QMtWib9etgWvi1h24psQF8pCWkyMQ0ioTRmI4Z1lTJ+T96zYs1P9G0VlB3bcO+HJZQqS2XMZZ9TNk4TGFyoik6z6ULuZ6lcygOz5Qq3xvfZOaGc4iM+x7iWvyRLSphiHJreL+zmQy+8Uenyu37Wcm01EhFojBZndnLs3ABzx3T6s6ZRfth5kqtxyqD2gTJ5uxHIU04j7TXJ4A8zrIqlpcfr1zPHirsl0X3iK+WeF8k+u+t6+n/YLXmoZ+cOJVyig3kN6QhgM2+Dvo8MgUVUGib/P6z1Lzn/UHjXLpKifg2nrHDsJ/GPcQburK5AwhN34Y49xawFS2m0MwFnXUeMV1KZgyHgJbtO1zVJPD4DOy/g0i3kDtxyPDGMLrhAo/CLnfdirvhfLB961RdyAUp19xf6YhUWfk9J6foRkbrrMGdAhInPgicx+f8FM472Y0ZQ22CRK6fKqLb91GStcw1JOzZRogVsTC1DvE36vqm2X0+mVYbO6ygz5YTQH+9F/ViZU6eZCy/0Z86DW4Ws19mH6TRg1qYXGsLPifgb+cH/jg+TbmeI8LGT4GpjqaG2X7iTJJTb2FCTFuLFCWxLtjWa7I3cCuXZ/RZvHkEWLymEdJz0BivsErl0eMiILeOvCIfsp3n2Z5+4OiBzUhupwwxNNyU1iS2d08xhnkBHmZk06V2oEg7wVCGg/B1
- 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>
Hello
I am using StarPU to test ranges of values and identify "good" ones inside these ranges.
I however cannot predict the number of "good" values inside a range.
The output of the method is thus a list of "good" values which is of variable size.
My current naive implementation returns a vector of size equal to the number of elements in the range. Inside this output vector, 0 means "bad" and 1 means "good".
This is quite slow because I guess that StarPU has to transfer back all the result vectors to the RAM.
I identified two possible solutions :
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 am using StarPU to test ranges of values and identify "good" ones inside these ranges.
I however cannot predict the number of "good" values inside a range.
The output of the method is thus a list of "good" values which is of variable size.
My current naive implementation returns a vector of size equal to the number of elements in the range. Inside this output vector, 0 means "bad" and 1 means "good".
This is quite slow because I guess that StarPU has to transfer back all the result vectors to the RAM.
I identified two possible solutions :
* Define a new data interface (http://starpu.gforge.inria.fr/doc/html/DataManagement.html#DefiningANewDataInterface) with bitset or list.
If I use a list, the best solution would be an extendable list but I may also be able to use a fixed length list if I make an hypothesis on the number of "good" values in a range.
* Use the CSR data interface.
I found two examples that uses it for input data but none that use it for output. One of these examples (spmv.c) also implements row filtering which fits my use case.
If I understand correctly, it may be possible to use CSR as output if I can make an hypothesis on the total number of "good" values in each partitioned subpart of data.
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?
Thank you for your time.
Best regards,
Johan
- [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+.