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

Try to configure Github Actions to actually use the SIMD backend #5

Open
hdevalence opened this issue Jan 28, 2021 · 1 comment
Open

Comments

@hdevalence
Copy link
Collaborator

The GH Actions added in #3 don't actually check the simd backend, because they're compiled without awareness of the CPU flags that would support AVX2, and the implementation doesn't do dynamic dispatch. Two ways to address this:

  1. Set the target_cpu to native and hope that actions runs on something with AVX2 (likely, since AVX2 is not that new);
  2. Use qemu or something to run the avx2 or ifma implementations in an emulator;
@saleemrashid
Copy link

Could you use -C target-feature=+avx2 and then you'd hit an illegal instruction in the unlikely case that the runner doesn't support AVX2

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

2 participants