Hi,

I'm trying to use Eclipse to run/test a pyopencl program.
If I run from command line I'm able to run the script but when I run or
debug from Eclipse I see following error.

Traceback (most recent call last):
  File "D:\work\eclipse\eclipse_workspace\test\test.py", line 406, in
<module>
    prg = cl.Program(ctx, source).build()
  File "C:\Python27\lib\site-packages\pyopencl\__init__.py", line 116, in
build
    cache_dir=cache_dir)
  File "C:\Python27\lib\site-packages\pyopencl\cache.py", line 457, in
create_built_program_from_source_cached
    ctx, src, options, devices, cache_dir)
  File "C:\Python27\lib\site-packages\pyopencl\cache.py", line 389, in
_create_built_program_from_source_cached
    assert prg_devs[i] == devices[dest_index]
AssertionError

Please help.

Thank you.
Regards,
Giri
_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to