anuranbaka / OpenDTAM

An open source implementation of DTAM
Other
287 stars 151 forks source link

running error:DepthmapDenoiseWeightedHuber.cu:451: error: (-217) too many resources requested for launch in function updateQDCaller? #62

Open nonlinear1 opened 4 years ago

nonlinear1 commented 4 years ago

I have successfully compiling OpenDTAM, But when I running it, there is a error: using: 49 using: 50 OpenCV Error: Gpu API call (too many resources requested for launch) in updateQDCaller, file /home/manifold/OpenDTAM/Cpp/DepthmapDenoiseWeightedHuber/DepthmapDenoiseWeightedHuber.cu, line 451 terminate called after throwing an instance of 'cv::Exception' what(): /home/manifold/OpenDTAM/Cpp/DepthmapDenoiseWeightedHuber/DepthmapDenoiseWeightedHuber.cu:451: error: (-217) too many resources requested for launch in function updateQDCaller Aborted (core dumped) My environtment: os:ubuntu16.04 gpu: gtx1050 cuda 9.0 opencv 2.4.9 (cmake option:cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_EXAMPLES=ON -D CUDA_GENERATION=Auto -D CUDA_ARCH_BIN=6.1 -D CUDA_ARCH_PTX=6.1 ..) in CMakeLists.txt of OpenDTAM I add SET(CUDA_NVCC_FLAGS -gencode arch=compute_61,code=sm_61;-G;-g))

Could someone know how to solve this error? thank you very much!