mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 21:42:53 +08:00
20 lines
331 B
C++
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
|