mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 08:53:55 +08:00
[4/n] - Remove allocator32Bit Related-To: NEO-2877 Change-Id: I0772a7fe1fda19daa12699c546587bd3cdd84f2c Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
16 lines
379 B
C++
16 lines
379 B
C++
/*
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "core/helpers/basic_math.h"
|
|
#include "runtime/os_interface/linux/allocator_helper.h"
|
|
|
|
#include "gtest/gtest.h"
|
|
|
|
TEST(AllocatorHelper, givenExpectedSizeToReserveWhenGetSizeToReserveCalledThenExpectedValueReturned) {
|
|
EXPECT_EQ((4 * 4 + 2 * 4) * GB, NEO::getSizeToReserve());
|
|
}
|