CUDA x86 recommendations on GTX 1050 Ti

Greetings,

Specs:
GTX 1050 Ti
Windows 10 x86
Visual Studio 2017
Cuda 6.5

I would like to build CUDA with OpenCV 3.4.1. When building a solution, CMake was able to locate my CUDA installation. However, when I tried building opencv_core and opencv_cudaimgproc I got “nvcc fatal : Unsupported gpu architecture ‘compute_52’”. Unfortunately, the library that I’m creating must be x86. Is there any suggestions that I should try?
-Edit- I’ve also tried installing Cuda 9.2 on my x86 machine but I get
“Run time Error!
Program: .\CUDA\setup.exe
This application has requested the Runtime to terminate it in an unusual way. Please contact the application’s support team for more information”

remove compute_52 (which is not supported by CUDA 6.5) from any make or cmake files

this answer:
[url]Unable to build opencv 3.3.0 with cuda 9.0 on linux - OpenCV Q&A Forum
contains some related information, although it does not exactly address your case.

You may be able to figure out how to set CUDA_GENERATION to “Kepler” to solve this.