Alexandre Linhares <[email protected]> writes:

> Hello friends,
>
> I'm awed and in love with pyopencl!  Many thanks to Andreas & all
> contributors.
>
> I'm left wondering, however, if people are able to run
> algorithm.GenericScanKernel().  I'm getting all sorts of errors, from uint
> not being recognized to 'module' object has no attribute
> 'GenericScanKernel'.  Can anyone help out?  Maybe anyone has a running
> example of copy_if()?
>
> The code below cannot even see GenericScanKernel()...

GenericScanKernel is in pyopencl.scan (not pyopencl.algorithm):

http://documen.tician.de/pyopencl/algorithm.html#pyopencl.scan.GenericScanKernel

For a working test of copy_if, see test/test_algorithm.py, line
526. (Function "test_copy_if")

HTH,
Andreas

Attachment: pgpR4tDg2s5h7.pgp
Description: PGP signature

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

Reply via email to