On Wed, 31 Aug 2011 13:51:26 +0200, "Vincent Favre-Nicolin" 
<[email protected]> wrote:
>       Hi,
> 
>    I've been using PyCUDA a lot (see http://pynx.sf.net) and I am just 
> switching to PyOpenCL, which seems to work very nicely, including with CPUs.
> 
>   Right now I am working under Ubuntu with amd+intel+nvidia sdk's, which seem 
> to work nicely along each other and PyOpenCL.
> 
>   Only slightly annoying thing, the intel compiler seems to be a bit verbose 
> when it does not need to be, e.g. I get messages like:
> ##########
> Build on <pyopencl.Device 'Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz' 
> at 
> 0x1af72c0> succeeded, but said:
> 
> Build started
> Kernel <Fhkl> was successfully vectorized
> Done.
> ##########
> 
>   This is a pretty minor issue, but does someone know how to turn off this 
> message from the intel compiler (while still keeping real warnings, I don't 
> want to completely turn off PyOpenCL reporting of messages). I tried looking 
> in 
> the intel manual, but did not find a compiler option for that.
> 
>   Incidentally, the intel compiler seems much more efficient (3.5x speed) 
> than 
> AMD's for my Intel Core 2 Q9550. Not sure why, either better vectorization or 
> faster sin/cos functions.

Agreed on all counts. I'm a bit hesitant to shut up the Intel compiler
wholesale by specialcasing it, though. In the meantime, it's useful to
realize that these messages are printed through Python's warnings
system, and are thus easy to log to a file/filter/whatever.

HTH,
Andreas

Attachment: pgpXvcqyVTKkY.pgp
Description: PGP signature

_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to