mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
Refactor around cache flush and command queue
Change-Id: I277e27cbc60fbbb015c0024f171697408879ec0b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2018 Intel Corporation
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -55,8 +55,12 @@ class CommandQueueHw : public CommandQueue {
|
||||
getCommandStreamReceiver().overrideDispatchPolicy(DispatchMode::BatchedDispatch);
|
||||
getCommandStreamReceiver().enableNTo1SubmissionModel();
|
||||
}
|
||||
|
||||
this->requiresCacheFlushAfterWalker = CommandQueueHw<GfxFamily>::requiresCacheFlushAfterWalkerBasedOnProperties(properties);
|
||||
}
|
||||
|
||||
static bool requiresCacheFlushAfterWalkerBasedOnProperties(const cl_queue_properties *properties);
|
||||
|
||||
static CommandQueue *create(Context *context,
|
||||
Device *device,
|
||||
const cl_queue_properties *properties) {
|
||||
|
||||
Reference in New Issue
Block a user