mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Addresses regressions from the reverted merge of the tbx fault manager for host memory. Recursive locking of mutex caused deadlock. To fix, separate tbx fault data from base cpu fault data, allowing separate mutexes for each, eliminating recursive locks on the same mutex. By separating, we also help ensure that tbx-related changes don't affect the original cpu fault manager code paths. As an added safe guard preventing critical regressions and avoiding another auto-revert, the tbx fault manager is hidden behind a new debug flag which is disabled by default. Related-To: NEO-12268 Signed-off-by: Jack Myers <jack.myers@intel.com>
18 lines
561 B
CMake
18 lines
561 B
CMake
#
|
|
# Copyright (C) 2019-2025 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
set(NEO_CORE_PAGE_FAULT_MANAGER_WINDOWS
|
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
${CMAKE_CURRENT_SOURCE_DIR}/cpu_page_fault_manager_windows.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/cpu_page_fault_manager_windows.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/tbx_page_fault_manager_windows.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/tbx_page_fault_manager_windows.h
|
|
)
|
|
|
|
if(WIN32)
|
|
set_property(GLOBAL PROPERTY NEO_CORE_PAGE_FAULT_MANAGER_WINDOWS ${NEO_CORE_PAGE_FAULT_MANAGER_WINDOWS})
|
|
endif()
|