Revert "refactor: remove platform type string"

This reverts commit 58b443ecf1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2023-01-04 10:18:42 +01:00
committed by Compute-Runtime-Automation
parent b7ee3486d9
commit 5a6d358166
46 changed files with 497 additions and 269 deletions

View File

@@ -78,6 +78,12 @@ macro(apply_macro_for_each_platform)
endforeach()
endmacro()
macro(get_family_name_with_type core_type platform_type)
string(REPLACE "GEN" "Gen" core_type_capitalized ${core_type})
string(TOLOWER ${platform_type} platform_type_lower)
set(family_name_with_type ${core_type_capitalized}${platform_type_lower})
endmacro()
macro(append_sources_from_properties list_name)
foreach(name ${ARGN})
get_property(${name} GLOBAL PROPERTY ${name})