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

@@ -335,7 +335,7 @@ TEST_F(Image2dFromBufferTest, givenBufferWhenImageFromBufferThenIsImageFromBuffe
HWTEST_F(Image2dFromBufferTest, givenBufferWhenImageFromBufferThenIsImageFromBufferSetAndAllocationTypeIsBufferNullptr) {
class MockGfxCoreHelperHw : public GfxCoreHelperHw<FamilyType> {
public:
bool checkResourceCompatibility(GraphicsAllocation &graphicsAllocation) override {
bool checkResourceCompatibility(GraphicsAllocation &graphicsAllocation) const override {
return false;
}
};