On Sat, 18 Feb 2012 13:46:55 +0000, Giridhar Tammana <[email protected]> wrote: > After some debugging I'm able to fix this problem by below patch, > > In cache.py > - if cache_dir != False: > + if cache_dir != False and cache_dir != None: > > I see that cache_dir is None when I run in Eclipse.
cache_dir == None means 'use the default cache directory'. cache_dir == False means 'don't use caching'. Your patch has effectively defeated kernel caching, which circumvented the code that gave you trouble. If you'd like to investigate further, could you please print prg_devs and devices where the assertion fails? Thanks, Andreas
pgp1FUTtkjxBP.pgp
Description: PGP signature
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
