mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 22:08:53 +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
@@ -200,8 +200,11 @@ macro(DISABLE_FLAGS_FOR CORE_TYPE)
|
||||
endmacro()
|
||||
|
||||
macro(ADD_PLATFORM_FOR_CORE_TYPE LIST_TYPE CORE_TYPE PLATFORM_NAME)
|
||||
list(APPEND PLATFORM_TYPES ${PLATFORM_NAME})
|
||||
list(REMOVE_DUPLICATES PLATFORM_TYPES)
|
||||
ADD_ITEM_FOR_CORE_TYPE("PLATFORMS" ${LIST_TYPE} ${CORE_TYPE} ${PLATFORM_NAME})
|
||||
set(${CORE_TYPE}_HAS_${PLATFORM_NAME} TRUE)
|
||||
set(${PLATFORM_NAME}_IS_${PLATFORM_NAME} TRUE)
|
||||
if(NOT DEFAULT_${LIST_TYPE}_${CORE_TYPE}_${PLATFORM_NAME}_PLATFORM)
|
||||
string(TOLOWER ${PLATFORM_NAME} DEFAULT_${LIST_TYPE}_${CORE_TYPE}_${PLATFORM_NAME}_PLATFORM)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user