fix: Append device id to ambigous device names

Related-To: NEO-7537
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-01-13 08:35:43 +01:00
committed by Compute-Runtime-Automation
parent e8b0024b5c
commit 91a9b925f7
10 changed files with 56 additions and 28 deletions

View File

@@ -79,7 +79,7 @@ void ClDevice::initializeCaps() {
if (DebugManager.flags.OverrideDeviceName.get() != "unk") {
name.assign(DebugManager.flags.OverrideDeviceName.get().c_str());
} else {
name = getClDeviceName(hwInfo);
name = getClDeviceName();
if (driverInfo) {
name.assign(driverInfo->getDeviceName(name).c_str());
}
@@ -449,7 +449,7 @@ void ClDevice::initializeOpenclCAllVersions() {
}
}
const std::string ClDevice::getClDeviceName(const HardwareInfo &hwInfo) const {
const std::string ClDevice::getClDeviceName() const {
return this->getDevice().getDeviceInfo().name;
}