Enable bindles builtins

Resolves: NEO-5138

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2022-02-02 08:43:45 +00:00
committed by Compute-Runtime-Automation
parent b697d75695
commit 76cb65476a
3 changed files with 45 additions and 3 deletions

View File

@@ -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

View File

@@ -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()