DotCompute.Core 0.1.0-alpha

This is a prerelease version of DotCompute.Core.
dotnet add package DotCompute.Core --version 0.1.0-alpha
                    
NuGet\Install-Package DotCompute.Core -Version 0.1.0-alpha
                    
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="DotCompute.Core" Version="0.1.0-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DotCompute.Core" Version="0.1.0-alpha" />
                    
Directory.Packages.props
<PackageReference Include="DotCompute.Core" />
                    
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 DotCompute.Core --version 0.1.0-alpha
                    
#r "nuget: DotCompute.Core, 0.1.0-alpha"
                    
#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 DotCompute.Core@0.1.0-alpha
                    
#: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=DotCompute.Core&version=0.1.0-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DotCompute.Core&version=0.1.0-alpha&prerelease
                    
Install as a Cake Tool

DotCompute.Core

Core runtime and orchestration for the DotCompute compute acceleration framework.

Installation

dotnet add package DotCompute.Core --version 0.1.0-alpha

Overview

DotCompute.Core provides the essential runtime components for compute acceleration:

  • Kernel execution management
  • Accelerator discovery and lifecycle
  • Service registration and dependency injection
  • Compilation pipeline orchestration
  • Performance monitoring and telemetry

Usage

using DotCompute.Core;
using Microsoft.Extensions.DependencyInjection;

// Configure services
var services = new ServiceCollection();
services.AddDotCompute(options =>
{
    options.EnableTelemetry = true;
    options.DefaultAccelerator = AcceleratorType.Auto;
});

// Get compute service
var provider = services.BuildServiceProvider();
var compute = provider.GetRequiredService<IComputeService>();

// Execute kernels
var result = await compute.ExecuteKernelAsync("MyKernel", parameters);

Requirements

  • .NET 9.0 or later
  • Native AOT compatible

Note

This is an alpha release. APIs are subject to change.

License

MIT License - Copyright (c) 2025 Michael Ivertowski

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on DotCompute.Core:

Package Downloads
DotCompute.Memory

Unified memory management for DotCompute. Provides zero-copy buffers, memory pooling, and cross-device memory transfers.

DotCompute.Backends.CPU

CPU compute backend for DotCompute. Provides SIMD vectorization using AVX2/AVX512 instructions and multi-threaded kernel execution. Experimental alpha release.

DotCompute.Backends.CUDA

NVIDIA CUDA GPU backend for DotCompute. Provides GPU acceleration through CUDA with NVRTC compilation. Experimental alpha release - requires CUDA 12.0+ and NVIDIA GPU.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha 68 9/5/2025