Add cmake flag to add legacy platforms support

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-10-05 10:19:09 +00:00
committed by Compute-Runtime-Automation
parent 2f24ef6855
commit edca8aa6de

View File

@@ -4,7 +4,7 @@
# SPDX-License-Identifier: MIT
#
if(WIN32)
if(WIN32 AND NOT NEO_ALLOW_LEGACY_PLATFORMS_SUPPORT)
DISABLE_FLAGS_FOR("GEN8" "BDW")
DISABLE_FLAGS_FOR("GEN9" "SKL" "KBL" "BXT" "GLK" "CFL")
DISABLE_FLAGS_FOR("GEN11" "ICLLP" "LKF" "EHL")