Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
How to get raw pointer from tensors? #1649
I've been following this post on looking at other information about interoperability between PyTorch tensors and other CUDA libraries.
Seems like the way to go is to create an empty tensor of the right size and stride and write to its GPU pointer from elsewhere? (i.e.