Files
compute-runtime/runtime/command_stream/command_stream_receiver_simulated_common_hw.h
Milczarek, Slawomir aa18a62d70 A partial unification of AUB and TBX CSR classes
This commit moves initialization of global MMIOs from AUB CSR to Simulated CSR

Change-Id: I93a612d4f0c82e7135287f6508870190790141bc
2018-11-10 13:12:22 -08:00

36 lines
821 B
C++

/*
* Copyright (C) 2018 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "runtime/command_stream/command_stream_receiver_hw.h"
#include "runtime/memory_manager/memory_banks.h"
#include "runtime/memory_manager/physical_address_allocator.h"
namespace AubMemDump {
struct AubStream;
}
namespace OCLRT {
class GraphicsAllocation;
template <typename GfxFamily>
class CommandStreamReceiverSimulatedCommonHw : public CommandStreamReceiverHw<GfxFamily> {
using CommandStreamReceiverHw<GfxFamily>::CommandStreamReceiverHw;
public:
uint64_t getGTTBits() const {
return 0u;
}
void initGlobalMMIO();
void initAdditionalMMIO();
AubMemDump::AubStream *stream;
protected:
PhysicalAddressAllocator *createPhysicalAddressAllocator();
};
} // namespace OCLRT