Blender V5.0
globals.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
2 *
3 * SPDX-License-Identifier: Apache-2.0 */
4
5#pragma once
6
7/* Header that can be included wherever KernelGlobals is used in the kernel,
8 * to make clangd happy. For GPU devices it's defined beforehand. */
9
10#ifndef __KERNEL_GPU__
11# include "kernel/device/cpu/compat.h" // IWYU pragma: export
12# include "kernel/device/cpu/globals.h" // IWYU pragma: export
13#endif