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 15:49:05 +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

Maxim Abalenkov, le mar. 30 juil. 2024 17:30:41 +0400, a ecrit:
> How are you? Thank you for your quick response. I have been reading StarPU
> documentation
> ([1]https://files.inria.fr/starpu/doc/html/DataManagement.html#
> PartitioningData) and found a routine called
> ‘starpu_matrix_filter_pick_vector’:
>
>
> In addition, contiguous vectors can be picked from a matrix along the Y
> dimension by using starpu_matrix_filter_pick_vector_y() with
> starpu_data_filter::get_child_ops set to
> starpu_matrix_filter_pick_vector_child_ops(). An example is in the file
> examples/filters/fmatrix_pick_vector.c.
>
>
> I looked at the example in ‘fmatrix_pick_vector.c’, but it seems it picks
> only
> one vector from a matrix.
> Can I pick out multiple vectors with this routine?

Yes, the example does that.

> Also I don’t understand what does the parameter POS do?

As mentioned in the documentation: “The starting position on Y-axis is
set in starpu_data_filter::filter_arg_ptr.”

> If yes, maybe it would be a more elegant approach?

I don't really see the relation with your previous problem.

Samuel



Archives gérées par MHonArc 2.6.19+.

Haut de le page