mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
feature: improve waiting and signaling Events via KMD calls
Related-To: NEO-8179 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7ffd151ac3
commit
aba1cd8f9c
@@ -15,7 +15,6 @@ set(NEO_CORE_COMMAND_CONTAINER
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/encode_alu_helper.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/encode_compute_mode_bdw_and_later.inl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/encode_compute_mode_tgllp_and_later.inl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/encode_interrupt_helper.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/encode_surface_state.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/implicit_scaling.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/implicit_scaling.h
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (C)2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "shared/source/debug_settings/debug_settings_manager.h"
|
||||
|
||||
namespace NEO {
|
||||
struct EncodeUserInterruptHelper {
|
||||
static constexpr int32_t afterSemaphoreMask = 0b01;
|
||||
static constexpr int32_t onSignalingFenceMask = 0b10;
|
||||
|
||||
static bool isOperationAllowed(int32_t mode) {
|
||||
const int32_t flagValue = NEO::DebugManager.flags.ProgramUserInterruptOnResolvedDependency.get();
|
||||
|
||||
return (flagValue != -1 && (flagValue & mode));
|
||||
}
|
||||
};
|
||||
} // namespace NEO
|
||||
Reference in New Issue
Block a user