mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
Allow Device creating multiple CSRs [3/n]
Add CSR from Device to CommandQueue Change-Id: Iaccf3c73d25e357242837677777d0513e81f520e Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
fbf0d44fff
commit
3ad33bf1b8
@@ -250,4 +250,10 @@ GFXCORE_FAMILY Device::getRenderCoreFamily() const {
|
||||
bool Device::isSourceLevelDebuggerActive() const {
|
||||
return deviceInfo.sourceLevelDebuggerActive;
|
||||
}
|
||||
|
||||
void Device::initMaxPowerSavingMode() {
|
||||
for (auto &engine : engines) {
|
||||
engine.commandStreamReceiver->peekKmdNotifyHelper()->initMaxPowerSavingMode();
|
||||
}
|
||||
}
|
||||
} // namespace OCLRT
|
||||
|
||||
@@ -67,13 +67,14 @@ class Device : public BaseObject<_cl_device_id> {
|
||||
return engineType;
|
||||
}
|
||||
|
||||
void initMaxPowerSavingMode();
|
||||
void *getSLMWindowStartAddress();
|
||||
void prepareSLMWindow();
|
||||
void setForce32BitAddressing(bool value) {
|
||||
deviceInfo.force32BitAddressess = value;
|
||||
}
|
||||
|
||||
CommandStreamReceiver &getCommandStreamReceiver();
|
||||
EngineControl &getEngine(size_t engineId);
|
||||
|
||||
volatile uint32_t *getTagAddress() const;
|
||||
|
||||
@@ -176,8 +177,8 @@ inline void Device::getCap(const void *&src,
|
||||
retSize = size = DeviceInfoTable::Map<Param>::size;
|
||||
}
|
||||
|
||||
inline CommandStreamReceiver &Device::getCommandStreamReceiver() {
|
||||
return *engines[0].commandStreamReceiver;
|
||||
inline EngineControl &Device::getEngine(size_t engineId) {
|
||||
return engines[engineId];
|
||||
}
|
||||
|
||||
inline volatile uint32_t *Device::getTagAddress() const {
|
||||
|
||||
Reference in New Issue
Block a user