mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
performance: Add debug flag to set BCS split minimal size
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
eb8e69d2d4
commit
0e758e4bb5
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user