Skip to content
Snippets Groups Projects
Commit 04e25ed3 authored by Andreas Klöckner's avatar Andreas Klöckner Committed by Andreas Klöckner
Browse files

make_loopy_program: allow passing tags

parent e5ad81fc
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ _DEFAULT_LOOPY_OPTIONS = lp.Options( ...@@ -39,7 +39,7 @@ _DEFAULT_LOOPY_OPTIONS = lp.Options(
def make_loopy_program(domains, statements, kernel_data=None, def make_loopy_program(domains, statements, kernel_data=None,
name="mm_actx_kernel"): name="mm_actx_kernel", tags=None):
"""Return a :class:`loopy.LoopKernel` suitable for use with """Return a :class:`loopy.LoopKernel` suitable for use with
:meth:`ArrayContext.call_loopy`. :meth:`ArrayContext.call_loopy`.
""" """
...@@ -53,7 +53,8 @@ def make_loopy_program(domains, statements, kernel_data=None, ...@@ -53,7 +53,8 @@ def make_loopy_program(domains, statements, kernel_data=None,
options=_DEFAULT_LOOPY_OPTIONS, options=_DEFAULT_LOOPY_OPTIONS,
default_offset=lp.auto, default_offset=lp.auto,
name=name, name=name,
lang_version=MOST_RECENT_LANGUAGE_VERSION) lang_version=MOST_RECENT_LANGUAGE_VERSION,
tags=tags)
def get_default_entrypoint(t_unit): def get_default_entrypoint(t_unit):
......
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