def get_kernel_args(mem, args):
    """
    Parameters
    ----------
    mem: :class:`memory_tools`
        The current memory tool object
    args: list of :class:`loopy.KernelArg`
        The arguments to stringify

    Returns
    -------
    args: str
        a comma separated list of arguments for definition of a kernel function
    """
    return ', '.join([mem.get_signature(False, arr) for arr in args])