i am having trouble working out how to clear the kernel cache.  the docs
suggest clear_context_caches() from pyopencl.tools, but it doesn't seem to be
there:

Python 3.2 (r32:88445, Jun  9 2011, 09:31:13) 
[GCC 4.5.1 20101208 [gcc-4_5-branch revision 167585]] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyopencl.tools import clear_context_caches
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name clear_context_caches
>>> from pyopencl import VERSION
>>> VERSION
(2011, 1, 2)

what should i be doing?

thanks,
andrew

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

Reply via email to