Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] BCSR: the rowptr field.

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] BCSR: the rowptr field.


Chronologique Discussions 
  • From: Samuel Thibault <samuel.thibault@ens-lyon.org>
  • To: Cyril Roelandt <cyril.roelandt@inria.fr>
  • Cc: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
  • Subject: Re: [Starpu-devel] BCSR: the rowptr field.
  • Date: Fri, 8 Jun 2012 03:38:35 +0200
  • 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>

Cyril Roelandt, le Fri 08 Jun 2012 03:08:38 +0200, a écrit :
> I think colind should be [0, 0, 2], since the first two blocks start at
> column 0, and the lower right block starts at column 2.

I believe that would rather be [0, 0, 1], i.e. in blocks.

> But I'm not sure of what should be put in the rowptr field. Does anyone
> master the BCSR format ?

rowptr is the index (inside the nnzval array) of each row. Here,
[ 0, 1 ] since the first blocks of the rows are blocks 0 and 1 inside
nnzval.

> (I don't think we have any code using this interface in examples/).

We do, see examples/spmv.

Samuel





Archives gérées par MHonArc 2.6.19+.

Haut de le page