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
CMake Error at darknet_ros_lib_generated_maxpool_layer_kernels.cu.o.Release.cmake:220 (message):
To Reproduce
Steps to reproduce the behavior: (I am using RTX 3060 Ti)
I added -gencode arch=compute_86,code=sm_86 in 👍
set(
CUDA_NVCC_FLAGS
${CUDA_NVCC_FLAGS};
-O3
...
-gencode arch=compute_86,code=sm_86
)
after that :
cd catkin_ws
catkin_make -DCMAKE_BUILD_TYPE=Release
System (please complete the following information):
OS: [Ubuntu 20.04]
ROS version: [ Noetic]
GPU : [ RTX 3060 Ti]
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243
nvidia-smi
Wed May 3 11:38:28 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.105.17 Driver Version: 525.105.17 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:06:00.0 On | N/A |
| 0% 38C P8 12W / 200W | 282MiB / 8192MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1093 G /usr/lib/xorg/Xorg 88MiB |
| 0 N/A N/A 1381 G /usr/bin/gnome-shell 72MiB |
| 0 N/A N/A 1844 G /usr/lib/firefox/firefox 118MiB |
+-----------------------------------------------------------------------------+
any help ?
thanks by advance
The text was updated successfully, but these errors were encountered:
Problem resolved by having same cuda verions from the nvcc --version and nvidia-smi, in my case a added this ligne de the ~/.bashrc : export PATH=/usr/local/cuda-12.1/bin${PATH:+:${PATH}}
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Mon_Apr__3_17:16:06_PDT_2023
Cuda compilation tools, release 12.1, V12.1.105
Build cuda_12.1.r12.1/compiler.32688072_0
nvidia-smi
Thu May 4 09:28:13 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 530.30.02 Driver Version: 530.30.02 CUDA Version: 12.1 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 3060 Ti On | 00000000:06:00.0 Off | N/A |
| 0% 37C P8 11W / 200W| 290MiB / 8192MiB | 0% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 1092 G /usr/lib/xorg/Xorg 106MiB |
| 0 N/A N/A 1354 G /usr/bin/gnome-shell 32MiB |
| 0 N/A N/A 1949 G /usr/lib/firefox/firefox 149MiB |
+---------------------------------------------------------------------------------------+
CMake Error at darknet_ros_lib_generated_maxpool_layer_kernels.cu.o.Release.cmake:220 (message):
To Reproduce
Steps to reproduce the behavior: (I am using RTX 3060 Ti)
I added -gencode arch=compute_86,code=sm_86 in 👍
set(
CUDA_NVCC_FLAGS
${CUDA_NVCC_FLAGS};
-O3
...
-gencode arch=compute_86,code=sm_86
)
after that :
cd catkin_ws
catkin_make -DCMAKE_BUILD_TYPE=Release
System (please complete the following information):
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243
nvidia-smi
Wed May 3 11:38:28 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.105.17 Driver Version: 525.105.17 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:06:00.0 On | N/A |
| 0% 38C P8 12W / 200W | 282MiB / 8192MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1093 G /usr/lib/xorg/Xorg 88MiB |
| 0 N/A N/A 1381 G /usr/bin/gnome-shell 72MiB |
| 0 N/A N/A 1844 G /usr/lib/firefox/firefox 118MiB |
+-----------------------------------------------------------------------------+
any help ?
thanks by advance
The text was updated successfully, but these errors were encountered: