mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
Refactor calculating maxMemAllocSize
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a4eb90a933
commit
217d067ad5
@@ -302,7 +302,6 @@ 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