[ViennaCL-devel] Kernel Generator wrap-up

2013-07-28 Thread Philippe Tillet
Hello everybody, I'm proud to announce that after about 3weeks, I've recoded from scratch the OpenCL code generator to integrate it fully with viennacl::scheduler::statement. That being said, I'm entering the point where I need to inquire your opinion for (many) further design choices. Sorted by

Re: [ViennaCL-devel] Kernel Generator wrap-up

2013-07-28 Thread Karl Rupp
Hey, > I'm proud to announce that after about 3weeks, I've recoded from scratch > the OpenCL code generator to integrate it fully with > viennacl::scheduler::statement. hurray :-) With the changes to the generator I pushed yesterday there is now a clear spot on where to hand the expression over

Re: [ViennaCL-devel] Kernel Generator wrap-up

2013-07-28 Thread Philippe Tillet
Hi, 2013/7/28 Karl Rupp > Hey, > > > I'm proud to announce that after about 3weeks, I've recoded from scratch >> the OpenCL code generator to integrate it fully with >> viennacl::scheduler::**statement. >> > > hurray :-) With the changes to the generator I pushed yesterday there is > now a cle

Re: [ViennaCL-devel] Kernel Generator wrap-up

2013-07-28 Thread Karl Rupp
Hey, > My preferred option is to pad by default and either to make the > padding a multiple of four or sixteen. However, we need to maintain > a full set of unpadded operations, because user-provided buffers > need not be padded (and a subsequent padding may be too expensive) > >

[ViennaCL-devel] Scheduler datastructure changes

2013-07-28 Thread Karl Rupp
Hey, see commit message here: https://github.com/viennacl/viennacl-dev/commit/1a214259f577acd1b329197285e26cf2cd774e34 Best regards, Karli -- See everything from the browser to the database with AppDynamics Get end-to-en

Re: [ViennaCL-devel] Problem using different contexts from different OpenMP-Threads

2013-07-28 Thread Karl Rupp
Hi Andreas, - good news: I made good progress on introducing a generic context. For code lines such as viennacl::vector x = y + z; the vector x is created in the correct context (i.e. deduced from y, z). This resolves most of the issues with temporaries. - bad news: I haven't found enough tim

Re: [ViennaCL-devel] Problem using different contexts from different OpenMP-Threads

2013-07-28 Thread Philippe Tillet
Hi, Thanks Karl ! This will allow serve us when we deal with multiple GPU ;) Best regards, Philippe 2013/7/29 Karl Rupp > Hi Andreas, > > - good news: > I made good progress on introducing a generic context. For code lines > such as > viennacl::vector x = y + z; > the vector x is created in

Re: [ViennaCL-devel] Problem using different contexts from different OpenMP-Threads

2013-07-28 Thread Andreas IHU
Hi Karl, sounds great! No reason to hurry :-) Best regards Andreas > Hi Andreas, > - good news: > I made good progress on introducing a generic context. For code lines > such as > viennacl::vector x = y + z; > the vector x is created in the correct context (i.e. deduced from y, z). > This r