r2inference
r2inference copied to clipboard
Cuda 11.4 Support
Nvidia Jetpack 5 runs Cuda version 11.4; it appears that the latest build of r2inference only supports up to 10.2:
user:~ /usr/local/cuda/bin/nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_May__4_00:02:26_PDT_2022
Cuda compilation tools, release 11.4, V11.4.239
Build cuda_11.4.r11.4/compiler.31294910_0
meson build -Denable-tensorrt=true
The Meson build system
Version: 0.63.99
Source dir: .../r2inference
Build dir: .../r2inference/build
Build type: native build
Project name: r2inference
Project version: 0.12.1
C++ compiler for the host machine: c++ (gcc 9.4.0 "c++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
C++ linker for the host machine: c++ ld.bfd 2.34
Host machine cpu family: aarch64
Host machine cpu: aarch64
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Run-time dependency opencv4 found: YES 4.5.4
Run-time dependency glib-2.0 found: YES 2.64.6
Run-time dependency gmodule-2.0 found: YES 2.64.6
Found CMake: /snap/bin/cmake (3.24.2)
Run-time dependency cudart-10.0 found: NO (tried pkgconfig and cmake)
Run-time dependency cudart-10.0 found: NO (tried pkgconfig and cmake)
Run-time dependency cudart-10.2 found: NO (tried pkgconfig and cmake)
Run-time dependency cudart-10.2 found: NO (tried pkgconfig and cmake)
meson.build:103:4: ERROR: Problem encountered: Unable to find CUDA supported version