code: def test_cuda_array_interface_tensor_gpu_create_copy_kernel():
      arr = np.random.rand(3, 5, 6)
      pipe = ExternalSourcePipe(arr.shape[0], arr, use_copy_kernel=True)
      pipe.build()
      tensor_list = pipe.run()[0]
      assert cp.allclose(arr[0], cp.asanyarray(tensor_list[0]))
  
imports: from nvidia.dali.backend_impl import TensorGPU, TensorListGPU
  from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.ops
  import nvidia.dali.tensors
  import nvidia.dali.types
  import numpy
  from nose_utils import assert_raises, raises
  import cupy
  from test_utils import py_buffer_from_address
label_desc: Use image node_id 7 for calling a global function with example usage: test_cuda_array_interface_tensor_gpu_create_copy_kernel() without return types