mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
refactor: Add dedicated method to check if any ULLS light enabled
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e3e01e94a0
commit
0a11a96a53
@@ -107,7 +107,7 @@ CommandQueue::CommandQueue(Context *context, ClDevice *device, const cl_queue_pr
|
||||
auto &compilerProductHelper = device->getCompilerProductHelper();
|
||||
auto &rootDeviceEnvironment = device->getRootDeviceEnvironment();
|
||||
|
||||
bcsAllowed = !device->getDevice().isAnyDirectSubmissionEnabled(true) &&
|
||||
bcsAllowed = !device->getDevice().isAnyDirectSubmissionLightEnabled() &&
|
||||
productHelper.isBlitterFullySupported(hwInfo) &&
|
||||
gfxCoreHelper.isSubDeviceEngineSupported(rootDeviceEnvironment, device->getDeviceBitfield(), aub_stream::EngineType::ENGINE_BCS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user