2023-09-20 13:54:17 +00:00
|
|
|
/*
|
2024-01-25 17:07:26 +00:00
|
|
|
* Copyright (C) 2023-2024 Intel Corporation
|
2023-09-20 13:54:17 +00:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
2024-03-05 15:43:36 +00:00
|
|
|
#include "shared/source/helpers/constants.h"
|
2023-09-20 13:54:17 +00: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 06:28:01 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(isDotProductAccumulateSystolicSupported, bool, false, ());
|
2023-09-20 13:54:17 +00:00
|
|
|
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(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(isResolvingSubDeviceIDNeeded, 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-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, ());
|
2024-07-11 12:12:33 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(isGlobalBindlessAllocatorEnabled, bool, false, ());
|
2023-11-16 14:24:12 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(getNumThreadsPerEu, uint32_t, 8u, ());
|
2024-03-05 15:43:36 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(getTotalMemBankSize, uint64_t, 32ull * MemoryConstants::gigaByte, ());
|
2024-11-12 11:34:19 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(getThreadsPerEUConfigs, const ThreadsPerEUConfigs, {}, (uint32_t numThreadsPerEu));
|
2024-03-05 03:39:51 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(getDeviceConfigString, const std::string, {}, (uint32_t tileCount, uint32_t sliceCount, uint32_t subSliceCount, uint32_t euPerSubSliceCount));
|
2024-03-05 14:02:00 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(isRayTracingSupported, bool, true, ());
|
2024-03-28 13:47:16 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(getAdditionalFp16Caps, uint32_t, {}, ());
|
|
|
|
|
ADDMETHOD_CONST_NOBASE(getAdditionalExtraCaps, uint32_t, {}, ());
|
2024-10-07 16:41:15 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(getStackSizePerRay, uint32_t, {}, ());
|
2024-06-10 10:37:06 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(isLocalOnlyAllowed, bool, {}, ());
|
2024-10-07 09:49:11 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(isDisablingMsaaRequired, bool, false, ());
|
2024-11-15 12:06:13 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(isDummyBlitWaRequired, bool, false, ());
|
2024-11-18 13:24:30 +00:00
|
|
|
ADDMETHOD_CONST_NOBASE(isNumRtStacksPerDssFixedValue, bool, true, ());
|
2024-10-07 09:49:11 +00:00
|
|
|
|
2024-10-02 09:50:19 +00:00
|
|
|
const SizeToPreferredSlmValueArray &getSizeToPreferredSlmValue(bool isHeapless) const override {
|
|
|
|
|
static SizeToPreferredSlmValueArray sizeToPreferredSlmValue = {};
|
|
|
|
|
return sizeToPreferredSlmValue;
|
|
|
|
|
}
|
2023-09-20 13:54:17 +00:00
|
|
|
};
|
2023-09-20 13:08:46 +00:00
|
|
|
} // namespace NEO
|