Files
compute-runtime/shared
Fabian Zwoliński 0cf5b36b26 fix: zero-initialize chunks from pool in allocateGlobalsSurface
When reusing memory chunks from the usm allocation pool,
they may contain stale data from previous executions.

This commit ensures that pooled allocations are
properly zero-initialized before use by:
- Transferring init data using transferMemoryToAllocation (unchanged)
- Zero-initializing the BSS section via memsetAllocation when present
- Zero-initializing entire totalSize for BSS-only allocations

This prevents stale data from affecting program execution when
chunks are reused from the pool.

HSD-13013893112, HSD-18043476772,
HSD-18043481899, HSD-18043487849,
HSD-18043489182

Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-10-14 16:37:51 +02:00
..