Files
compute-runtime/runtime/dll/linux/allocator_helper.cpp
kamdiedrich 3691ad1ea0 Move os_interface files to core folder
Change-Id: I03fdd962eac9ebad5dc915adf041c21a2e6affbe
2020-02-04 12:53:56 +01:00

20 lines
331 B
C++

/*
* Copyright (C) 2018-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "core/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