Skip to content
Snippets Groups Projects
Unverified Commit 65fac651 authored by Andreas Klöckner's avatar Andreas Klöckner Committed by GitHub
Browse files

Clarify caching semantics (closes gh-443)

parent a67b0f59
No related branches found
No related tags found
No related merge requests found
...@@ -10,8 +10,16 @@ Program ...@@ -10,8 +10,16 @@ Program
.. envvar:: PYOPENCL_NO_CACHE .. envvar:: PYOPENCL_NO_CACHE
By default, PyOpenCL will used cached "binaries" returned by the
OpenCL runtime when calling :meth:`Program.build` on a program
constructed with source. (It will depend on the ICD in use how much
compilation work is saved by this.)
By setting the environment variable :envvar:`PYOPENCL_NO_CACHE` to any By setting the environment variable :envvar:`PYOPENCL_NO_CACHE` to any
non-empty value, this caching is suppressed. non-empty value, this caching is suppressed.
PyOpenCL will also cache "invokers", which are short snippets of Python
that are generated to accelerate passing arguments to and enqueuing
a kernel. For now, this caching is unaffected by ``PYOPENCL_NO_CACHE``.
.. versionadded:: 2013.1 .. versionadded:: 2013.1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment