Cython / c++ help

Johannes Schönberger jschoenberger at demuc.de
Tue May 28 09:00:39 EDT 2013


I used the line_profiler package on the Python side, but for C/C++ debugging I recommend gdb / gprof / valgrind.

Johannes Schönberger

Am 28.05.2013 um 14:42 schrieb Marc de Klerk <deklerkmc at gmail.com>:

> Hi Johannes,
> 
> Yeah I was thinking about that... The gpu code doesn't execute straight away - it's scheduled by the OpenCL implementation...
> So it usually just executes when the GPU is not busy doing it's usual rendering job.
> There''s not going to be any way to avoid the wait...
> 
> I haven't had much experience with profiling c++ code like you did in the previous screenshot - could you tell me how to go about it?
> 
> I think the matter is closed then.
> Thanks very much for the help!
> 
> 
> On Tuesday, May 28, 2013 8:00:03 AM UTC+2, Johannes Schönberger wrote:
> Maybe this can help you: http://pastebin.com/raw.php?i=vPwFpVRt 
> 
> You mostly wait for event.wait()… 
> 
> 
> Johannes Schönberger 
> 
> Am 27.05.2013 um 23:59 schrieb Stéfan van der Walt <ste... at sun.ac.za>: 
> 
> > On Mon, May 27, 2013 at 10:55 PM, Marc de Klerk <dekl... at gmail.com> wrote: 
> > The problem is this next graph…. Besides the difference between the c++ and the other two, there's still a large difference between the c++ 
> > 
> > Can you just explain again the difference between the two plots above? 
> > 
> > Stéfan 
> > 
> > -- 
> > You received this message because you are subscribed to the Google Groups "scikit-image" group. 
> > To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image... at googlegroups.com. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> >   
> >   
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups "scikit-image" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  




More information about the scikit-image mailing list