mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
refactor: remove redundant definitions KB/MB/GB
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
878a95aaf9
commit
6849d33326
@@ -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();
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user