DotCompute.Core
0.1.0-alpha
dotnet add package DotCompute.Core --version 0.1.0-alpha
NuGet\Install-Package DotCompute.Core -Version 0.1.0-alpha
<PackageReference Include="DotCompute.Core" Version="0.1.0-alpha" />
<PackageVersion Include="DotCompute.Core" Version="0.1.0-alpha" />
<PackageReference Include="DotCompute.Core" />
paket add DotCompute.Core --version 0.1.0-alpha
#r "nuget: DotCompute.Core, 0.1.0-alpha"
#:package DotCompute.Core@0.1.0-alpha
#addin nuget:?package=DotCompute.Core&version=0.1.0-alpha&prerelease
#tool nuget:?package=DotCompute.Core&version=0.1.0-alpha&prerelease
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 | Versions 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. |
-
net9.0
- DotCompute.Abstractions (>= 0.1.0-alpha)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.8)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.8)
- Microsoft.Extensions.Options (>= 9.0.8)
- Microsoft.NET.ILLink.Tasks (>= 9.0.8)
- OpenTelemetry (>= 1.9.0)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.9.0)
- OpenTelemetry.Exporter.Prometheus.AspNetCore (>= 1.9.0-beta.2)
- OpenTelemetry.Extensions.Hosting (>= 1.9.0)
- prometheus-net (>= 8.2.1)
- System.Collections.Immutable (>= 9.0.8)
- System.Diagnostics.DiagnosticSource (>= 9.0.8)
- System.Text.Json (>= 9.0.8)
- System.Threading.Channels (>= 9.0.8)
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 |