mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Extract functions to command_queue_hw_base.inl
Change-Id: I172c5d29cc81c4f1a95f6475ec261975ee21fab6 Related-To: NEO-3016 Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
a3ad3b9fa2
commit
3da9aebf7d
@@ -9,7 +9,8 @@ set(RUNTIME_SRCS_COMMAND_QUEUE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/command_queue.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/command_queue.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/command_queue_hw.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/command_queue_hw.inl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/command_queue_hw_base.inl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/command_queue_hw_bdw_plus.inl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cpu_data_transfer_handler.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_barrier.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_common.h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
* Copyright (C) 2019 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -41,18 +41,5 @@ void CommandQueueHw<Family>::notifyEnqueueReadImage(Image *image, bool blockingR
|
||||
image->getGraphicsAllocation()->setAllocDumpable(blockingRead);
|
||||
}
|
||||
}
|
||||
template <typename Family>
|
||||
bool CommandQueueHw<Family>::requiresCacheFlushAfterWalkerBasedOnProperties(const cl_queue_properties *properties) {
|
||||
return false;
|
||||
}
|
||||
template <typename GfxFamily>
|
||||
void CommandQueueHw<GfxFamily>::submitCacheFlush(Surface **surfaces,
|
||||
size_t numSurfaces,
|
||||
LinearStream *commandStream,
|
||||
uint64_t postSyncAddress) {
|
||||
}
|
||||
template <typename GfxFamily>
|
||||
bool CommandQueueHw<GfxFamily>::isCacheFlushCommand(uint32_t commandType) {
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
29
runtime/command_queue/command_queue_hw_bdw_plus.inl
Normal file
29
runtime/command_queue/command_queue_hw_bdw_plus.inl
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "runtime/command_queue/command_queue_hw_base.inl"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
template <typename GfxFamily>
|
||||
bool CommandQueueHw<GfxFamily>::requiresCacheFlushAfterWalkerBasedOnProperties(const cl_queue_properties *properties) {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
void CommandQueueHw<GfxFamily>::submitCacheFlush(Surface **surfaces,
|
||||
size_t numSurfaces,
|
||||
LinearStream *commandStream,
|
||||
uint64_t postSyncAddress) {
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
bool CommandQueueHw<GfxFamily>::isCacheFlushCommand(uint32_t commandType) {
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "runtime/command_queue/command_queue_hw.h"
|
||||
#include "runtime/command_queue/command_queue_hw.inl"
|
||||
#include "runtime/command_queue/command_queue_hw_bdw_plus.inl"
|
||||
#include "runtime/command_queue/enqueue_resource_barrier.h"
|
||||
#include "runtime/memory_manager/svm_memory_manager.h"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "runtime/command_queue/command_queue_hw.h"
|
||||
#include "runtime/command_queue/command_queue_hw.inl"
|
||||
#include "runtime/command_queue/command_queue_hw_bdw_plus.inl"
|
||||
#include "runtime/command_queue/enqueue_resource_barrier.h"
|
||||
#include "runtime/memory_manager/svm_memory_manager.h"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "runtime/command_queue/command_queue_hw.h"
|
||||
#include "runtime/command_queue/command_queue_hw.inl"
|
||||
#include "runtime/command_queue/command_queue_hw_bdw_plus.inl"
|
||||
#include "runtime/command_queue/enqueue_resource_barrier.h"
|
||||
#include "runtime/memory_manager/svm_memory_manager.h"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "runtime/command_queue/command_queue_hw.h"
|
||||
#include "runtime/command_queue/command_queue_hw.inl"
|
||||
#include "runtime/command_queue/command_queue_hw_bdw_plus.inl"
|
||||
#include "runtime/command_queue/enqueue_resource_barrier.h"
|
||||
#include "runtime/memory_manager/svm_memory_manager.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user