SIMDUtils 1.0.0-alpha1
This is a prerelease version of SIMDUtils.
dotnet add package SIMDUtils --version 1.0.0-alpha1
NuGet\Install-Package SIMDUtils -Version 1.0.0-alpha1
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="SIMDUtils" Version="1.0.0-alpha1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SIMDUtils --version 1.0.0-alpha1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SIMDUtils, 1.0.0-alpha1"
#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.
// Install SIMDUtils as a Cake Addin
#addin nuget:?package=SIMDUtils&version=1.0.0-alpha1&prerelease
// Install SIMDUtils as a Cake Tool
#tool nuget:?package=SIMDUtils&version=1.0.0-alpha1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SIMD Utils
A set of generic utilities for efficient SIMD processing of arbitrary Vector transformers funcs.
Example Usage
Define a selector value func:
struct SimpleSelector : IVectorFunc<float>
{
private static readonly Vector<float> _five = new(5f);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public Vector<float> Invoke(Vector<float> val) => (val * 5 + _five) / _five;
}
Use it with Vectorizer.Select
public void TransformDate(float[] inputData)
{
var dataSpan = inputData.AsSpan();
Vectorizer.Select(dataSpan, new SimpleSelector());
// any other transforms required...
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
This package has 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.
Version | Downloads | Last updated |
---|---|---|
1.0.0-alpha1 | 91 | 7/31/2023 |