Enable large allocations by default for gfx8+ in GSL
Change-Id: Ie386fca59ea3f364d49d5390d87412f7fc869f8e
[ROCm/clr commit: a8e0f92bc4]
Esse commit está contido em:
1 pai
2baff63fc4
commit
040c4fbcc0
1 file changed
+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;
|
||||
|
||||
Reference in new issue
Bloquear um usuário