Deactivating AVX2 support by default
This CL deactivates the AVX2 support by default due to issues identified during testing. Bug: webrtc:11663 Change-Id: Ib42791a8da9a93c986f69bfc85def2158525af79 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/185818 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32231}
This commit is contained in:
parent
435f279433
commit
3f8966f4ab
@ -79,7 +79,7 @@ int GetCPUInfo(CPUFeature feature) {
|
||||
}
|
||||
#if defined(WEBRTC_ENABLE_AVX2)
|
||||
if (feature == kAVX2 &&
|
||||
!webrtc::field_trial::IsEnabled("WebRTC-Avx2SupportKillSwitch")) {
|
||||
webrtc::field_trial::IsEnabled("WebRTC-ActivateAvx2Support")) {
|
||||
int cpu_info7[4];
|
||||
__cpuid(cpu_info7, 0);
|
||||
int num_ids = cpu_info7[0];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user