def add_module(self, buffer):
        err = self.driver.nvvmAddModuleToProgram(self._handle, buffer,
                                                 len(buffer), None)
        self.driver.check_error(err, 'Failed to add module')
Add a module level NVVM IR to a compilation unit.
dataset/ETHPy150Open numba/numba/numba/cuda/cudadrv/nvvm.py/CompilationUnit.add_module