mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
refactor: remove legacy code
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6f909113f9
commit
91f1f58a47
@@ -42,7 +42,7 @@ components:
|
|||||||
dest_dir: kernels_bin
|
dest_dir: kernels_bin
|
||||||
type: git
|
type: git
|
||||||
branch: kernels_bin
|
branch: kernels_bin
|
||||||
revision: 3093-2488
|
revision: 3093-2503
|
||||||
kmdaf:
|
kmdaf:
|
||||||
branch: kmdaf
|
branch: kmdaf
|
||||||
dest_dir: kmdaf
|
dest_dir: kmdaf
|
||||||
|
|||||||
@@ -31,15 +31,6 @@ if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
|||||||
list(APPEND __ocloc__options__ "-D DEBUG")
|
list(APPEND __ocloc__options__ "-D DEBUG")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
function(get_bits_for_stateless core_type platform_it_lower)
|
|
||||||
# Force 32bits compiling on gen9lp for stateless builtins
|
|
||||||
if((${core_type} STREQUAL "GEN9") AND ((${platform_it_lower} STREQUAL "glk") OR (${platform_it_lower} STREQUAL "bxt")))
|
|
||||||
set(BITS "32" PARENT_SCOPE)
|
|
||||||
else()
|
|
||||||
set(BITS ${NEO_BITS} PARENT_SCOPE)
|
|
||||||
endif()
|
|
||||||
endfunction()
|
|
||||||
|
|
||||||
function(get_builtin_options core_type neo_arch mode_type)
|
function(get_builtin_options core_type neo_arch mode_type)
|
||||||
if("${neo_arch}" STREQUAL "x32")
|
if("${neo_arch}" STREQUAL "x32")
|
||||||
set(BUILTIN_OPTIONS "${BUILTIN_OPTIONS_STATELESS}" PARENT_SCOPE)
|
set(BUILTIN_OPTIONS "${BUILTIN_OPTIONS_STATELESS}" PARENT_SCOPE)
|
||||||
@@ -208,7 +199,6 @@ macro(macro_for_each_platform)
|
|||||||
CORE_CONTAINS_PLATFORM("SUPPORTED_AUX_TRANSLATION" ${CORE_TYPE} ${PLATFORM_IT} AUX_TRANSLATION_SUPPORT)
|
CORE_CONTAINS_PLATFORM("SUPPORTED_AUX_TRANSLATION" ${CORE_TYPE} ${PLATFORM_IT} AUX_TRANSLATION_SUPPORT)
|
||||||
CORE_CONTAINS_PLATFORM("SUPPORTED_HEAPLESS" ${CORE_TYPE} ${PLATFORM_IT} HEAPLESS_SUPPORT)
|
CORE_CONTAINS_PLATFORM("SUPPORTED_HEAPLESS" ${CORE_TYPE} ${PLATFORM_IT} HEAPLESS_SUPPORT)
|
||||||
|
|
||||||
get_bits_for_stateless(${CORE_TYPE} ${PLATFORM_IT})
|
|
||||||
set(target_name builtins_${PLATFORM_IT_LOWER})
|
set(target_name builtins_${PLATFORM_IT_LOWER})
|
||||||
add_custom_target(${target_name})
|
add_custom_target(${target_name})
|
||||||
add_dependencies(builtins ${target_name})
|
add_dependencies(builtins ${target_name})
|
||||||
|
|||||||
Reference in New Issue
Block a user