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

This commit is contained in:
Patel, Jaydeepkumar authored and GitHub committed 2025-04-02 16:33:29 +05:30
1 parent 98f1db181c
commit b5c9cbc236
10 files changed
+33 -24

No files matched your search

+1 -1
Vedi File
@@ -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)) {