mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
This commit adds support for parsing SHT_NOBITS zebin's ELF sections (containing global/constant zero-initialized data). - Correction: in CTNI path, do not add related symbol if surface has not been allocated. Related-To: NEO-7196 Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
24 lines
542 B
C++
24 lines
542 B
C++
/*
|
|
* Copyright (C) 2020-2023 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <cstddef>
|
|
|
|
namespace NEO {
|
|
|
|
class Device;
|
|
class GraphicsAllocation;
|
|
class SVMAllocsManager;
|
|
struct LinkerInput;
|
|
|
|
GraphicsAllocation *allocateGlobalsSurface(SVMAllocsManager *const svmAllocManager, Device &device,
|
|
size_t totalSize, size_t zeroInitSize, bool constant,
|
|
LinkerInput *const linkerInput, const void *initData);
|
|
|
|
} // namespace NEO
|