mirror of
https://github.com/intel/compute-runtime.git
synced 2025-11-10 05:49:51 +08:00
Fix calculating maxMemAllocSize
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f293b409ff
commit
42c5f2235b
@@ -302,6 +302,7 @@ void ClDevice::initializeCaps() {
|
||||
|
||||
deviceInfo.preferredInteropUserSync = 1u;
|
||||
|
||||
device.reduceMaxMemAllocSize();
|
||||
// OpenCL 1.2 requires 128MB minimum
|
||||
|
||||
deviceInfo.maxConstantBufferSize = sharedDeviceInfo.maxMemAllocSize;
|
||||
|
||||
Reference in New Issue
Block a user