I build the code with 2.4.9 backport with ubuntu 14.04, opencv 2.4.9 and cuda 7.5 using the GPU GFORCE GTX TITAN X.
When building opencv I change the arch_bin to 5.2 to make it match the gpu CC.
But I met the following error when runing ./a.out
Anyone can help me understand why?
OpenCV Error: Gpu API call (invalid device function) in globalWeightedBoundsCostCaller, file /media/Workspace2/pengwang/3DRepresent/extern/OpenDTAM/Cpp/CostVolume/CostVolume.cu, line 25 terminate called after throwing an instance of 'cv::Exception' what(): /media/Workspace2/pengwang/3DRepresent/extern/OpenDTAM/Cpp/CostVolume/CostVolume.cu:25: error: (-217) invalid device function in function globalWeightedBoundsCostCaller
I build the code with 2.4.9 backport with ubuntu 14.04, opencv 2.4.9 and cuda 7.5 using the GPU GFORCE GTX TITAN X.
When building opencv I change the arch_bin to 5.2 to make it match the gpu CC.
But I met the following error when runing ./a.out
Anyone can help me understand why?
OpenCV Error: Gpu API call (invalid device function) in globalWeightedBoundsCostCaller, file /media/Workspace2/pengwang/3DRepresent/extern/OpenDTAM/Cpp/CostVolume/CostVolume.cu, line 25 terminate called after throwing an instance of 'cv::Exception' what(): /media/Workspace2/pengwang/3DRepresent/extern/OpenDTAM/Cpp/CostVolume/CostVolume.cu:25: error: (-217) invalid device function in function globalWeightedBoundsCostCaller