In this pull request the function THCudaCheck() is substituted with the new interface AT_CUDA_CHECK.
Test succeeded with torch 1.11.0+cu113. Maybe it is still needed to test under torch 1.10.0 to see if it works with the minimum required version in the requirements.txt
THC/THC.h is removed in the new version of pytorch + cuda (refer to https://discuss.pytorch.org/t/question-about-thc-thc-h/147145)
In this pull request the function THCudaCheck() is substituted with the new interface AT_CUDA_CHECK.
Test succeeded with torch 1.11.0+cu113. Maybe it is still needed to test under torch 1.10.0 to see if it works with the minimum required version in the requirements.txt