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

🚀 add argmin & argmax #42

Merged
merged 5 commits into from
Mar 23, 2023
Merged

🚀 add argmin & argmax #42

merged 5 commits into from
Mar 23, 2023

Conversation

jvdd
Copy link
Owner

@jvdd jvdd commented Mar 22, 2023

Closes #10

@codspeed-hq
Copy link

codspeed-hq bot commented Mar 22, 2023

CodSpeed Performance Report

Merging #42 arg_min (6957a23) will not alter performances.

Summary

🔥 0 improvements
❌ 0 regressions
✅ 52 untouched benchmarks

🆕 104 new benchmarks
⁉️ 0 dropped benchmarks

Benchmarks breakdown

Benchmark main arg_min Change
🆕 scalar_f32_argmin_rn N/A 2.2 ms N/A
🆕 scalar_f32_argmax_rn N/A 2.6 ms N/A
🆕 sse_f32_argmin_rn N/A 968.1 µs N/A
🆕 sse_f32_argmax_rn N/A 968.1 µs N/A
🆕 avx2_f32_argmin_rn N/A 467 µs N/A
🆕 avx2_f32_argmax_rn N/A 467 µs N/A
🆕 impl_f32_argmin_rn N/A 467.1 µs N/A
🆕 impl_f32_argmax_rn N/A 467.1 µs N/A
🆕 scalar_u64_argmin N/A 1.4 ms N/A
🆕 scalar_u64_argmax N/A 2.7 ms N/A
🆕 sse_u64_argmin N/A 1.5 ms N/A
🆕 sse_u64_argmax N/A 1.3 ms N/A
🆕 avx2_u64_argmin N/A 740.2 µs N/A
🆕 avx2_u64_argmax N/A 697.6 µs N/A
🆕 impl_u64_argmin N/A 868.7 µs N/A
🆕 impl_u64_argmax N/A 868.7 µs N/A
🆕 scalar_u32_argmin N/A 1.2 ms N/A
🆕 scalar_u32_argmax N/A 2.5 ms N/A
🆕 sse_u32_argmin N/A 647.8 µs N/A
🆕 sse_u32_argmax N/A 647.8 µs N/A
🆕 avx2_u32_argmin N/A 349.2 µs N/A
🆕 avx2_u32_argmax N/A 349.2 µs N/A
🆕 impl_u32_argmin N/A 403.1 µs N/A
🆕 impl_u32_argmax N/A 403.1 µs N/A
🆕 scalar_f32_argmin_in N/A 1.9 ms N/A
🆕 scalar_f32_argmax_in N/A 1.9 ms N/A
🆕 sse_f32_argmin_in N/A 509.3 µs N/A
🆕 sse_f32_argmax_in N/A 509.3 µs N/A
🆕 avx_f32_argmin_in N/A 322.8 µs N/A
🆕 avx_f32_argmax_in N/A 322.7 µs N/A
🆕 impl_f32_argmin_in N/A 403.3 µs N/A
🆕 impl_f32_argmax_in N/A 403.3 µs N/A
🆕 scalar_i8_argmin N/A 1.3 ms N/A
🆕 scalar_i8_argmax N/A 2.5 ms N/A
🆕 sse_i8_argmin N/A 165.7 µs N/A
🆕 sse_i8_argmax N/A 165.7 µs N/A
🆕 avx2_i8_argmin N/A 135.9 µs N/A
🆕 avx2_i8_argmax N/A 135.9 µs N/A
🆕 impl_i8_argmin N/A 271.2 µs N/A
🆕 impl_i8_argmax N/A 271.2 µs N/A
🆕 scalar_u8_argmin N/A 1.3 ms N/A
🆕 scalar_u8_argmax N/A 2.5 ms N/A
🆕 sse_u8_argmin N/A 173.3 µs N/A
🆕 sse_u8_argmax N/A 176.3 µs N/A
🆕 avx2_u8_argmin N/A 132.4 µs N/A
🆕 avx2_u8_argmax N/A 135.9 µs N/A
🆕 impl_u8_argmin N/A 275.8 µs N/A
🆕 impl_u8_argmax N/A 275.8 µs N/A
🆕 scalar_i32_argmin N/A 1.2 ms N/A
🆕 scalar_i32_argmax N/A 2.3 ms N/A
🆕 sse_i32_argmin N/A 541.2 µs N/A
🆕 sse_i32_argmax N/A 541.2 µs N/A
🆕 avx2_i32_argmin N/A 322.6 µs N/A
🆕 avx2_i32_argmax N/A 322.6 µs N/A
🆕 impl_i32_argmin N/A 403 µs N/A
🆕 impl_i32_argmax N/A 403 µs N/A
🆕 scalar_u16_argmin N/A 1.3 ms N/A
🆕 scalar_u16_argmax N/A 2.4 ms N/A
🆕 sse_u16_argmin N/A 314.3 µs N/A
🆕 sse_u16_argmax N/A 314.4 µs N/A
🆕 avx2_u16_argmin N/A 165.1 µs N/A
🆕 avx2_u16_argmax N/A 165.1 µs N/A
🆕 impl_u16_argmin N/A 202.9 µs N/A
🆕 impl_u16_argmax N/A 202.9 µs N/A
🆕 scalar_f64_argmin_in N/A 2.1 ms N/A
🆕 scalar_f64_argmax_in N/A 2.1 ms N/A
🆕 sse_f64_argmin_in N/A 1 ms N/A
🆕 sse_f64_argmax_in N/A 1 ms N/A
🆕 avx_f64_argmin_in N/A 644.5 µs N/A
🆕 avx_f64_argmax_in N/A 644.4 µs N/A
🆕 impl_f64_argmin_in N/A 804.9 µs N/A
🆕 impl_f64_argmax_in N/A 804.9 µs N/A
🆕 scalar_i64_argmin N/A 1.4 ms N/A
🆕 scalar_i64_argmax N/A 2.5 ms N/A
🆕 sse_i64_argmin N/A 1.4 ms N/A
🆕 sse_i64_argmax N/A 1.2 ms N/A
🆕 avx2_i64_argmin N/A 740.2 µs N/A
🆕 avx2_i64_argmax N/A 697.5 µs N/A
🆕 impl_i64_argmin N/A 868.7 µs N/A
🆕 impl_i64_argmax N/A 868.7 µs N/A
🆕 scalar_f16_argmin_rn N/A 3.3 ms N/A
🆕 scalar_f16_argmax_rn N/A 3.3 ms N/A
🆕 sse_f16_argmin_rn N/A 476 µs N/A
🆕 sse_f16_argmax_rn N/A 476 µs N/A
🆕 avx2_f16_argmin_rn N/A 236 µs N/A
🆕 avx2_f16_argmax_rn N/A 236.1 µs N/A
🆕 impl_f16_argmin_rn N/A 236.2 µs N/A
🆕 impl_f16_argmax_rn N/A 236.2 µs N/A
🆕 scalar_f64_argmin_rn N/A 2.4 ms N/A
🆕 scalar_f64_argmax_rn N/A 2.7 ms N/A
🆕 sse_f64_argmin_rn N/A 2.3 ms N/A
🆕 sse_f64_argmax_rn N/A 2.3 ms N/A
🆕 avx2_f64_argmin_rn N/A 1.1 ms N/A
🆕 avx2_f64_argmax_rn N/A 1.1 ms N/A
🆕 impl_f64_argmin_rn N/A 1.1 ms N/A
🆕 impl_f64_argmax_rn N/A 1.1 ms N/A
🆕 scalar_i16_argmin N/A 1.3 ms N/A
🆕 scalar_i16_argmax N/A 2.4 ms N/A
🆕 sse_i16_argmin N/A 281.6 µs N/A
🆕 sse_i16_argmax N/A 281.5 µs N/A
🆕 avx2_i16_argmin N/A 164.6 µs N/A
🆕 avx2_i16_argmax N/A 164.7 µs N/A
🆕 impl_i16_argmin N/A 202.7 µs N/A
🆕 impl_i16_argmax N/A 202.7 µs N/A

@jvdd jvdd changed the title 🚀 add argmin 🚀 add argmin & argmax Mar 23, 2023
@jvdd jvdd merged commit a71aa98 into main Mar 23, 2023
@jvdd jvdd mentioned this pull request Mar 23, 2023
1 task
@jvdd jvdd deleted the arg_min branch March 26, 2023 08:33
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

Successfully merging this pull request may close these issues.

✨ add argmin & argmax as seperate functions
1 participant