What should be the value of CUDA_ARCH_BIN

When OpenCV is manually installed on JTX1, cmake has an option called CUDA_ARCH_BIN, where and how can its value be retrieved?

ubuntu@tegra-ubuntu:~$ nvcc -V
nvcc: NVIDIA ® Cuda compiler driver
Copyright © 2005-2016 NVIDIA Corporation
Built on Fri_Jul_15_14:52:12_CDT_2016
Cuda compilation tools, release 8.0, V8.0.33

In your Cmake config, use string 5.3, that should turn in cvconfig.h into :
#define CUDA_ARCH_BIN " 53"

This is for TX1 only (or another compute 5.3 cuda arch).

quoted on section 2.5 in http://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#axzz4VukBETi5

However, what is the meaning of minor 3 in 5.3

Thx

Hi viisautta,

Please refer to Compute Capability from:
http://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#compute-capability

You can also check the lists of all CUDA-enabled devices along with their compute capability as reference:
https://developer.nvidia.com/cuda-gpus

Thanks

1 Like