You don't need to compile it yourself though? Unless you want CUDA support on Linux I guess, dunno why you'd need such a silly thing though:
I'm not sure I follow, what alternative to CUDA on Linux offers similar performance?
Nevertheless, worth looking at the Vulkan builds. They work on all GPUs!