def test_global_max_dat_is_max(self, backend, elems, x, g):
        k_code = """void k(unsigned int *x, unsigned int *g) {
          if ( *g < *x ) { *g = *x; }
        }"""
        k = op2.Kernel(k_code, 'k')

        op2.par_loop(k, elems, x(op2.READ), g(op2.MAX))
        assert g.data[0] == x.data.max()
Store the actual value we're pointing to.
dataset/ETHPy150Open OP2/PyOP2/test/unit/test_direct_loop.py/TestDirectLoop.test_global_max_dat_is_max--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/api/allapi.py/SafeApiPtr.set