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

Tá an tiomantas seo le fáil i:
Patel, Jaydeepkumar údaraithe agus GitHub tiomanta 2025-04-02 16:33:29 +05:30
1 tuismitheoir 98f1db181c
tiomantas b5c9cbc236
10 comhad athraithe
+33 -24

Níor tháinig aon chomhaid le do chuardach

+1 -1
Féach ar an gComhad
@@ -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)) {