'Test coop_smem2d'

@unittest.SkipTest
def test_global_tuple_const(self):

    compiled = cuda.jit('void(float32[:,:])')(coop_smem2d)
    shape = (10, 20)
    ary = np.empty(shape, dtype=np.float32)
    compiled[(1, shape)](ary)
    exp = np.empty_like(ary)
    for i in range(ary.shape[0]):
        for j in range(ary.shape[1]):
            exp[(i, j)] = (float((i + 1)) / (j + 1))
    self.assertTrue(np.allclose(ary, exp))
