Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIMD acceleration using AVX2 #2

Open
WinPooh32 opened this issue Oct 15, 2022 · 0 comments
Open

SIMD acceleration using AVX2 #2

WinPooh32 opened this issue Oct 15, 2022 · 0 comments

Comments

@WinPooh32
Copy link
Owner

SIMD implementation provided by viterin/vek

Build with float64 and avx2:

go build -tags "series_avx2"

Build with float32 and avx2:

go build -tags "series_f32 series_avx2"
Functon / Method Float32 Float64
Equals
IndexEquals
ValuesEquals
Add x x
Sub x x
Mul x x
Div x x
Mod
AddScalar x x
SubScalar x x
MulScalar x x
DivScalar x x
Sign
Sin x
Asin
Cos x
Acos
Tan
Atan
Pow
Pow10
Sqr
Exp x
Exp2
Log x
Log2 x
Log10 x
Abs
Floor x x
Trunc
Round x x
RoundToEven
Ceil x x
Cumsum
Reverse
IndexReverse
DataReverse
Fillna
Pad
Lerp
Diff
Shift

Aggregation:

Functon / Method Float32 Float64
Sum
Min
Max
Skew
Variance
Std
First
Last
Argmin
Argmax
Median
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant