mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
Enable bindles builtins
Resolves: NEO-5138 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b697d75695
commit
76cb65476a
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2018-2021 Intel Corporation
|
||||
# Copyright (C) 2018-2022 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
@@ -14,7 +14,7 @@ add_subdirectory(registry)
|
||||
|
||||
list(APPEND BIND_MODES
|
||||
"bindful"
|
||||
# "bindless"
|
||||
"bindless"
|
||||
)
|
||||
|
||||
set(GENERATED_BUILTINS
|
||||
|
||||
@@ -190,6 +190,11 @@ macro(macro_for_each_core_type)
|
||||
set_target_properties(${target_name} PROPERTIES FOLDER "${SHARED_SOURCE_PROJECTS_FOLDER}/${SHARED_BUILTINS_PROJECTS_FOLDER}/${family_name_with_type}")
|
||||
foreach(MODE ${BIND_MODES})
|
||||
unset(BUILTINS_COMMANDS)
|
||||
|
||||
if((${MODE} STREQUAL "bindless") AND (NOT BUILD_WITH_L0 OR("${CORE_TYPE}" STREQUAL "GEN8")))
|
||||
continue()
|
||||
endif()
|
||||
|
||||
foreach(GENERATED_BUILTIN ${GENERATED_BUILTINS})
|
||||
compile_builtin(${CORE_TYPE} ${PLATFORM_TYPE} ${GENERATED_BUILTIN}.builtin_kernel ${NEO_BITS} "${BUILTIN_OPTIONS}" ${MODE})
|
||||
endforeach()
|
||||
|
||||
Reference in New Issue
Block a user