I wouldn’t worry about that. The main thing is you have compiled for 70 and you need to compile for 72. I am not sure why since CUDA 10.2 should support compute capability up to 7.5 you are passing -DCUDA_ARCH_BIN=7.2. It may be a bug in OpenCV preventing compute capability 7.2 on CUDA 10.2 or some other miss configuration.
First I would confirm that passing -DCUDA_ARCH_BIN=7.2 results in
and not
– NVIDIA CUDA: YES (ver 10.2, CUFFT CUBLAS)
– NVIDIA GPU arch: 72
as that should take a minute. I would use a fresh build directory to ensure none of the previous options stick.
If that doesn’t work I would try passing -DCUDA_ARCH_PTX=7.0 if the
NVIDIA PTX archs:
is blank in your CMake output. That should force the ptx code to be JIT compiled to compute capability 7.2 code on the fly before your program executes.
If that works it might be worth upgrading your version of CUDA or digging into the CMake rules to see why compute capability 7.2 is not being selected.