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)))
Test simple_smem
dataset/ETHPy150Open numba/numba/numba/cuda/tests/cudapy/test_globals.py/TestCudaTestGlobal.test_global_int_const