point-transformer
point-transformer copied to clipboard
Compiling pointops without THC
Hey thanks for the code. I don't want to draw attention to a bug here, but just mention a small thing.
I just tried compiling pointops and ran into the following error:
src/knnquery/knnquery_cuda.cpp:2:10: fatal error: THC/THC.h: No such file or directory
2 | #include <THC/THC.h>
| ^~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
According to this post "TH/THC namespace is dead". Removing the includes for THC within all .cpp files and recompiling works fine. It is therefore no longer required for newer cuda versions.
Thank you! I also encountered the same problem but your solution fixed it.