mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Unify StreamProperties structs
Introduce functions allowing to copy values from one struct to another, while correctly setting values of isDirty field. Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
899af98240
commit
7eb81e9d85
@@ -12,11 +12,18 @@ namespace NEO {
|
||||
struct StateComputeModeProperties {
|
||||
StreamProperty isCoherencyRequired{};
|
||||
|
||||
void setProperties(bool requiresCoherency, uint32_t numGrfRequired, bool isMultiOsContextCapable,
|
||||
bool useGlobalAtomics, bool areMultipleSubDevicesInContext);
|
||||
void setProperties(const StateComputeModeProperties &properties);
|
||||
bool isDirty();
|
||||
void clearIsDirty();
|
||||
};
|
||||
|
||||
struct FrontEndProperties {
|
||||
void setProperties(bool isCooperativeKernel, const HardwareInfo &hwInfo);
|
||||
void setProperties(const FrontEndProperties &properties);
|
||||
bool isDirty();
|
||||
void clearIsDirty();
|
||||
};
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user