cyrusbehr / tensorrt-cpp-api

TensorRT C++ API Tutorial
MIT License
596 stars 74 forks source link

set the correct value of `CUDA_ARCH_BIN` when install opencv #51

Closed swiftcc624 closed 6 months ago

swiftcc624 commented 6 months ago

I am using RTX2070, I had to use 7.5, not 8.6 for CUDA_ARCH_BIN.

cyrusbehr commented 6 months ago

Thanks for the comment. I've gone ahead and removed that argument entirely in this commit, meaning that binary code will be built for all architectures supported by the version of the CUDA SDK you have installed.