Hi,

A couple of months a go we already discussed the introduction of :
reduce_rows<op_add>(A) vs reduce<op_add>(row_wise(A))

And concluded that the latter option would lead to higher compilation times
for not so much benefits.

However, the more I think about it, the more I believe that reductions
should be just internal tools and that we should provide direct shortcuts
instead:

sum(x), max(x), min(x), argmax(x), argmin(x)

In this case, it would make much more sense to have

sum(row_wise(A)), max(row_wise(A)), etc...

rather than

sum_rows, max_rows, etc...

So I think that it could actually make sense to introduce {row|col}_wise().
Any thought?

Philippe
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to