refactor: remove redundant definitions KB/MB/GB

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-12-04 15:55:01 +00:00
committed by Compute-Runtime-Automation
parent 878a95aaf9
commit 6849d33326
70 changed files with 304 additions and 308 deletions

View File

@@ -223,7 +223,7 @@ TEST_F(MetricStreamerTest, givenRawReportSizeIsNotAlignedToOaBufferSizeWhenZetMe
metricsSetParams.ShortName = "Metric set description";
metricsSetParams.RawReportSize = 576;
uint32_t testOaBufferSize = 128 * MB;
uint32_t testOaBufferSize = 128 * MemoryConstants::megaByte;
openMetricsAdapter();

View File

@@ -15,14 +15,14 @@
#include "level_zero/tools/source/sysman/memory/memory_imp.h"
using namespace NEO;
constexpr uint64_t probedSizeRegionZero = 8 * GB;
constexpr uint64_t probedSizeRegionOne = 16 * GB;
constexpr uint64_t probedSizeRegionTwo = 4 * GB;
constexpr uint64_t probedSizeRegionThree = 16 * GB;
constexpr uint64_t unallocatedSizeRegionZero = 6 * GB;
constexpr uint64_t unallocatedSizeRegionOne = 12 * GB;
constexpr uint64_t unallocatedSizeRegionTwo = 25 * GB;
constexpr uint64_t unallocatedSizeRegionThree = 3 * GB;
constexpr uint64_t probedSizeRegionZero = 8 * MemoryConstants::gigaByte;
constexpr uint64_t probedSizeRegionOne = 16 * MemoryConstants::gigaByte;
constexpr uint64_t probedSizeRegionTwo = 4 * MemoryConstants::gigaByte;
constexpr uint64_t probedSizeRegionThree = 16 * MemoryConstants::gigaByte;
constexpr uint64_t unallocatedSizeRegionZero = 6 * MemoryConstants::gigaByte;
constexpr uint64_t unallocatedSizeRegionOne = 12 * MemoryConstants::gigaByte;
constexpr uint64_t unallocatedSizeRegionTwo = 25 * MemoryConstants::gigaByte;
constexpr uint64_t unallocatedSizeRegionThree = 3 * MemoryConstants::gigaByte;
namespace L0 {
namespace ult {