

def set_cuda_kernel(lfunc):
    from llvmlite.llvmpy.core import MetaData, MetaDataString, Constant, Type
    m = lfunc.module
    ops = (lfunc, MetaDataString.get(m, 'kernel'), Constant.int(Type.int(), 1))
    md = MetaData.get(m, ops)
    nmd = md.get_or_insert_named_metadata('nvvm.annotations')
    nmd.add(md)

dataset/ETHPy150Open numba/numba/numba/cuda/cudadrv/nvvm.py set_cuda_kernel/VarMisuse@72/91 `m`->`md`