mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Signed-off-by: Jim Snow <jim.m.snow@intel.com> Change-Id: I15de094c51d4eb18bfff4d17fd34e817b5525fda
20 lines
334 B
C++
20 lines
334 B
C++
/*
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "runtime/os_interface/linux/allocator_helper.h"
|
|
|
|
#include "core/helpers/aligned_memory.h"
|
|
#include "core/helpers/basic_math.h"
|
|
|
|
namespace NEO {
|
|
|
|
size_t getSizeToReserve() {
|
|
return (maxNBitValue<47> + 1) / 4;
|
|
}
|
|
|
|
} // namespace NEO
|