def as_device_array(self, obj):
        """
        Return `obj` as a device array on this target.

        May return `obj` directly if it is already on the target.
        """

        Return `obj` as a device array on this target.

        May return `obj` directly if it is already on the target.
        
numba/cuda/deviceufunc.py