FindCUDA: Workaround CUDA logging on some embedded platforms
On some embedded platforms, the NVIDIA driver is verbose logging unexpected output to stdout. One example is Drive PX2, where we see something like this whenever a CUDA program is run:
nvrm_gpu: Bug 200215060 workaround enabled.
This patch does a regex on the output of the architecture detection program to only capture architecture patterns. It's more robust than before, but not fool-proof.
Topic-rename: FindCUDA-filter-compute-capabilities
Edited by Brad King