def to_device(self, hostary):
        """
        Copy `hostary` to the device and return the device array.
        """

        Copy `hostary` to the device and return the device array.
        
numba/cuda/deviceufunc.py