mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 23:56:39 +08:00
fix: use per product cache line size to align heaps
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e233cf5127
commit
1cd00b5b89
@@ -63,7 +63,6 @@ struct PVC : public XeHpcCoreFamily {
|
||||
}
|
||||
static constexpr uint32_t pvcSteppingBits = 0b111;
|
||||
|
||||
static constexpr uint32_t cacheLineSize = 0x40;
|
||||
static constexpr bool isDcFlushAllowed = false;
|
||||
};
|
||||
|
||||
|
||||
@@ -74,6 +74,7 @@ struct XeHpcCore {
|
||||
return bindlessSurfaceOffset << 6;
|
||||
}
|
||||
};
|
||||
static constexpr uint32_t cacheLineSize = 0x40;
|
||||
|
||||
static_assert(sizeof(DataPortBindlessSurfaceExtendedMessageDescriptor) == sizeof(DataPortBindlessSurfaceExtendedMessageDescriptor::packed), "");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user