I have a C++ extension containing the following code:
auto handle = at::cuda::getCurrentCUDASparseHandle();
It was working fine until version Pytorch 1.11.0, now with 1.12.1 linking with the same .so files I get
undefined reference to at::cuda::getCurrentCUDASparseHandle() but only on my linux build. Windows is fine.
Did this function move to a new .so file? Maybe I need to explicitly include some header, instead of the all-in-one