mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Refactor direct submission: remove csr from members
create translation layer to obtain needed params Related-To: NEO-6643 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
10be59cb15
commit
4cb46ee15c
@@ -19,7 +19,7 @@ class Wddm;
|
||||
template <typename GfxFamily, typename Dispatcher>
|
||||
class WddmDirectSubmission : public DirectSubmissionHw<GfxFamily, Dispatcher> {
|
||||
public:
|
||||
WddmDirectSubmission(const CommandStreamReceiver &commandStreamReceiver);
|
||||
WddmDirectSubmission(const DirectSubmissionInputParams &inputParams);
|
||||
|
||||
~WddmDirectSubmission();
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@ namespace NEO {
|
||||
DECLARE_COMMAND_BUFFER(CommandBufferHeader, UMD_OCL, FALSE, FALSE, PERFTAG_OCL);
|
||||
|
||||
template <typename GfxFamily, typename Dispatcher>
|
||||
WddmDirectSubmission<GfxFamily, Dispatcher>::WddmDirectSubmission(const CommandStreamReceiver &commandStreamReceiver)
|
||||
: DirectSubmissionHw<GfxFamily, Dispatcher>(commandStreamReceiver) {
|
||||
WddmDirectSubmission<GfxFamily, Dispatcher>::WddmDirectSubmission(const DirectSubmissionInputParams &inputParams)
|
||||
: DirectSubmissionHw<GfxFamily, Dispatcher>(inputParams) {
|
||||
osContextWin = reinterpret_cast<OsContextWin *>(&this->osContext);
|
||||
wddm = osContextWin->getWddm();
|
||||
commandBufferHeader = std::make_unique<COMMAND_BUFFER_HEADER_REC>();
|
||||
|
||||
Reference in New Issue
Block a user