Files
compute-runtime/shared/source/os_interface/windows/external_semaphore_windows.h
Raiyan Latif b8157a2547 fix: Fix ULTs & signal path in External Semaphore
- Temporarily disables Multi-Threaded ULTs, to be
re-enabled in a separate dedicated test binary

Related-To: NEO-11488

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-01-09 07:40:16 +01:00

39 lines
1.0 KiB
C++

/*
* Copyright (C) 2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/device/device.h"
#include "shared/source/helpers/debug_helpers.h"
#include "shared/source/helpers/non_copyable_or_moveable.h"
#include "shared/source/helpers/topology_map.h"
#include "shared/source/os_interface/external_semaphore.h"
#include "shared/source/os_interface/os_interface.h"
#include "shared/source/os_interface/windows/d3dkmthk_wrapper.h"
#include <limits>
#include <memory>
#include <string>
namespace NEO {
class ExternalSemaphoreWindows : public ExternalSemaphore {
public:
static std::unique_ptr<ExternalSemaphoreWindows> create(OSInterface *osInterface);
~ExternalSemaphoreWindows() override{};
bool importSemaphore(void *extHandle, int fd, uint32_t flags, const char *name, Type type, bool isNative) override;
bool enqueueWait(uint64_t *fenceValue) override;
bool enqueueSignal(uint64_t *fenceValue) override;
protected:
D3DKMT_HANDLE syncHandle;
};
} // namespace NEO