Opencv Build failed

Look at the CUDA page on wikipedia,

  • CUDA SDK 10.0 – 10.2 support for compute capability 3.0 – 7.5 (Kepler, Maxwell, Pascal, Volta, Turing). Last version with support for compute capability 3.0 and 3.2 (Kepler in part). 10.2 is the last official release for macOS, as support will not be available for macOS in newer releases.

CUDA - Wikipedia).

  • CUDA SDK 11.8 support for compute capability 3.5 – 9.0 (Kepler (in part), Maxwell, Pascal, Volta, Turing, Ampere, Ada Lovelace, Hopper).[40]

** Kepler (in part) made me choose 10.0
So i assume this information on wikipedia is incorerct. I would definately give it a try with your proposal.
Thanks for the information.