mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
Move Device::getProductAbbrev method to MockDevice
Change-Id: Ia146d0198039b526e563a44d76710ac175ea3b88 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
@@ -177,10 +177,6 @@ const DeviceInfo &Device::getDeviceInfo() const {
|
||||
return deviceInfo;
|
||||
}
|
||||
|
||||
const char *Device::getProductAbbrev() const {
|
||||
return hardwarePrefix[getHardwareInfo().platform.eProductFamily];
|
||||
}
|
||||
|
||||
double Device::getProfilingTimerResolution() {
|
||||
return osTime->getDynamicDeviceTimerResolution(getHardwareInfo());
|
||||
}
|
||||
|
||||
@@ -57,8 +57,6 @@ class Device : public BaseObject<_cl_device_id> {
|
||||
EngineControl &getEngine(aub_stream::EngineType engineType, bool lowPriority);
|
||||
EngineControl &getDefaultEngine();
|
||||
|
||||
const char *getProductAbbrev() const;
|
||||
|
||||
// This helper template is meant to simplify getDeviceInfo
|
||||
template <cl_device_info Param>
|
||||
void getCap(const void *&src,
|
||||
|
||||
Reference in New Issue
Block a user