Enable large allocations by default for gfx8+ in GSL

Change-Id: Ie386fca59ea3f364d49d5390d87412f7fc869f8e
Cette révision appartient à :
Vladislav Sytchenko
2020-04-07 12:37:33 -04:00
Parent 2480be8413
révision a8e0f92bc4
+1 -1
Voir le fichier
@@ -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;