

def test_global_inc_init_not_zero(self, backend, elems, g):
    'Increment a global initialized with a non-zero value.'
    k = 'void k(unsigned int* inc) { (*inc) += 1; }'
    self.data[0] = 10
    op2.par_loop(op2.Kernel(k, 'k'), elems, g(op2.INC))
    assert (g.data[0] == (elems.size + 10))

dataset/ETHPy150Open OP2/PyOP2/test/unit/test_direct_loop.py TestDirectLoop.test_global_inc_init_not_zero/VarMisuse@22/70 `g`->`self`