mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 00:03:14 +08:00
Cmake refactor part 1: fix dependencies with including os_inc.h
Remove some not needed includes Change-Id: I158ad663ccfcec4822e3768df9d05090c5e096f9
This commit is contained in:
committed by
sys_ocldev
parent
0178b9862f
commit
ea021f8d69
@@ -25,7 +25,7 @@
|
||||
#include "runtime/helpers/hw_info.h"
|
||||
#include "runtime/helpers/options.h"
|
||||
#include "runtime/memory_manager/os_agnostic_memory_manager.h"
|
||||
#include "runtime/os_interface/os_inc.h"
|
||||
#include "runtime/os_interface/os_inc_base.h"
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include <sstream>
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
|
||||
#pragma once
|
||||
#include "runtime/aub_mem_dump/aub_mem_dump.h"
|
||||
#include "runtime/helpers/completion_stamp.h"
|
||||
#include <string>
|
||||
|
||||
namespace OCLRT {
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include "runtime/command_stream/submissions_aggregator.h"
|
||||
#include "runtime/helpers/completion_stamp.h"
|
||||
#include "runtime/helpers/aligned_memory.h"
|
||||
#include "runtime/helpers/flush_stamp.h"
|
||||
#include "runtime/command_stream/csr_definitions.h"
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
@@ -43,9 +43,7 @@ class CommandStreamReceiverHw : public CommandStreamReceiver {
|
||||
|
||||
CommandStreamReceiverHw(const HardwareInfo &hwInfoIn) : hwInfo(hwInfoIn) {}
|
||||
|
||||
FlushStamp flush(BatchBuffer &batchBuffer, EngineType engineType, ResidencyContainer *allocationsForResidency) override {
|
||||
return flushStamp->peekStamp();
|
||||
}
|
||||
FlushStamp flush(BatchBuffer &batchBuffer, EngineType engineType, ResidencyContainer *allocationsForResidency) override;
|
||||
|
||||
CompletionStamp flushTask(LinearStream &commandStream, size_t commandStreamStart,
|
||||
const LinearStream &dsh, const LinearStream &ih,
|
||||
|
||||
@@ -36,6 +36,11 @@
|
||||
|
||||
namespace OCLRT {
|
||||
|
||||
template <typename GfxFamily>
|
||||
FlushStamp CommandStreamReceiverHw<GfxFamily>::flush(BatchBuffer &batchBuffer, EngineType engineType, ResidencyContainer *allocationsForResidency) {
|
||||
return flushStamp->peekStamp();
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
inline void CommandStreamReceiverHw<GfxFamily>::addBatchBufferEnd(LinearStream &commandStream, void **patchLocation) {
|
||||
typedef typename GfxFamily::MI_BATCH_BUFFER_END MI_BATCH_BUFFER_END;
|
||||
|
||||
Reference in New Issue
Block a user