I built a problem on Qt creator with CUDA and GPU. it works on TX1, TK1 but I I change it to TX2. I got this error message
" GPU 1: 0.002398
OpenCV Error: Gpu API call (invalid device function) in call, file /hdd/buildbot/slave_jetson_tx_3/35-O4T-L4T-R24/opencv/modules/gpu/include/opencv2/gpu/device/detail/transform_detail.hpp, line 320
terminate called after throwing an instance of ‘cv::Exception’
what(): /hdd/buildbot/slave_jetson_tx_3/35-O4T-L4T-R24/opencv/modules/gpu/include/opencv2/gpu/device/detail/transform_detail.hpp:320: error: (-217) invalid device function in function call"
From QT project .pro file, I changed GPU architecture from sm_53 to sm_62
CUDA_ARCH = sm_62
Please give me some suggestions,