Skip to content

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

@nonlinear1

Description

@nonlinear1

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions