def gen_arg_access_qual_md(fn):
 mod = fn.module
 consts = ([lc.MetaDataString.get(mod, 'none')] * len(fn.args))
 name = lc.MetaDataString.get(mod, 'kernel_arg_access_qual')
 return lc.MetaData.get(mod, ([name] + consts))

def gen_arg_access_qual_md ( fn ) : mod = fn . module consts = ( [ lc . MetaDataString . get ( mod , 'none' ) ] * len ( fn . args ) ) name = lc . MetaDataString . get ( mod , 'kernel_arg_access_qual' ) return lc . MetaData . get ( mod , ( [ name ] + consts ) )
generate kernel_arg_access_qual metadata .