2023-09-20 21:54:17 +08:00
|
|
|
/*
|
2024-01-26 01:07:26 +08:00
|
|
|
* Copyright (C) 2023-2024 Intel Corporation
|
2023-09-20 21:54:17 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2024-03-05 23:43:36 +08:00
|
|
|
#include "shared/source/helpers/constants.h"
|
2023-09-20 21:54:17 +08:00
|
|
|
#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, ());
|
2023-12-19 14:28:01 +08:00
|
|
|
ADDMETHOD_CONST_NOBASE(isDotProductAccumulateSystolicSupported, bool, false, ());
|
2023-09-20 21:54:17 +08:00
|
|
|
ADDMETHOD_CONST_NOBASE(isPipeControlPriorToNonPipelinedStateCommandsWARequired, bool, false, ());
|
2023-11-17 20:10:26 +08:00
|
|
|
ADDMETHOD_CONST_NOBASE(isPipeControlPriorToPipelineSelectWaRequired, bool, false, ());
|
2023-09-20 21:54:17 +08: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 19:48:29 +08:00
|
|
|
ADDMETHOD_CONST_NOBASE(isAuxSurfaceModeOverrideRequired, bool, false, ());
|
2023-09-20 21:54:17 +08: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(shouldAdjustDepth, bool, false, ());
|
2023-09-20 21:08:46 +08:00
|
|
|
ADDMETHOD_CONST_NOBASE(isDirectSubmissionSupported, bool, false, ());
|
2023-09-15 18:28:08 +08:00
|
|
|
ADDMETHOD_CONST_NOBASE(isRcsExposureDisabled, bool, false, ());
|
2023-09-23 00:06:50 +08:00
|
|
|
ADDMETHOD_CONST_NOBASE(getSupportedNumGrfs, std::vector<uint32_t>, {128}, ());
|
2023-10-02 21:19:46 +08:00
|
|
|
ADDMETHOD_CONST_NOBASE(isBindlessAddressingDisabled, bool, true, ());
|
2023-11-16 22:24:12 +08:00
|
|
|
ADDMETHOD_CONST_NOBASE(getNumThreadsPerEu, uint32_t, 8u, ());
|
2024-03-05 23:43:36 +08:00
|
|
|
ADDMETHOD_CONST_NOBASE(getTotalMemBankSize, uint64_t, 32ull * MemoryConstants::gigaByte, ());
|
2023-11-21 00:08:35 +08:00
|
|
|
ADDMETHOD_CONST_NOBASE(getThreadsPerEUConfigs, const ThreadsPerEUConfigs, {}, ());
|
2024-03-05 11:39:51 +08:00
|
|
|
ADDMETHOD_CONST_NOBASE(getDeviceConfigString, const std::string, {}, (uint32_t tileCount, uint32_t sliceCount, uint32_t subSliceCount, uint32_t euPerSubSliceCount));
|
2024-03-05 22:02:00 +08:00
|
|
|
ADDMETHOD_CONST_NOBASE(isRayTracingSupported, bool, true, ());
|
2024-03-18 21:10:52 +08:00
|
|
|
ADDMETHOD_CONST_NOBASE(getL3BankCount, uint32_t, 0u, ());
|
2024-03-20 23:16:14 +08:00
|
|
|
ADDMETHOD_CONST_NOBASE(getL3CacheBankSizeInKb, uint64_t, {}, ());
|
2024-03-28 21:47:16 +08:00
|
|
|
ADDMETHOD_CONST_NOBASE(getAdditionalFp16Caps, uint32_t, {}, ());
|
|
|
|
ADDMETHOD_CONST_NOBASE(getAdditionalExtraCaps, uint32_t, {}, ());
|
2023-09-20 21:54:17 +08:00
|
|
|
};
|
2023-09-20 21:08:46 +08:00
|
|
|
} // namespace NEO
|