Skip to content
Snippets Groups Projects
Commit 6b8e584b authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

buffer_array caching: prepare kernel for caching

parent 430c5187
No related branches found
No related tags found
No related merge requests found
......@@ -188,7 +188,9 @@ def buffer_array(kernel, var_name, buffer_inames, init_expression=None,
from loopy import CACHING_ENABLED
cache_key = (kernel, var_name, tuple(buffer_inames),
from loopy.preprocess import prepare_for_caching
key_kernel = prepare_for_caching(kernel)
cache_key = (key_kernel, var_name, tuple(buffer_inames),
PymbolicExpressionHashWrapper(init_expression),
PymbolicExpressionHashWrapper(store_expression), within,
default_tag, temporary_is_local, fetch_bounding_box)
......
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