mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-01 04:23:00 +08:00
- 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>
39 lines
1.0 KiB
C++
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
|