diff --git a/arraycontext/loopy.py b/arraycontext/loopy.py index 2b89d76a..0d304fe7 100644 --- a/arraycontext/loopy.py +++ b/arraycontext/loopy.py @@ -103,6 +103,10 @@ def get(c_name, nargs, naxes): var(c_name)(*[ var("inp%d" % i)[subscript] for i in range(nargs)])) ], + [ + lp.GlobalArg("out", dtype=None, shape=lp.auto)] + [ + lp.GlobalArg("inp%d" % i, dtype=None, shape=lp.auto) + for i in range(nargs)] + [...], name="actx_special_%s" % c_name, tags=(ElementwiseMapKernelTag(),))