It seems like THC/THC.h is still there and you can still include it in your project.
Looking at “pytorch/aten/src/THC/generic/THCTensor.h”, it looks like all THCudaTensor_ should be changed to THCTensor_, but that’s just a guess.
I personally have only used at::Tensor from ATen throughout my code so I’m not sure I can help you in case changing THCudaTensor_ to THCTensor_ did not help, but it would be helpful if you could try to build your code and reply with the error messages you’re getting.