SWDEV-508632 - Align address to 2 MBs for hidden heap allocation. (#29)

Αυτή η υποβολή περιλαμβάνεται σε:
Patel, Jaydeepkumar authored and GitHub committed 2025-04-02 16:33:29 +05:30
1 γονέας 98f1db181c
υποβολή b5c9cbc236
10 files changed
+33 -24

No files matched your search

@@ -2044,7 +2044,7 @@ device::Memory* Device::createMemory(amd::Memory& owner) const {
}
// ================================================================================================
device::Memory* Device::createMemory(size_t size) const {
device::Memory* Device::createMemory(size_t size, size_t alignment) const {
auto buffer = new roc::Buffer(*this, size);
static constexpr bool LocalAlloc = true;
if ((buffer == nullptr) || !buffer->create(LocalAlloc)) {