Skip to content

Avx Basic Linear Algebra Subroutine and Neural Network Kernel Library

License

Notifications You must be signed in to change notification settings

tk-yoshimura/AvxBlas

Repository files navigation

AvxBlas

Avx Basic Linear Algebra Subroutine and Neural Network Kernel Library

under development !

Requirement

.NET 5.0
AVX2 suppoted CPU. (Intel:Haswell(2013)-, AMD:Excavator(2015)-)

Install

Download DLL
Download Nuget

  • To install, just import the DLL.
  • This library does not change the environment at all.

Usage

// make input array
Array<float> x1 = new float[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
Array<float> x2 = new float[] { 6, 7, 8, 9, 10, 0, 1, 2, 3, 4, 5 };

// make zeroset output array
Array<float> y = new(x1.Length);

// operate
Elementwise.Add(9, x1, x2, y);

// check
float[] t = new float[] { 6, 8, 10, 12, 14, 5, 7, 9, 11, 0, 0 };
CollectionAssert.AreEqual(t, (float[])y);

Reference Guide

Wiki Home

Licence

MIT

Author

T.Yoshimura

About

Avx Basic Linear Algebra Subroutine and Neural Network Kernel Library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published