Re: [ViennaCL-devel] PyViennaCL midterm

2014-06-26 Thread Karl Rupp
Hi Toby, I reiterate my call for an IRC meeting fine with me. My schedule is very much in flux in the next ~10 days or so, so I might be unavailable on short notice. Rather than having one big IRC meeting with all topics crushed together, I suggest we have a couple of smaller topic-oriented

Re: [ViennaCL-devel] PyViennaCL midterm

2014-06-26 Thread Toby St Clere Smithe
Karl Rupp r...@iue.tuwien.ac.at writes: fine with me. My schedule is very much in flux in the next ~10 days or so, so I might be unavailable on short notice. Rather than having one big IRC meeting with all topics crushed together, I suggest we have a couple of smaller topic-oriented

[ViennaCL-devel] Implementation of multi_inner_prod

2014-06-26 Thread Philippe Tillet
Hello! I note this in the implementation of multi_inner_prod: switch (vec_tuple.const_size() - current_index) { case 7: case 6: case 5: case 4: //do stuff However, there is a test for 5,6,7 so I assume that these

Re: [ViennaCL-devel] Implementation of multi_inner_prod

2014-06-26 Thread Karl Rupp
Hi, the cases 5, 6, and 7 are handled by running a kernel for four vectors, then subtract '4' and run a dedicated kernel on the remaining 1, 2, or 3 vectors. This could also be handled by a generated kernel, yes, but I haven't implemented this for two reasons: 1. less kernels to compile 2.