def test_reinterpret_array_type(self):
        pyfunc = reinterpret_array_type
        kernel = cuda.jit(pyfunc)

        byte_arr = np.arange(256, dtype=np.uint8)
        itemsize = np.dtype(np.int32).itemsize
        for start in range(0, 256, itemsize):
            stop = start + itemsize
            expect = byte_arr[start:stop].view(np.int32)[0]

            output = np.zeros(1, dtype=np.int32)
            kernel[1, 1](byte_arr, start, stop, output)

            got = output[0]
            self.assertEqual(expect, got)
Return all pipelines.
dataset/ETHPy150Open numba/numba/numba/cuda/tests/cudapy/test_array_methods.py/TestCudaArrayMethods.test_reinterpret_array_type--crossover with--dataset/ETHPy150Open openstack/solum/solum/api/controllers/v1/pipeline.py/PipelinesController.get_all