mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 19:32:25 +08:00
Remove default parameter
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
945a7cf905
commit
f838dc7644
@@ -78,7 +78,7 @@ void PrintfHandler::makeResident(CommandStreamReceiver &commandStreamReceiver) {
|
||||
void PrintfHandler::printEnqueueOutput() {
|
||||
auto &helper = HwHelper::get(device.getHardwareInfo().platform.eRenderCoreFamily);
|
||||
if (helper.allowStatelessCompression(device.getHardwareInfo())) {
|
||||
auto &bcsEngine = device.getEngine(EngineHelpers::getBcsEngineType(device.getHardwareInfo(), device.getSelectorCopyEngine()), EngineUsage::Regular);
|
||||
auto &bcsEngine = device.getEngine(EngineHelpers::getBcsEngineType(device.getHardwareInfo(), device.getSelectorCopyEngine(), true), EngineUsage::Regular);
|
||||
BlitPropertiesContainer blitPropertiesContainer;
|
||||
blitPropertiesContainer.push_back(
|
||||
BlitProperties::constructPropertiesForAuxTranslation(AuxTranslationDirection::AuxToNonAux,
|
||||
|
||||
@@ -17,5 +17,5 @@ using EngineNodeHelperTestsXeHPPlus = ::Test<ClDeviceFixture>;
|
||||
HWCMDTEST_F(IGFX_XE_HP_CORE, EngineNodeHelperTestsXeHPPlus, WhenGetBcsEngineTypeIsCalledThenBcsEngineIsReturned) {
|
||||
const auto hwInfo = pDevice->getHardwareInfo();
|
||||
auto &selectorCopyEngine = pDevice->getDeviceById(0)->getSelectorCopyEngine();
|
||||
EXPECT_EQ(aub_stream::EngineType::ENGINE_BCS, EngineHelpers::getBcsEngineType(hwInfo, selectorCopyEngine));
|
||||
EXPECT_EQ(aub_stream::EngineType::ENGINE_BCS, EngineHelpers::getBcsEngineType(hwInfo, selectorCopyEngine, false));
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ HWTEST_F(PrintfHandlerTests, givenEnabledStatelessCompressionWhenPrintEnqueueOut
|
||||
|
||||
printfHandler->printEnqueueOutput();
|
||||
|
||||
auto &bcsEngine = device->getEngine(EngineHelpers::getBcsEngineType(device->getHardwareInfo(), device->getSelectorCopyEngine()), EngineUsage::Regular);
|
||||
auto &bcsEngine = device->getEngine(EngineHelpers::getBcsEngineType(device->getHardwareInfo(), device->getSelectorCopyEngine(), true), EngineUsage::Regular);
|
||||
auto bcsCsr = static_cast<UltCommandStreamReceiver<FamilyType> *>(bcsEngine.commandStreamReceiver);
|
||||
|
||||
if (enable > 0) {
|
||||
|
||||
@@ -192,7 +192,7 @@ BlitOperationResult BlitHelper::blitMemoryToAllocationBanks(const Device &device
|
||||
auto pDeviceForBlit = pRootDevice->getDeviceById(tileId);
|
||||
|
||||
auto &selectorCopyEngine = pDeviceForBlit->getSelectorCopyEngine();
|
||||
auto bcsEngine = pDeviceForBlit->tryGetEngine(EngineHelpers::getBcsEngineType(hwInfo, selectorCopyEngine), EngineUsage::Regular);
|
||||
auto bcsEngine = pDeviceForBlit->tryGetEngine(EngineHelpers::getBcsEngineType(hwInfo, selectorCopyEngine, true), EngineUsage::Regular);
|
||||
if (!bcsEngine) {
|
||||
return BlitOperationResult::Unsupported;
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ struct EngineDescriptor {
|
||||
namespace EngineHelpers {
|
||||
bool isCcs(aub_stream::EngineType engineType);
|
||||
bool isBcs(aub_stream::EngineType engineType);
|
||||
aub_stream::EngineType getBcsEngineType(const HardwareInfo &hwInfo, SelectorCopyEngine &selectorCopyEngine, bool internalUsage = false);
|
||||
aub_stream::EngineType getBcsEngineType(const HardwareInfo &hwInfo, SelectorCopyEngine &selectorCopyEngine, bool internalUsage);
|
||||
void releaseBcsEngineType(aub_stream::EngineType engineType, SelectorCopyEngine &selectorCopyEngine);
|
||||
aub_stream::EngineType remapEngineTypeToHwSpecific(aub_stream::EngineType inputType, const HardwareInfo &hwInfo);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user