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 (R) Cuda compiler driver
Copyright (c) 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
kayccc
4
Hi viisautta,
Please refer to Compute Capability from:
[url]http://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#compute-capability[/url]
You can also check the lists of all CUDA-enabled devices along with their compute capability as reference:
[url]https://developer.nvidia.com/cuda-gpus[/url]
Thanks
1 Like