Refactor: dont use global gfxCoreHelper getter in ocl files 2/n

Realated-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2022-12-21 17:08:05 +00:00
committed by Compute-Runtime-Automation
parent 884d286d60
commit 31bb84acd9
11 changed files with 47 additions and 46 deletions

View File

@@ -67,7 +67,7 @@ struct MultiDeviceKernelArgBufferTest : public ::testing::Test {
kernelInfos[1] = pKernelInfosStorage[0].get();
kernelInfos[2] = pKernelInfosStorage[1].get();
auto &gfxCoreHelper = GfxCoreHelper::get(renderCoreFamily);
auto &gfxCoreHelper = pContext->getDevice(0)->getGfxCoreHelper();
for (auto i = 0u; i < 2; i++) {
pKernelInfosStorage[i]->heapInfo.pSsh = pSshLocal[i];