When installing cutorch in luarocks, I get following error:
CMake Error at THC_generated_THCTensorIndex.cu.o.Release.cmake:280 (message):
Error generating file
/tmp/luarocks_cutorch-scm-1-2888/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorIndex.cu.o
My operating system is Ubuntu18.04. I have also tried to use Ubuntu 20.04. This time I use CUDA toolkit 10.1 update 2, my CUDnn is using v 7.6.5. My gcc version is 7.5.0 .
I have used the method on the webpage
I don't know what to do.