11/*
2- * Copyright (C) 2023 Intel Corporation
2+ * Copyright (C) 2023-2024 Intel Corporation
33 *
44 * SPDX-License-Identifier: MIT
55 *
@@ -18,8 +18,6 @@ namespace NEO {
1818
1919class ReleaseHelper ;
2020enum class ReleaseType ;
21- enum class GfxMemoryAllocationMethod : uint32_t ;
22- enum class AllocationType ;
2321
2422inline constexpr uint32_t maxArchitecture = 64 ;
2523using createReleaseHelperFunctionType = std::unique_ptr<ReleaseHelper> (*)(HardwareIpVersion hardwareIpVersion);
@@ -45,11 +43,9 @@ class ReleaseHelper {
4543 virtual int getProductMaxPreferredSlmSize (int preferredEnumValue) const = 0;
4644 virtual bool getMediaFrequencyTileIndex (uint32_t &tileIndex) const = 0;
4745 virtual bool isResolvingSubDeviceIDNeeded () const = 0;
48- virtual bool isCachingOnCpuAvailable () const = 0;
4946 virtual bool shouldAdjustDepth () const = 0;
5047 virtual bool isDirectSubmissionSupported () const = 0;
5148 virtual bool isRcsExposureDisabled () const = 0;
52- virtual std::optional<GfxMemoryAllocationMethod> getPreferredAllocationMethod (AllocationType allocationType) const = 0;
5349 virtual std::vector<uint32_t > getSupportedNumGrfs () const = 0;
5450 virtual bool isBindlessAddressingDisabled () const = 0;
5551 virtual uint32_t getNumThreadsPerEu () const = 0;
@@ -80,11 +76,9 @@ class ReleaseHelperHw : public ReleaseHelper {
8076 int getProductMaxPreferredSlmSize (int preferredEnumValue) const override ;
8177 bool getMediaFrequencyTileIndex (uint32_t &tileIndex) const override ;
8278 bool isResolvingSubDeviceIDNeeded () const override ;
83- bool isCachingOnCpuAvailable () const override ;
8479 bool shouldAdjustDepth () const override ;
8580 bool isDirectSubmissionSupported () const override ;
8681 bool isRcsExposureDisabled () const override ;
87- std::optional<GfxMemoryAllocationMethod> getPreferredAllocationMethod (AllocationType allocationType) const override ;
8882 std::vector<uint32_t > getSupportedNumGrfs () const override ;
8983 bool isBindlessAddressingDisabled () const override ;
9084 uint32_t getNumThreadsPerEu () const override ;
0 commit comments