-
-
Notifications
You must be signed in to change notification settings - Fork 887
Advanced Feature Testing #1385
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
Advanced Feature Testing #1385
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1385 +/- ##
=======================================
Coverage 82.83% 82.83%
=======================================
Files 690 690
Lines 30847 30843 -4
Branches 3542 3542
=======================================
- Hits 25551 25550 -1
+ Misses 4574 4572 -2
+ Partials 722 721 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
antonfirsov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Let's see where this concept brings us.
Advanced Feature Testing
Prerequisites
Description
As we add more hardware intrinsics into the library we need a good way to test them.
Ideally we want to follow the same pattern the runtime uses for abstracting intrinsics so our tests should be able to call the same method multiple times with difference features disabled.
This PR adds two bits of functionality that allow this pattern
FeatureTestRunner.RunWithHwIntrinsicsFeature. Which utilizesRemoteExecutor+ environmental constants to disable intrinsics features.HwIntrinsics_SSE_AVXwhich is the first implementation of config classes for benchmarking a single method with separate runs utilizing environmental constants to disable intrinsics features.