mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 07:00:17 +08:00
Adding wsl_compute_helper
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a214497276
commit
b80a51e5bf
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020 Intel Corporation
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -8,8 +8,8 @@
|
||||
#pragma once
|
||||
#include "shared/source/direct_submission/direct_submission_hw.h"
|
||||
#include "shared/source/os_interface/windows/windows_defs.h"
|
||||
|
||||
struct COMMAND_BUFFER_HEADER_REC;
|
||||
typedef struct COMMAND_BUFFER_HEADER_REC COMMAND_BUFFER_HEADER;
|
||||
|
||||
namespace NEO {
|
||||
|
||||
@@ -37,6 +37,6 @@ class WddmDirectSubmission : public DirectSubmissionHw<GfxFamily, Dispatcher> {
|
||||
OsContextWin *osContextWin;
|
||||
Wddm *wddm;
|
||||
MonitoredFence ringFence;
|
||||
std::unique_ptr<COMMAND_BUFFER_HEADER_REC> commandBufferHeader;
|
||||
std::unique_ptr<COMMAND_BUFFER_HEADER> commandBufferHeader;
|
||||
};
|
||||
} // namespace NEO
|
||||
|
||||
@@ -21,11 +21,6 @@ namespace NEO {
|
||||
// Initialize COMMAND_BUFFER_HEADER Type PatchList Streamer Perf Tag
|
||||
DECLARE_COMMAND_BUFFER(CommandBufferHeader, UMD_OCL, FALSE, FALSE, PERFTAG_OCL);
|
||||
|
||||
template <typename GfxFamily, typename Dispatcher>
|
||||
inline std::unique_ptr<DirectSubmissionHw<GfxFamily, Dispatcher>> DirectSubmissionHw<GfxFamily, Dispatcher>::create(Device &device, OsContext &osContext) {
|
||||
return std::make_unique<WddmDirectSubmission<GfxFamily, Dispatcher>>(device, osContext);
|
||||
}
|
||||
|
||||
template <typename GfxFamily, typename Dispatcher>
|
||||
WddmDirectSubmission<GfxFamily, Dispatcher>::WddmDirectSubmission(Device &device,
|
||||
OsContext &osContext)
|
||||
|
||||
Reference in New Issue
Block a user