Hi,

On 07/31/2013 03:48 PM, Philippe Tillet wrote:
> Hi,
>
> I've explored a bit of the execute_*.hpp files, but I'm not sure how to
> integrate the generator here, ie when to create the kernel generation
> object, when to add statements for generation, where to trigger
> generation, etc... Any idea?

Have a look at e.g. execute_vector_assign.hpp, line 303: At this point 
it is clear that the scheduler cannot deal with the full statement and 
hence would need to introduce a temporary. Instead of unconditionally 
creating temporaries, one better asks the generator whether it can deal 
with the statement. If so, hand over the execution. If not, introduce 
temporaries and recurse further.

(Note that execute_vector_assign.hpp and execute_matrix.hpp is 
essentially the same code. This will be unified soon, so I suggest to 
only work on execute_vector_assign.hpp for now)

Best regards,
Karli


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to