<#part sign=pgpmime>
On Thu, 08 Mar 2012 14:48:20 +0100, Karsten Wiesner 
<[email protected]> wrote:
> On 3/8/12 1:55 AM, Andreas Kloeckner wrote:
> > <#part sign=pgpmime>
> > Hi Alex, Karsten,
> >
> > On Wed, 7 Mar 2012 16:43:22 -0500, Alex Nitz<[email protected]>  wrote:
> >> This is what I am getting on an NVIDIA GTX580.
> >> [snip]
> >> :20:20: error: can't convert between vector values of different size
> >> ('cfloat_t __attribute__((address_space(1)))' (aka 'float2
> >> __attribute__((address_space(1)))') and 'double')
> >>              z[i] = cfloat_cast(a*x[i]) + cfloat_cast(b);
> >>                     ^~~~~~~~~~~~~~~~~~~
> >> :20:33: note: instantiated from:
> >>              z[i] = cfloat_cast(a*x[i]) + cfloat_cast(b);
> > I've committed what I think might be a workaround for this to git. Can
> > you please try it out and report back?
> >
> > Andreas
> >
> PS.:
> 
> the same occures on a MAC with the Apple Framework:
> 
> 0] <pyopencl.Device 'GeForce GT 330M' on 'Apple' at 0x1022600>
> [1] <pyopencl.Device 'Intel(R) Core(TM) i5 CPU       M 540  @ 2.53GHz' 
> on 'Apple' at 0x1020400>
> 
> Which Framework do you use? It might occure only on Nvidia and Apple

Can you try again with the current git version? I just cleaned up a big
bunch of these issues.

Andreas


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

Reply via email to