mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Track StateBaseAddresses from cmdQ and cmdList
Related-To: NEO-4637 Change-Id: Ia4b187df5f28fadf032ff24acb7ab32b05d0d261 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
8daf71070d
commit
a77f1de8a1
@@ -8,4 +8,10 @@ set(L0_SRCS_DLL
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/disallow_deferred_deleter.cpp
|
||||
)
|
||||
add_subdirectories()
|
||||
if(WIN32)
|
||||
append_sources_from_properties(L0_SRCS_DLL L0_SRCS_DLL_WINDOWS)
|
||||
else()
|
||||
append_sources_from_properties(L0_SRCS_DLL L0_SRCS_DLL_LINUX)
|
||||
endif()
|
||||
set_property(GLOBAL PROPERTY L0_SRCS_DLL ${L0_SRCS_DLL})
|
||||
12
level_zero/core/source/dll/linux/CMakeLists.txt
Normal file
12
level_zero/core/source/dll/linux/CMakeLists.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
set(L0_SRCS_DLL_LINUX
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/debugger_l0_linux.cpp
|
||||
)
|
||||
|
||||
set_property(GLOBAL PROPERTY L0_SRCS_DLL_LINUX ${L0_SRCS_DLL_LINUX})
|
||||
15
level_zero/core/source/dll/linux/debugger_l0_linux.cpp
Normal file
15
level_zero/core/source/dll/linux/debugger_l0_linux.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (C) 2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "level_zero/core/source/debugger/debugger_l0.h"
|
||||
|
||||
namespace L0 {
|
||||
std::unique_ptr<NEO::Debugger> DebuggerL0::create(NEO::Device *device) {
|
||||
return std::unique_ptr<DebuggerL0>(debuggerL0Factory[device->getHardwareInfo().platform.eRenderCoreFamily](device));
|
||||
}
|
||||
|
||||
} // namespace L0
|
||||
12
level_zero/core/source/dll/windows/CMakeLists.txt
Normal file
12
level_zero/core/source/dll/windows/CMakeLists.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
set(L0_SRCS_DLL_WINDOWS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/debugger_l0_windows.cpp
|
||||
)
|
||||
|
||||
set_property(GLOBAL PROPERTY L0_SRCS_DLL_WINDOWS ${L0_SRCS_DLL_WINDOWS})
|
||||
14
level_zero/core/source/dll/windows/debugger_l0_windows.cpp
Normal file
14
level_zero/core/source/dll/windows/debugger_l0_windows.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* Copyright (C) 2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "level_zero/core/source/debugger/debugger_l0.h"
|
||||
|
||||
namespace L0 {
|
||||
std::unique_ptr<NEO::Debugger> DebuggerL0::create(NEO::Device *device) {
|
||||
return std::unique_ptr<NEO::Debugger>(nullptr);
|
||||
}
|
||||
} // namespace L0
|
||||
Reference in New Issue
Block a user