Enable large allocations by default for gfx8+ in GSL

Change-Id: Ie386fca59ea3f364d49d5390d87412f7fc869f8e
이 커밋은 다음에 포함됨:
Vladislav Sytchenko가 2020-04-07 12:37:57 -04:00를 커밋했습니다
1 부모 2480be8413
커밋 a8e0f92bc4
1 파일이 변경됨
+1 -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;