Bugfix: compilation on systems without a CUDA enabled device
At compile time, when determining whether to enable CUDA support, we now base the decision on the Pytorch version installed:
- If a CUDA-enabled Pytorch is detected, we attempt to compile CUDA support
- If a CPU-only Pytorch is detected, we disable CUDA support