mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 22:08:53 +08:00
feature: add new definitions for support of AOT configs
Related-To: NEO-11466 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
77beaac80c
commit
a787686ac5
@@ -230,6 +230,10 @@ macro(ADD_PLATFORM_FOR_CORE_TYPE LIST_TYPE CORE_TYPE PLATFORM_NAME)
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
macro(ADD_AOT_DEFINITION CONFIG_NAME)
|
||||
list(APPEND AOT_DEFINITIONS "SUPPORT_AOT_${CONFIG_NAME}")
|
||||
endmacro()
|
||||
|
||||
# Init lists
|
||||
INIT_LIST("FAMILY_NAME" "TESTED")
|
||||
INIT_LIST("PLATFORMS" "SUPPORTED")
|
||||
@@ -242,6 +246,8 @@ INIT_LIST("PLATFORMS" "SUPPORTED_HEAPLESS")
|
||||
INIT_PRODUCTS_LIST("TESTED")
|
||||
INIT_PRODUCTS_LIST("SUPPORTED")
|
||||
|
||||
set(AOT_DEFINITIONS)
|
||||
|
||||
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake${BRANCH_DIR_SUFFIX}setup_platform_flags.cmake)
|
||||
|
||||
# Get platform lists, flag definition and set default platforms
|
||||
|
||||
Reference in New Issue
Block a user