mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +08:00
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:
committed by
Compute-Runtime-Automation
parent
b7ee3486d9
commit
5a6d358166
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user