Tsunami 1.0.0
See the version list below for details.
dotnet add package Tsunami --version 1.0.0
NuGet\Install-Package Tsunami -Version 1.0.0
<PackageReference Include="Tsunami" Version="1.0.0" />
paket add Tsunami --version 1.0.0
#r "nuget: Tsunami, 1.0.0"
// Install Tsunami as a Cake Addin #addin nuget:?package=Tsunami&version=1.0.0 // Install Tsunami as a Cake Tool #tool nuget:?package=Tsunami&version=1.0.0
A High Performance C# wrapper for working with System.Vector for SIMD Intrinsics.
Current supported vector operations:
- Add
- Subtract
- Multiply
- Min
- Max
Benchmarks
Count | Tsunami | Normal | Equal? | % Diff |
---|---|---|---|---|
10000 | 3.9621 ms | 0.4234 ms | True | 89.31374776002625 |
100000 | 0.2125 ms | 0.3279 ms | True | 35.19365660262276 |
1000000 | 2.1131 ms | 3.2197 ms | True | 34.369661769730094 |
10000000 | 28.6489 ms | 34.0691 ms | True | 15.909431126739474 |
100000000 | 686.2303 ms | 485.0529 ms | True | 29.316309699527988 |
250000000 | 1409.1429 ms | 2354.5231 ms | True | 40.15166383375045 |
Code Example
var x = Enumerable.Range(0, size).ToList();
var y = Enumerable.Range(0, size).ToList();
var res = Tsunami<int>.DoOperations(x, y, Operations.Add);
Please look at the "TsunamiTester" project for more information.
License
MIT License
Copyright (c) 2023 Greg James
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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 was computed. 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. |
-
net6.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.