"real" datatype in cpp cuda sumantics


(Nabarun Goswami) #1

Hi,

When we pass a number to any torch function, e.g. addcmul, internally the cpp calls have a datatype called real. Does the code internally transfer the real value to the GPU at runtime if the other tensors are in the GPU?

Regards
Nabarun