Hi Cédric,

On Fri, Aug 17, 2012 at 4:49 PM, Cédric LACZNY <[email protected]> wrote:
> extern "C"
> {
> void main_kernel(float* inp_P, unsigned int N, float* mappedX, unsigned int
> no_dims) {
> // … Some code …
> }
> }

You have to prefix your exported kernel definition with '__global__'.
See the code on the main page of http://documen.tician.de/pycuda/ ,
for example.

_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to