'Test simple_smem'

def test_global_int_const(self):

    compiled = cuda.jit('void(int32[:])')(simple_smem)
    nelem = 100
    ary = np.empty(nelem, dtype=np.int32)
    compiled[(1, nelem)](ary)
    self.assertTrue(np.all((ary == np.arange(nelem, dtype=np.int32))))
