mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 07:44:16 +08:00
Remove an osInterface reference from csr
Resolves: NEO-4151 Change-Id: I69fec50bbe14245a91846281191e360ad99d6e1c Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
8a6cb1e5ca
commit
31029be263
@@ -153,6 +153,10 @@ LinearStream &CommandStreamReceiver::getCS(size_t minRequiredSize) {
|
||||
return commandStream;
|
||||
}
|
||||
|
||||
OSInterface *CommandStreamReceiver::getOSInterface() const {
|
||||
return executionEnvironment.rootDeviceEnvironments[rootDeviceIndex]->osInterface.get();
|
||||
}
|
||||
|
||||
void CommandStreamReceiver::cleanupResources() {
|
||||
waitForTaskCountAndCleanAllocationList(this->latestFlushedTaskCount, TEMPORARY_ALLOCATION);
|
||||
waitForTaskCountAndCleanAllocationList(this->latestFlushedTaskCount, REUSABLE_ALLOCATION);
|
||||
|
||||
Reference in New Issue
Block a user