Files
compute-runtime/unit_tests/mocks/mock_hw_helper.h
Milczarek, Slawomir 4816988a94 Add helper function to check if fence allocation is required
Related-To: NEO-3216

Change-Id: I19d7142052a2191f7c7086ba06ca6f5930652a8c
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2020-02-13 16:13:45 +01:00

22 lines
427 B
C++

/*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "core/helpers/hw_helper.h"
#include "core/helpers/hw_info.h"
namespace NEO {
template <typename GfxFamily>
class MockHwHelperWithFenceAllocation : public HwHelperHw<GfxFamily> {
public:
bool isFenceAllocationRequired(const HardwareInfo &hwInfo) const override {
return true;
}
};
} // namespace NEO