mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 18:29:21 +08:00
[4/n] - Remove allocator32Bit Related-To: NEO-2877 Change-Id: I0772a7fe1fda19daa12699c546587bd3cdd84f2c Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
20 lines
337 B
C++
20 lines
337 B
C++
/*
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "runtime/os_interface/linux/allocator_helper.h"
|
|
|
|
#include "core/helpers/basic_math.h"
|
|
#include "runtime/helpers/aligned_memory.h"
|
|
|
|
namespace NEO {
|
|
|
|
size_t getSizeToReserve() {
|
|
return (maxNBitValue<47> + 1) / 4;
|
|
}
|
|
|
|
} // namespace NEO
|