Enable large allocations by default for gfx8+ in GSL

Change-Id: Ie386fca59ea3f364d49d5390d87412f7fc869f8e


[ROCm/clr commit: a8e0f92bc4]
这个提交包含在:
Vladislav Sytchenko 于 2020-04-07 12:37:57 -04:00 提交
1 父节点 2baff63fc4
当前提交 040c4fbcc0
1 个文件已更改
+1 -1
@@ -294,7 +294,7 @@ bool Settings::create(const CALdeviceattribs& calAttr, bool reportAsOCL12Device,
supportDepthsRGB_ = true;
}
if (use64BitPtr_) {
if ((GPU_ENABLE_LARGE_ALLOCATION) && (oclVersion_ == OpenCL20)) {
if (GPU_ENABLE_LARGE_ALLOCATION && (viPlus_ || (oclVersion_ == OpenCL20))) {
maxAllocSize_ = 64ULL * Gi;
} else {
maxAllocSize_ = 4048 * Mi;