def test_1d_max_dat_is_max(self, backend, k1_max_to_global, set, d1):
        val = d1.data.max() - 1
        g = op2.Global(1, val, dtype=numpy.uint32)
        op2.par_loop(k1_max_to_global, set,
                     d1(op2.READ),
                     g(op2.MAX))

        assert g.data == d1.data.max()
dataset/ETHPy150Open OP2/PyOP2/test/unit/test_global_reduction.py/TestGlobalReductions.test_1d_max_dat_is_max/original