Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Matrix Filters

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Matrix Filters


Chronologique Discussions 
  • From: Nathalie Furmento <nathalie.furmento@labri.fr>
  • To: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] Matrix Filters
  • Date: Mon, 12 Jul 2010 21:50:18 +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>

Thanks Cédric. That was exactly the problem.

Nathalie

On 12/07/2010 19:13, Cédric Augonnet wrote:
4C3B4D2D.7030804@inria.fr"> Hi Nathalie,

In the CPU kernel, you are computing the index as j*nx + i, should not that be j*ld + i (by definition of ld), and in the case of non contiguous matrices, ld != nx. Perhaps that explains your issues ?

Cédric

On 12/07/2010 11:25, Nathalie Furmento wrote:
4C3B33D7.7020403@labri.fr">I have a question about the filters. I have  a sample application which defines a matrix, partitions it in 2 blocks, and sets the elements of the i-st block to i.

Here the output i get with the filter *starpu_block_filter_func*:

IN  Matrix:
10 11 12 13
14 15 16 17
18 19 20 21
22 23 24 25

OUT Matrix:
 0  0  1  1
 1  1  1  1
 1  1 20 21
22 23 24 25

And with the filter *starpu_vertical_block_filter_func*

 IN  Matrix:
10 11 12 13
14 15 16 17
18 19 20 21
22 23 24 25

OUT Matrix:
 0  0  0  0
 0  0  0  0
 1  1  1  1
 1  1  1  1

So it is working fine with *starpu_vertical_block_filter_func*, but not with *starpu_block_filter_func*.

Any ideas on what's wrong ....

Thanks,

Nathalie
_______________________________________________
Starpu-devel mailing list
Starpu-devel@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-devel
  


-- 
Cédric AUGONNET
PhD student -- Runtime Team
http://runtime.bordeaux.inria.fr/augonnet/
INRIA Bordeaux - LaBRI
  

_______________________________________________
Starpu-devel mailing list
Starpu-devel@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-devel
  




Archives gérées par MHonArc 2.6.19+.

Haut de le page