mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 22:08:53 +08:00
refactor: remove deprecated cmake macro
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4f715c9b6a
commit
f745eb44fb
@@ -137,17 +137,6 @@ macro(PLATFORM_HAS_2_0 CORE_TYPE PLATFORM_NAME OUT_FLAG)
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
macro(PLATFORM_HAS_VME CORE_TYPE PLATFORM_NAME OUT_FLAG)
|
||||
FIND_IDX_FOR_CORE_TYPE(${CORE_TYPE} CORE_IDX)
|
||||
GET_LIST_FOR_CORE_TYPE("PLATFORMS" "SUPPORTED_VME" ${CORE_IDX} CORE_X_PLATFORMS)
|
||||
list(FIND CORE_X_PLATFORMS ${PLATFORM_NAME} PLATFORM_EXISTS)
|
||||
if("${PLATFORM_EXISTS}" LESS 0)
|
||||
set(${OUT_FLAG} FALSE)
|
||||
else()
|
||||
set(${OUT_FLAG} TRUE)
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
# default flag for CoreX devices support
|
||||
set(SUPPORT_GEN_DEFAULT TRUE CACHE BOOL "default value for SUPPORT_COREx")
|
||||
# default flag for platform support
|
||||
@@ -265,7 +254,6 @@ endmacro()
|
||||
INIT_LIST("FAMILY_NAME" "TESTED")
|
||||
INIT_LIST("PLATFORMS" "SUPPORTED")
|
||||
INIT_LIST("PLATFORMS" "SUPPORTED_2_0")
|
||||
INIT_LIST("PLATFORMS" "SUPPORTED_VME")
|
||||
INIT_LIST("PLATFORMS" "SUPPORTED_IMAGES")
|
||||
INIT_LIST("PLATFORMS" "SUPPORTED_AUX_TRANSLATION")
|
||||
INIT_LIST("PLATFORMS" "TESTED")
|
||||
|
||||
Reference in New Issue
Block a user