https://github.com/gregyjames/tsunami

A High Performance C# wrapper that allows you to get the benefits of SIMD Intrinsics on List<T>.

https://github.com/gregyjames/tsunami

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.5%) to scientific vocabulary

Keywords

csharp dotnet dotnet-core dotnetstandard dotnetstandart20 hacktoberfest hacktoberfest-accepted high-performance high-performance-computing math mathematics simd simd-intrinsics simd-parallelism simd-programming
Last synced: 6 months ago · JSON representation

Repository

A High Performance C# wrapper that allows you to get the benefits of SIMD Intrinsics on List<T>.

Basic Info
Statistics
  • Stars: 7
  • Watchers: 3
  • Forks: 0
  • Open Issues: 2
  • Releases: 0
Topics
csharp dotnet dotnet-core dotnetstandard dotnetstandart20 hacktoberfest hacktoberfest-accepted high-performance high-performance-computing math mathematics simd simd-intrinsics simd-parallelism simd-programming
Created over 2 years ago · Last pushed about 2 years ago
Metadata Files
Readme License

README.md

.NET GitHub GitHub issues Nuget Nuget

| logo | tsunami | | --- | ----------- |

A High Performance C# wrapper that allows you to get the benifts of SIMD Intrinsics on List<T>.

What does this do?

This library is a wrapper for System.Runtime.Intrensics and System.Numerics that allows you do get the performance benifits of SIMD instructions without having to worry about things like memory management, resizing inputs or dealing with the Vector type.

Current supported vector operations:

  • Add
  • Max
  • Min
  • Multiply
  • Subtract
  • AndNot
  • And
  • Or
  • Divide
  • Xor
  • SquareRoot

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.

Supported Instruction Sets

  • Generic
  • AVX2
  • NEON
  • SSE3
  • SSE41
  • SSE42

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.

Owner

  • Name: Greg
  • Login: gregyjames
  • Kind: user
  • Location: Chicago

Just a man trying to pay off leaving an EC2 instance running.

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 2
  • Total pull requests: 12
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 month
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.5
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 11
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • gregyjames (2)
Pull Request Authors
  • dependabot[bot] (14)
  • gregyjames (1)
Top Labels
Issue Labels
enhancement (2) help wanted (2) good first issue (1)
Pull Request Labels
dependencies (14)

Packages

  • Total packages: 1
  • Total downloads:
    • nuget 748 total
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 4
  • Total maintainers: 1
nuget.org: tsunami

A High Performance C# wrapper that allows you to get the benifts of SIMD Intrinsics on List<T>.

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 748 Total
Rankings
Dependent repos count: 13.8%
Dependent packages count: 18.8%
Average: 27.3%
Downloads: 49.2%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/dotnet.yml actions
  • actions/checkout v3 composite
  • actions/setup-dotnet v3 composite
.github/workflows/deploy-to-nuget.yml actions
  • NuGet/setup-nuget v1.0.5 composite
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-dotnet v1 composite
Tsunami/Tsunami.csproj nuget
TsunamiTester/TsunamiTester.csproj nuget
  • ConsoleTables 2.4.2
TsunamiTests/TsunamiTests.csproj nuget
  • Microsoft.NET.Test.Sdk 17.6.3
  • NUnit 3.13.3
  • NUnit.Analyzers 3.6.1
  • NUnit3TestAdapter 4.5.0
  • coverlet.collector 6.0.0