human
Here's a good function header given the following:
I wrote the below code

    from .descriptor import CUDATargetDesc
    dft = DeviceFunctionTemplate(pyfunc, debug=debug, inline=inline)
    class device_function_template(AbstractTemplate, ):
        key = dft
        def generic(self, args, kws):
            assert (not kws)
            return dft.compile(args)
    typingctx = CUDATargetDesc.typingctx
    typingctx.insert_user_function(dft, device_function_template)
    return dft

What's a good function header?
assistant
#Here's a good function header.

def compile_device_template(pyfunc, debug=False, inline=False):