performance: Add debug flag to set BCS split minimal size

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2023-05-16 11:15:43 +00:00
committed by Compute-Runtime-Automation
parent eb8e69d2d4
commit 0e758e4bb5
11 changed files with 44 additions and 3 deletions

View File

@@ -39,6 +39,9 @@ class CommandQueueHw : public CommandQueue {
ClDevice *device,
const cl_queue_properties *properties,
bool internalUsage) : BaseClass(context, device, properties, internalUsage) {
if (DebugManager.flags.SplitBcsSize.get() != -1) {
this->minimalSizeForBcsSplit = DebugManager.flags.SplitBcsSize.get() * MemoryConstants::kiloByte;
}
auto clPriority = getCmdQueueProperties<cl_queue_priority_khr>(properties, CL_QUEUE_PRIORITY_KHR);