Remove OpenCL Single Buffer Allocation Restriction

Change-Id: I5c37a7f08b02ed74ec6984c6da9ffa5dc9bf0f52
Este cometimento está contido em:
Vladislav Sytchenko criou e Vladislav Sytchenko cometeu 2020-02-25 11:41:18 -05:00
1 ascendente 0eea98b755
cometimento 019d1feea5
2 ficheiros modificados
+2 -2

Não existem ficheiros que correspondam à sua pesquisa

+1 -1
Ver ficheiro
@@ -294,7 +294,7 @@ bool Settings::create(const CALdeviceattribs& calAttr, bool reportAsOCL12Device,
supportDepthsRGB_ = true;
}
if (use64BitPtr_) {
if ((GPU_ENABLE_LARGE_ALLOCATION) && (calAttr.isWorkstation) && (oclVersion_ == OpenCL20)) {
if ((GPU_ENABLE_LARGE_ALLOCATION) && (oclVersion_ == OpenCL20)) {
maxAllocSize_ = 64ULL * Gi;
} else {
maxAllocSize_ = 4048 * Mi;