Cmake refactor part 1: fix dependencies with including os_inc.h

Remove some not needed includes

Change-Id: I158ad663ccfcec4822e3768df9d05090c5e096f9
This commit is contained in:
Mateusz Jablonski
2018-02-02 10:33:31 +01:00
committed by sys_ocldev
parent 0178b9862f
commit ea021f8d69
48 changed files with 64 additions and 81 deletions

View File

@@ -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>

View File

@@ -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 {

View File

@@ -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>

View File

@@ -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,

View File

@@ -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;