mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
refactor direct submission: Pass command stream receiver to ctor
Related-To: NEO-6643 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
79b8051eab
commit
b5b8762faf
@ -835,7 +835,11 @@ bool CommandStreamReceiver::testTaskCountReady(volatile uint32_t *pollAddress, u
|
||||
}
|
||||
|
||||
const HardwareInfo &CommandStreamReceiver::peekHwInfo() const {
|
||||
return *executionEnvironment.rootDeviceEnvironments[rootDeviceIndex]->getHardwareInfo();
|
||||
return *peekRootDeviceEnvironment().getHardwareInfo();
|
||||
}
|
||||
|
||||
const RootDeviceEnvironment &CommandStreamReceiver::peekRootDeviceEnvironment() const {
|
||||
return *executionEnvironment.rootDeviceEnvironments[rootDeviceIndex];
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
Reference in New Issue
Block a user