2020-01-11 18:25:26 +01:00
|
|
|
/*
|
2023-01-24 13:16:02 +00:00
|
|
|
* Copyright (C) 2020-2023 Intel Corporation
|
2020-01-11 18:25:26 +01:00
|
|
|
*
|
|
|
|
|
* 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,
|
2023-02-08 17:05:30 +00:00
|
|
|
size_t totalSize, size_t zeroInitSize, bool constant,
|
2022-12-21 04:39:44 +01:00
|
|
|
LinkerInput *const linkerInput, const void *initData);
|
2020-01-11 18:25:26 +01:00
|
|
|
|
|
|
|
|
} // namespace NEO
|