Solved by SimonW in post #2 
              
              
                yes, one is directly creating on the particular device. and the other one creates on cpu and does a copy (if dev is not cpu) 

directly on the device