mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
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:
committed by
Compute-Runtime-Automation
parent
e8b0024b5c
commit
91a9b925f7
@@ -139,7 +139,7 @@ class ClDevice : public BaseObject<_cl_device_id> {
|
||||
void initializeOpenclCAllVersions();
|
||||
void initializeOsSpecificCaps();
|
||||
void setupFp64Flags();
|
||||
const std::string getClDeviceName(const HardwareInfo &hwInfo) const;
|
||||
const std::string getClDeviceName() const;
|
||||
|
||||
Device &device;
|
||||
ClDevice &rootClDevice;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user