fix check_isa.cpp's flag for knl

This commit is contained in:
Anton Mitrokhin
2015-05-28 10:54:59 +03:00
parent f1d72a7e2c
commit 33d8daf933

View File

@@ -126,7 +126,7 @@ lGetSystemISA() {
else if ((info2[1] & (1 << 26)) != 0 && // AVX512 PF
(info2[1] & (1 << 27)) != 0 && // AVX512 ER
(info2[1] & (1 << 28)) != 0) { // AVX512 CDI
return "KNL_AVX512";
return "KNL";
}
// If it's unknown AVX512 target, fall through and use AVX2
// or whatever is available in the machine.