mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Add debug flag to override device enqueue support
Enabling the new debug flag will disable support of device enqueue feature. Related-To: NEO-4368 Change-Id: Icd17b44986bb682873364a2603633b7e44723a06 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
bc9e2e1c6a
commit
22f9893495
@@ -133,6 +133,7 @@ DECLARE_DEBUG_VARIABLE(bool, UseBindlessBuffers, false, "Force compiler to use b
|
||||
DECLARE_DEBUG_VARIABLE(bool, UseBindlessImages, false, "Force compiler to use bindless image addressing instead of stateful one")
|
||||
DECLARE_DEBUG_VARIABLE(bool, MakeAllBuffersResident, false, "Make all buffers resident after creation")
|
||||
DECLARE_DEBUG_VARIABLE(bool, EnableCopyOnlyCommandListsAndCommandQueues, false, "Enable copy only commandlists and commandQueues")
|
||||
DECLARE_DEBUG_VARIABLE(bool, DisableDeviceEnqueue, false, "Disable support for device enqueue")
|
||||
DECLARE_DEBUG_VARIABLE(int32_t, EnableIntelVme, -1, "-1: default, 0: disabled, 1: Enables cl_intel_motion_estimation extension")
|
||||
DECLARE_DEBUG_VARIABLE(int32_t, EnableIntelAdvancedVme, -1, "-1: default, 0: disabled, 1: Enables cl_intel_advanced_motion_estimation extension")
|
||||
DECLARE_DEBUG_VARIABLE(int32_t, EnableBlitterOperationsSupport, -1, "-1: default, 0: disable, 1: enable")
|
||||
|
||||
@@ -63,8 +63,6 @@ void Device::initializeCaps() {
|
||||
deviceInfo.profilingTimerResolution = getProfilingTimerResolution();
|
||||
deviceInfo.outProfilingTimerResolution = static_cast<size_t>(deviceInfo.profilingTimerResolution);
|
||||
|
||||
deviceInfo.maxOnDeviceQueues = 1;
|
||||
|
||||
// OpenCL 1.2 requires 128MB minimum
|
||||
deviceInfo.maxMemAllocSize = std::min(std::max(deviceInfo.globalMemSize / 2, static_cast<uint64_t>(128llu * MB)), this->hardwareCapabilities.maxMemAllocSize);
|
||||
|
||||
|
||||
@@ -37,7 +37,6 @@ struct DeviceInfo {
|
||||
uint32_t imageSupport;
|
||||
uint32_t maxClockFrequency;
|
||||
uint32_t maxFrontEndThreads;
|
||||
uint32_t maxOnDeviceQueues;
|
||||
uint32_t maxReadImageArgs;
|
||||
uint32_t maxSamplers;
|
||||
uint32_t maxWriteImageArgs;
|
||||
|
||||
Reference in New Issue
Block a user