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

wip: Bitmap operations SIMD logic refactor #942

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

PaulusParssinen
Copy link
Contributor

@PaulusParssinen PaulusParssinen commented Jan 22, 2025

wip, todo: pr description

TODO:

  • .NET Foundation third party notice for TensorPrimitives design
  • Guard Vector### logic behind IsSupported & IsHardwareAccelerated
  • Add Vector512 & Vector128 paths
  • Factor bitmap tests little-bit to own test bitop specific methods
  • ...

Follow-up work:

  • Refactor BITCOUNT logic similarly to be cross-platform and to follow "modern" .NET SIMD practices
  • Investigate following .NET SIMD best-practices more (look at TensorPrimitives etc.)
  • I briefly tried fast-path for the more common? two key bitop scenario, didn't have measurable wins so didn't go forward with that. I think there might be more to do here though
  • Investigate non-temporal stores after 256KB threshold.

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.

1 participant