2023-09-20 13:54:17 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright (C) 2023 Intel Corporation
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
#include "shared/source/release_helper/release_helper.h"
|
|
|
|
|
#include "shared/test/common/test_macros/mock_method_macros.h"
|
|
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
class MockReleaseHelper : public ReleaseHelper {
|
|
|
|
|
public:
|
|
|
|
|
MockReleaseHelper() : ReleaseHelper(0) {}
|
|
|
|
|
ADDMETHOD_CONST_NOBASE(isAdjustWalkOrderAvailable, bool, false, ());
|
|
|
|
|
ADDMETHOD_CONST_NOBASE(isMatrixMultiplyAccumulateSupported, bool, false, ());
|
|
|
|
|
ADDMETHOD_CONST_NOBASE(isPipeControlPriorToNonPipelinedStateCommandsWARequired, bool, false, ());
|
2023-11-17 12:10:26 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(isPipeControlPriorToPipelineSelectWaRequired, bool, false, ());
|
2023-09-20 13:54:17 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(isProgramAllStateComputeCommandFieldsWARequired, bool, false, ());
|
|
|
|
|
ADDMETHOD_CONST_NOBASE(isPrefetchDisablingRequired, bool, false, ());
|
|
|
|
|
ADDMETHOD_CONST_NOBASE(isSplitMatrixMultiplyAccumulateSupported, bool, false, ());
|
|
|
|
|
ADDMETHOD_CONST_NOBASE(isBFloat16ConversionSupported, bool, false, ());
|
2023-07-18 11:48:29 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(isAuxSurfaceModeOverrideRequired, bool, false, ());
|
2023-09-20 13:54:17 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(getProductMaxPreferredSlmSize, int, 0, (int preferredEnumValue));
|
|
|
|
|
ADDMETHOD_CONST_NOBASE(getMediaFrequencyTileIndex, bool, false, (uint32_t & tileIndex));
|
|
|
|
|
ADDMETHOD_CONST_NOBASE(isResolvingSubDeviceIDNeeded, bool, false, ());
|
|
|
|
|
ADDMETHOD_CONST_NOBASE(isCachingOnCpuAvailable, bool, false, ());
|
|
|
|
|
ADDMETHOD_CONST_NOBASE(shouldAdjustDepth, bool, false, ());
|
2023-09-20 13:08:46 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(isDirectSubmissionSupported, bool, false, ());
|
2023-09-15 10:28:08 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(isRcsExposureDisabled, bool, false, ());
|
2023-09-20 13:08:46 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(getPreferredAllocationMethod, std::optional<GfxMemoryAllocationMethod>, std::nullopt, (AllocationType allocationType));
|
2023-09-22 16:06:50 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(getSupportedNumGrfs, std::vector<uint32_t>, {128}, ());
|
2023-10-02 13:19:46 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(isBindlessAddressingDisabled, bool, true, ());
|
2023-11-16 14:24:12 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(getNumThreadsPerEu, uint32_t, 8u, ());
|
2023-09-20 13:54:17 +00:00
|
|
|
};
|
2023-09-20 13:08:46 +00:00
|
|
|
} // namespace NEO
|