Refactor calculating maxMemAllocSize

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2021-08-10 18:52:02 +00:00
committed by Compute-Runtime-Automation
parent a4eb90a933
commit 217d067ad5
10 changed files with 35 additions and 42 deletions

View File

@@ -302,7 +302,6 @@ void ClDevice::initializeCaps() {
deviceInfo.preferredInteropUserSync = 1u;
device.reduceMaxMemAllocSize();
// OpenCL 1.2 requires 128MB minimum
deviceInfo.maxConstantBufferSize = sharedDeviceInfo.maxMemAllocSize;