mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Remove device index from command stream receiver
Change-Id: Ia84b0cb8e03260ec940ee0b175b12693e528b8aa Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
99e4928743
commit
8410bd6e18
@@ -17,10 +17,11 @@ class CommandStreamReceiverSimulatedHw : public CommandStreamReceiverSimulatedCo
|
||||
protected:
|
||||
using CommandStreamReceiverSimulatedCommonHw<GfxFamily>::CommandStreamReceiverSimulatedCommonHw;
|
||||
using CommandStreamReceiverSimulatedCommonHw<GfxFamily>::osContext;
|
||||
using CommandStreamReceiverSimulatedCommonHw<GfxFamily>::getDeviceIndex;
|
||||
|
||||
public:
|
||||
uint32_t getMemoryBank(GraphicsAllocation *allocation) const {
|
||||
return MemoryBanks::getBank(this->deviceIndex);
|
||||
return MemoryBanks::getBank(getDeviceIndex());
|
||||
}
|
||||
int getAddressSpace(int hint) {
|
||||
return AubMemDump::AddressSpaceValues::TraceNonlocal;
|
||||
|
||||
Reference in New Issue
Block a user