You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The application complies and runs fine, but looking for leaks and other issues using cuda-memcheck --leak-check full ./face_detection I get the following errors:
========= Program hit cudaErrorCudartUnloading (error 29) due to "driver shutting down" on CUDA API call to cudaStreamSynchronize.
========= Saved host backtrace up to driver entry point at error
========= Host Frame:/usr/lib/x86_64-linux-gnu/libcuda.so.1 [0x2eeda3]
========= Host Frame:/usr/lib/x86_64-linux-gnu/libcudart.so.7.5 (cudaStreamSynchronize + 0x15e) [0x421ce]
========= Host Frame:/usr/local/lib/libopencv_core.so.3.1 [0x29a909]
========= Host Frame:/usr/local/lib/libopencv_core.so.3.1 (_ZN2cv4cuda6Stream4ImplD1Ev + 0x6e) [0x29c0ee]
========= Host Frame:/usr/local/lib/libopencv_core.so.3.1 [0x29c12a]
========= Host Frame:/usr/local/lib/libopencv_core.so.3.1 [0x29a886]
========= Host Frame:/usr/local/lib/libopencv_core.so.3.1 [0x29d08e]
========= Host Frame:/lib/x86_64-linux-gnu/libc.so.6 (__cxa_finalize + 0x8f) [0x37eaf]
========= Host Frame:/usr/local/lib/libopencv_core.so.3.1 [0xbb033]
=========
========= Program hit cudaErrorCudartUnloading (error 29) due to "driver shutting down" on CUDA API call to cudaSetDevice.
========= Saved host backtrace up to driver entry point at error
========= Host Frame:/usr/lib/x86_64-linux-gnu/libcuda.so.1 [0x2eeda3]
========= Host Frame:/usr/lib/x86_64-linux-gnu/libcudart.so.7.5 (cudaSetDevice + 0x180) [0x2fa30]
========= Host Frame:/usr/local/lib/libopencv_core.so.3.1 [0x29d0fd]
========= Host Frame:/lib/x86_64-linux-gnu/libc.so.6 (__cxa_finalize + 0x8f) [0x37eaf]
========= Host Frame:/usr/local/lib/libopencv_core.so.3.1 [0xbb033]
=========
========= Program hit cudaErrorCudartUnloading (error 29) due to "driver shutting down" on CUDA API call to cudaFree.
========= Saved host backtrace up to driver entry point at error
========= Host Frame:/usr/lib/x86_64-linux-gnu/libcuda.so.1 [0x2eeda3]
========= Host Frame:/usr/lib/x86_64-linux-gnu/libcudart.so.7.5 (cudaFree + 0x186) [0x3c666]
========= Host Frame:/usr/local/lib/libopencv_core.so.3.1 [0x29d0cd]
========= Host Frame:/lib/x86_64-linux-gnu/libc.so.6 (__cxa_finalize + 0x8f) [0x37eaf]
========= Host Frame:/usr/local/lib/libopencv_core.so.3.1 [0xbb033]
=========
========= Program hit cudaErrorCudartUnloading (error 29) due to "driver shutting down" on CUDA API call to cudaSetDevice.
========= Saved host backtrace up to driver entry point at error
========= Host Frame:/usr/lib/x86_64-linux-gnu/libcuda.so.1 [0x2eeda3]
========= Host Frame:/usr/lib/x86_64-linux-gnu/libcudart.so.7.5 (cudaSetDevice + 0x180) [0x2fa30]
========= Host Frame:/usr/local/lib/libopencv_core.so.3.1 [0x29d0fd]
========= Host Frame:/lib/x86_64-linux-gnu/libc.so.6 (__cxa_finalize + 0x8f) [0x37eaf]
========= Host Frame:/usr/local/lib/libopencv_core.so.3.1 [0xbb033]
=========
========= LEAK SUMMARY: 0 bytes leaked in 0 allocations
========= ERROR SUMMARY: 4 errors
System information (version)
Detailed description
I am running a simple face detection test using the
cuda
version:The application complies and runs fine, but looking for leaks and other issues using
cuda-memcheck --leak-check full ./face_detection
I get the following errors:Steps to reproduce
main.cpp
mkdir build && cd build && cmake ..
wget https://metrouk2.files.wordpress.com/2013/07/ay114305102the-hunger-games.jpg?quality=80&strip=all -O catniss.jpg
make
cuda-memcheck --leak-check full ./face_detection
You can use the below
CMakeLists.txt
:The text was updated successfully, but these errors were encountered: