OpenCvSharp4.Cuda.runtime.linux-x64.Turing 1.0.1

dotnet add package OpenCvSharp4.Cuda.runtime.linux-x64.Turing --version 1.0.1
                    
NuGet\Install-Package OpenCvSharp4.Cuda.runtime.linux-x64.Turing -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpenCvSharp4.Cuda.runtime.linux-x64.Turing" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OpenCvSharp4.Cuda.runtime.linux-x64.Turing" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="OpenCvSharp4.Cuda.runtime.linux-x64.Turing" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OpenCvSharp4.Cuda.runtime.linux-x64.Turing --version 1.0.1
                    
#r "nuget: OpenCvSharp4.Cuda.runtime.linux-x64.Turing, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OpenCvSharp4.Cuda.runtime.linux-x64.Turing@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OpenCvSharp4.Cuda.runtime.linux-x64.Turing&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=OpenCvSharp4.Cuda.runtime.linux-x64.Turing&version=1.0.1
                    
Install as a Cake Tool

OpenCvSharp4.Cuda.runtime (Windows & Linux)

This project provides the native C++ binaries (OpenCvSharpExtern.dll for Windows, libOpenCvSharpExtern.so for Linux) and required dependencies to run OpenCvSharp4 with GPU acceleration on x64 platforms.

It is a drop-in replacement for the standard CPU-only OpenCvSharp4.runtime.* packages, specifically compiled to enable CUDA-accelerated image processing and Deep Neural Network (DNN) inference.

Package Versions & Architectures

Because CUDA binaries can become extremely large, this library is offered in several architecture-specific packages to save deployment space, as well as a "Combined" package that supports all modern GPUs.

When installing, replace {OS} with either win or your specific Linux moniker (e.g., linux, ubuntu.22.04), depending on your target environment.

Target Hardware Package Naming Convention SM Arch Notes
All Modern GPUs OpenCvSharp4.Cuda.runtime.{OS} 7.5 - 10.0 Combined package. Best for distribution to unknown hardware. Very large file size (~600MB+).
RTX 20-series OpenCvSharp4.Cuda.runtime.{OS}.Turing SM 7.5 Optimized specifically for Turing.
RTX 30-series, A-series OpenCvSharp4.Cuda.runtime.{OS}.Ampere SM 8.6 Optimized specifically for Ampere.
RTX 40-series, Ada generation OpenCvSharp4.Cuda.runtime.{OS}.Ada SM 8.9 Optimized specifically for Ada Lovelace.
RTX 50-series, Blackwell OpenCvSharp4.Cuda.runtime.{OS}.Blackwell SM 10.0 Optimized specifically for Blackwell.

Note: The architecture-specific packages include PTX code, allowing them to forward-compile (JIT) onto newer architectures at runtime. However, for the best performance and lowest startup latency, you should use the package that perfectly matches your target hardware.

Build Specifications

  • OpenCV Version: 4.13.0
  • CUDA Toolkit: 12.8
    • Windows: See the companion package OpenCvSharp4.Cuda.NvidiaRedist.win for zero-install redistributables.
    • Linux: You must ensure the host environment or Docker container has the CUDA 12.8 runtime libraries installed.
  • cuDNN: 9.2.0 (Included in build config for DNN acceleration)
  • Linkage: OpenCV C++ modules are statically linked into the wrapper to reduce file clutter and dependency chains.

Hardware & Software Requirements

  1. NVIDIA Driver: Version 566.03 or higher is strictly required for CUDA 12.8 support (both Windows and Linux).
  2. Operating System:
    • Windows 10 or Windows 11 (x64)
    • Linux (Ubuntu 20.04/22.04/24.04, Debian, etc.) (x64)
  3. Linux System Dependencies: On Linux, your environment must have standard OpenCV dependencies installed (e.g., libgl1, libglib2.0-0, libgomp1).
  4. Project Config: Your .NET project must explicitly target x64. ("Any CPU" will not work correctly when loading native x64 binaries).

Installation

  1. (If installed) Remove the standard CPU-only runtime package from your project:

    dotnet remove package OpenCvSharp4.runtime.win
    # or
    dotnet remove package OpenCvSharp4.runtime.ubuntu.22.04-x64
    
  2. Install ONE of the CUDA packages based on your OS and deployment needs:

    Example: To install the Combined fat-binary for Windows:

    dotnet add package OpenCvSharp4.Cuda.runtime.win
    

    Example: To install an architecture-specific binary for Linux (e.g., Ada / RTX 40-series):

    dotnet add package OpenCvSharp4.Cuda.runtime.linux.Ada
    
  3. (Windows Only) Install the NVIDIA redistributables (highly recommended):

    dotnet add package OpenCvSharp4.Cuda.NvidiaRedist.win
    
  4. Ensure your application's Build Platform is explicitly set to x64.

Resources

Credits

This build is based on the phenomenal work of shimat and the OpenCvSharp contributors. This specific fork/addition adds the build configurations, cuDNN integration, multi-architecture packaging, and Linux support required for modern NVIDIA GPU acceleration.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp is compatible.  netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard is compatible.  netstandard1.0 was computed.  netstandard1.1 was computed.  netstandard1.2 was computed.  netstandard1.3 was computed.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wp8 was computed.  wp81 was computed.  wpa81 was computed. 
Windows Store netcore was computed.  netcore45 was computed.  netcore451 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 81 5/27/2026
1.0.0 82 5/27/2026