SWDEV-508632 - Align address to 2 MBs for hidden heap allocation. (#29)
このコミットが含まれているのは:
1 親
98f1db181c
コミット
b5c9cbc236
10ファイル変更
+33
-24
検索条件に一致するファイルはありません
@@ -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)) {
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする