[PyCuda] demo_struct.py warning

2009-04-11 Thread Randy Heiland
Just curious - what does the warning mean? -Randy $ python demo_struct.py original arrays [ 1. 2. 3.] [ 0. 4.] kernel.cu(5): warning: invalid attribute for member DoubleOperation::ptr /tmp/tmpxft_0904_-7_kernel.cpp3.i(12): Advisory: Cannot tell what pointer points to,

Re: [PyCuda] demo_struct.py warning

2009-04-11 Thread Andreas Klöckner
On Samstag 11 April 2009, Randy Heiland wrote: Just curious - what does the warning mean? There was a stray __global__ in that code, which I presume was an attempt to get rid of the two advisories. Turns out that in certain situations there appears to be no way of telling nvcc what kind of