From 1a7e21264e4eab5d49077e6d4828bc62fb21d24e Mon Sep 17 00:00:00 2001 From: Nicholas Christensen Date: Tue, 13 Oct 2020 14:04:54 -0500 Subject: [PATCH 1/2] add tags to KernelArgument --- loopy/kernel/data.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/loopy/kernel/data.py b/loopy/kernel/data.py index 43770ffb6..e12497c80 100644 --- a/loopy/kernel/data.py +++ b/loopy/kernel/data.py @@ -339,6 +339,9 @@ class KernelArgument(ImmutableRecord): dtype = kwargs.pop("dtype", None) + # List or Dictionary of Tag objects + tags = kwargs.pop("tags", None) + if "for_atomic" in kwargs: for_atomic = kwargs["for_atomic"] else: -- GitLab From f58feb506b22596d2586c7416da0e3e0991610c7 Mon Sep 17 00:00:00 2001 From: Nicholas Christensen Date: Tue, 13 Oct 2020 14:07:07 -0500 Subject: [PATCH 2/2] remove comment --- loopy/kernel/data.py | 1 - 1 file changed, 1 deletion(-) diff --git a/loopy/kernel/data.py b/loopy/kernel/data.py index e12497c80..3bbe52bb2 100644 --- a/loopy/kernel/data.py +++ b/loopy/kernel/data.py @@ -339,7 +339,6 @@ class KernelArgument(ImmutableRecord): dtype = kwargs.pop("dtype", None) - # List or Dictionary of Tag objects tags = kwargs.pop("tags", None) if "for_atomic" in kwargs: -- GitLab