Halide 22.0.0 Halide compiler and libraries

constants.h
Go to the documentation of this file.
1#ifndef HALIDE_RUNTIME_CONSTANTS_H
2#define HALIDE_RUNTIME_CONSTANTS_H
3
4/** \file
5 *
6 * This file contains private constants shared between the Halide
7 * library and the Halide runtime. These constants are not part of the
8 * public API of the runtime.
9 */
10
11 namespace Halide {
12 namespace Runtime {
13 namespace Internal {
14 namespace Constants {
15
16/** The threshold at which "stack" allocations should actually be backed by the heap. */
17 static constexpr int maximum_stack_allocation_bytes = 16384;
18
19} // namespace Constants
20} // namespace Internal
21} // namespace Runtime
22} // namespace Halide
23
24#endif
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition: AbstractGenerator.h:19
Halide::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.