P4 to Git Change 1169722 by rili@rili_opencl_stg on 2015/07/10 17:39:21
EPR #419313 - Disable large allocaiton for Win 10.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#313 edit
[ROCm/clr commit: 4285620de2]
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include "versionhelpers.h"
|
||||
#endif
|
||||
|
||||
namespace gpu {
|
||||
|
||||
/*! \brief information for adjusting maximum workload time
|
||||
@@ -321,7 +325,11 @@ Settings::create(
|
||||
supportDepthsRGB_ = true;
|
||||
}
|
||||
if (use64BitPtr_) {
|
||||
if ((GPU_ENABLE_LARGE_ALLOCATION) && (calAttr.isWorkstation)) {
|
||||
if ((GPU_ENABLE_LARGE_ALLOCATION) && (calAttr.isWorkstation)
|
||||
#if defined(_WIN32)
|
||||
&& (!IsWindows10OrGreater())
|
||||
#endif
|
||||
) {
|
||||
maxAllocSize_ = 64ULL * Gi;
|
||||
}
|
||||
else {
|
||||
|
||||
Verwijs in nieuw issue
Block a user