Hello,
I’ve got a function that provides an address/a pointer to the currently buffered data within the GPU memory. Is there an easy way to load/move data to a torch::tensor object without duplicating it on GPU?
I know I can use torch::from_blob(); to create a new tensor and just read through the bytes, however is there a more convenient/efficient way of doing this?
Best Regards