Accéder au contenu.
Menu Sympa

starpu-devel - Re: [starpu-devel] [stencil based code: omitting last row and last column]

Objet : Developers list for StarPU

Archives de la liste

Re: [starpu-devel] [stencil based code: omitting last row and last column]


Chronologique Discussions 
  • From: Samuel Thibault <samuel.thibault@inria.fr>
  • To: Maxim Abalenkov <maxim.abalenkov@gmail.com>
  • Cc: starpu-devel@inria.fr
  • Subject: Re: [starpu-devel] [stencil based code: omitting last row and last column]
  • Date: Tue, 30 Jul 2024 14:24:21 +0200
  • Authentication-results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=samuel.thibault@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr
  • Organization: I am not organized

Hello,

Maxim Abalenkov, le mar. 30 juil. 2024 13:24:24 +0400, a ecrit:
> I need to omit updating the boundary elements (last row and last column
> elements) of my array. Please see the figure attached. The top left grid
> depicts the first update stage where the last row needs omitting from the
> calculation. The bottom left grid shows the second update stage, where the
> last column of elements needs omitting. The shaded regions are the elements
> I need to skip.
>
> My question is: does StarPU have helper routines to skip calculation in
> those regions?

The starpu_vector_interface does not contain such information. But you
can introduce your own data interface with the added field, and
copy/paste the starpu_vector_filter_block function to add the update of
the field.

Samuel



Archives gérées par MHonArc 2.6.19+.

Haut de le page