Extend copy engine selector data

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
Maciej Dziuban
2021-07-02 11:34:07 +00:00
committed by Compute-Runtime-Automation
parent d7a2a62ded
commit 6f6ee90aa5
8 changed files with 32 additions and 10 deletions

View File

@@ -132,7 +132,7 @@ const HardwareInfo &ClDevice::getHardwareInfo() const { return device.getHardwar
EngineControl &ClDevice::getEngine(aub_stream::EngineType engineType, EngineUsage engineUsage) { return device.getEngine(engineType, engineUsage); }
EngineControl &ClDevice::getDefaultEngine() { return device.getDefaultEngine(); }
EngineControl &ClDevice::getInternalEngine() { return device.getInternalEngine(); }
std::atomic<uint32_t> &ClDevice::getSelectorCopyEngine() { return device.getSelectorCopyEngine(); }
SelectorCopyEngine &ClDevice::getSelectorCopyEngine() { return device.getSelectorCopyEngine(); }
MemoryManager *ClDevice::getMemoryManager() const { return device.getMemoryManager(); }
GmmHelper *ClDevice::getGmmHelper() const { return device.getGmmHelper(); }
GmmClientContext *ClDevice::getGmmClientContext() const { return device.getGmmClientContext(); }

View File

@@ -36,6 +36,7 @@ struct EngineControl;
struct HardwareCapabilities;
struct HardwareInfo;
struct RootDeviceEnvironment;
struct SelectorCopyEngine;
template <>
struct OpenCLObjectMapper<_cl_device_id> {
@@ -69,7 +70,7 @@ class ClDevice : public BaseObject<_cl_device_id> {
EngineControl &getDefaultEngine();
EngineControl &getInternalEngine();
EngineControl *getInternalCopyEngine();
std::atomic<uint32_t> &getSelectorCopyEngine();
SelectorCopyEngine &getSelectorCopyEngine();
MemoryManager *getMemoryManager() const;
GmmHelper *getGmmHelper() const;
GmmClientContext *getGmmClientContext() const;