code: def from_device_like(devptr, other_ary):
      result = np.empty_like(other_ary)
      memcpy_dtoh(result, devptr)
      return result
  
imports: import os
  import numpy
label_desc: Use image node_id 24 for calling a global function with example usage: from_device_like(devptr, other_ary) and returns: result