mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
Add default initializers for DeviceMapping members
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
40e00e5c08
commit
b4b1fb97bd
@@ -48,11 +48,11 @@ struct DeviceProduct {
|
||||
};
|
||||
|
||||
struct DeviceMapping {
|
||||
PRODUCT_CONFIG config;
|
||||
const NEO::HardwareInfo *hwInfo;
|
||||
const std::vector<unsigned short> *deviceIds;
|
||||
void (*setupFeatureAndWorkaroundTable)(NEO::HardwareInfo *hwInfo);
|
||||
unsigned int revId;
|
||||
PRODUCT_CONFIG config = UNKNOWN_ISA;
|
||||
const NEO::HardwareInfo *hwInfo = nullptr;
|
||||
const std::vector<unsigned short> *deviceIds = nullptr;
|
||||
void (*setupFeatureAndWorkaroundTable)(NEO::HardwareInfo *hwInfo) = nullptr;
|
||||
unsigned int revId = 0U;
|
||||
|
||||
bool operator==(const DeviceMapping &rhs) {
|
||||
return config == rhs.config && hwInfo == rhs.hwInfo && setupFeatureAndWorkaroundTable == rhs.setupFeatureAndWorkaroundTable && revId == rhs.revId;
|
||||
|
||||
Reference in New Issue
Block a user