Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ and arbitrary types can be sorted via an `IComparer<T>` overload.

## Usage

Add the `SortingNetworks` NuGet package, then decorate a `partial class` with
Add the `SortingNetworks.SourceGen` NuGet package, then decorate a `partial class` with
`[SortingNetwork(size, typeof(T))]` for each size/type combination you need.

> **Target framework:** The generated SIMD code uses `System.Runtime.Intrinsics`
Expand Down Expand Up @@ -622,7 +622,7 @@ dotnet run --project SortingNetworks.Benchmarks -c Release -- --filter *

## Projects

- **SortingNetworks** -- NuGet package containing the `SortingNetworkAttribute`
- **SortingNetworks** -- NuGet package (`SortingNetworks.SourceGen`) containing the `SortingNetworkAttribute`
and bundled source generator
- **SortingNetworks.Generators** -- Roslyn incremental source generator that
emits optimized sorting network code (scalar + SIMD)
Expand Down
2 changes: 1 addition & 1 deletion SortingNetworks/SortingNetworks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageId>SortingNetworks</PackageId>
<PackageId>SortingNetworks.SourceGen</PackageId>
<Description>Source generator for sorting-network-based sorting of small arrays, including depth-13 networks for 27 and 28 channels from arXiv:2511.04107.</Description>
<Authors>Jonathan Peppers</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SortingNetworks" Version="*" />
<PackageReference Include="SortingNetworks.SourceGen" Version="*" />
</ItemGroup>

</Project>