Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global net_impl.cpp:178 setUpNet DNN module was not built with CUDA #23

Open
renatocsanchez opened this issue Apr 19, 2024 · 1 comment

Comments

@renatocsanchez
Copy link

on Jetson Nano 4gb
After running the script (without errors), it still reports 'no CUDA:

[ WARN:[email protected]] global net_impl.cpp:178 setUpNet DNN module was not built with CUDA backend; switching to CPU

@Qengineering
Copy link
Owner

Your issue seems to originate from a too low CUDA architectural number (arch).

Before diving into the OpenCV code to see if there is a fix possible, would you be so kind to reinstall OpenCV without the
-D CUDA_ARCH_BIN=${ARCH}
-D CUDA_ARCH_PTX=${PTX}
lines in the script.
Now, it will use arch without (in our case) a limiting number.

see also: opencv/opencv#15858

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants