code: def test_get_pinned_mem(dtype, shape):
      arr = cusignal.get_pinned_mem(shape=shape, dtype=dtype)
  
      if isinstance(shape, int):
          shape = (shape,)
  
      assert arr.shape == shape
      assert arr.dtype == dtype
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_get_pinned_mem(dtype, shape) without return types