Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
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
11namespace Halide {
12namespace Runtime {
13namespace Internal {
14namespace Constants {
15
16/** The threshold at which "stack" allocations should actually be backed by the heap. */
17static constexpr int maximum_stack_allocation_bytes = 16384;
18
19} // namespace Constants
20} // namespace Internal
21} // namespace Runtime
22} // namespace Halide
23
24#endif
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.