Remove region/pool size limits for 902.
Temporary measure. Must be reverted once CRAT tables have been fixed.
Change-Id: Id2f2673edbf7b6fc5752f8d871042b4bf4de653c
[ROCm/ROCR-Runtime commit: b49e5b4917]
Tá an tiomantas seo le fáil i:
+3
-2
@@ -136,8 +136,9 @@ MemoryRegion::MemoryRegion(bool fine_grain, bool full_profile, core::Agent* owne
|
||||
(full_profile) ? os::GetUserModeVirtualMemorySize() : kGpuVmSize;
|
||||
}
|
||||
|
||||
max_single_alloc_size_ =
|
||||
AlignDown(static_cast<size_t>(GetPhysicalSize()), kPageSize_);
|
||||
// Temporary workaround for CRAT issue.
|
||||
max_single_alloc_size_ = AlignDown(size_t(-1), kPageSize_);
|
||||
// max_single_alloc_size_ = AlignDown(static_cast<size_t>(GetPhysicalSize()), kPageSize_);
|
||||
|
||||
mem_flag_.ui32.CoarseGrain = (fine_grain) ? 0 : 1;
|
||||
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir