mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
Refactor: don't use global ProductHelper getter in ocl files 1/n
Related-To: NEO-6853 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
929e03ad8a
commit
14d524fe26
@@ -123,7 +123,7 @@ HWTEST_F(TimestampPacketTests, givenCrossCsrDependenciesWhenFillCsrDepsThenFlush
|
||||
|
||||
eventsRequest.fillCsrDependenciesForTimestampPacketContainer(csrDeps, mockCmdQ->getGpgpuCommandStreamReceiver(), CsrDependencies::DependenciesType::All);
|
||||
|
||||
const auto &productHelper = *NEO::ProductHelper::get(device->getHardwareInfo().platform.eProductFamily);
|
||||
const auto &productHelper = device->getProductHelper();
|
||||
if (productHelper.isDcFlushAllowed()) {
|
||||
EXPECT_TRUE(mockCmdQ2->getUltCommandStreamReceiver().flushBatchedSubmissionsCalled);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user