mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
build: remove deprecated macro for OCL 2.0 support
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
20a028f64b
commit
fb3ad659d4
@@ -126,17 +126,6 @@ macro(GET_PLATFORMS_FOR_CORE_TYPE TYPE CORE_TYPE OUT_LIST)
|
||||
GET_LIST_FOR_CORE_TYPE("PLATFORMS" ${TYPE} ${CORE_IDX} ${OUT_LIST})
|
||||
endmacro()
|
||||
|
||||
macro(PLATFORM_HAS_2_0 CORE_TYPE PLATFORM_NAME OUT_FLAG)
|
||||
FIND_IDX_FOR_CORE_TYPE(${CORE_TYPE} CORE_IDX)
|
||||
GET_LIST_FOR_CORE_TYPE("PLATFORMS" "SUPPORTED_2_0" ${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
|
||||
@@ -253,7 +242,6 @@ endmacro()
|
||||
# Init lists
|
||||
INIT_LIST("FAMILY_NAME" "TESTED")
|
||||
INIT_LIST("PLATFORMS" "SUPPORTED")
|
||||
INIT_LIST("PLATFORMS" "SUPPORTED_2_0")
|
||||
INIT_LIST("PLATFORMS" "SUPPORTED_IMAGES")
|
||||
INIT_LIST("PLATFORMS" "SUPPORTED_AUX_TRANSLATION")
|
||||
INIT_LIST("PLATFORMS" "TESTED")
|
||||
|
||||
Reference in New Issue
Block a user