Re: [PyCUDA] prepare function arguments

2015-04-20 Thread Ananth Sridharan
Got it from struct module documentation and http://wiki.tiker.net/PyCuda/FrequentlyAskedQuestions Pointers (to anything - single integers/float/double, arrays) should be P integer is i , float is f , double is d , ... The example I asked about should then have PPPi. Thanks! Ananth On Sun,

Re: [PyCUDA] prepare function arguments

2015-04-19 Thread Andreas Kloeckner
Ananth Sridharan ana...@umd.edu writes: Can someone shed some light on the arguments for the prepare used by pycuda? I have been unable to find a set of examples to help understand what the arguments are supposed to look like. On the official website,