mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 12:11:31 +08:00
refactor: remove not used helper method
Related-To: NEO-16250 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
728bdc2178
commit
735a2a5b94
@@ -275,11 +275,8 @@ CommandStreamReceiver &CommandQueue::selectCsrForBuiltinOperation(const CsrSelec
|
||||
aub_stream::EngineType preferredBcsEngineType = aub_stream::EngineType::NUM_ENGINES;
|
||||
switch (args.direction) {
|
||||
case TransferDirection::localToLocal: {
|
||||
const auto &clGfxCoreHelper = device->getRootDeviceEnvironment().getHelper<ClGfxCoreHelper>();
|
||||
preferBcs = clGfxCoreHelper.preferBlitterForLocalToLocalTransfers();
|
||||
if (auto flag = debugManager.flags.PreferCopyEngineForCopyBufferToBuffer.get(); flag != -1) {
|
||||
preferBcs = static_cast<bool>(flag);
|
||||
}
|
||||
preferBcs = debugManager.flags.PreferCopyEngineForCopyBufferToBuffer.getIfNotDefault(false);
|
||||
|
||||
if (preferBcs) {
|
||||
preferredBcsEngineType = aub_stream::EngineType::ENGINE_BCS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user