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ファイル変更
+33 -24

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -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)) {