Halide 13.0.2
Halide compiler and libraries
IntegerDivisionTable.h
Go to the documentation of this file.
1#ifndef HALIDE_INTEGER_DIVISION_TABLE_H
2#define HALIDE_INTEGER_DIVISION_TABLE_H
3
4#include <cstdint>
5
6/** \file
7 * Tables telling us how to do integer division via fixed-point
8 * multiplication for various small constants. This file is
9 * automatically generated by find_inverse.cpp.
10 */
11namespace Halide {
12namespace Internal {
13namespace IntegerDivision {
14extern const int64_t table_u8[256][4];
15extern const int64_t table_s8[256][4];
16extern const int64_t table_u16[256][4];
17extern const int64_t table_s16[256][4];
18extern const int64_t table_u32[256][4];
19extern const int64_t table_s32[256][4];
20extern const int64_t table_runtime_u8[256][4];
21extern const int64_t table_runtime_s8[256][4];
22extern const int64_t table_runtime_u16[256][4];
23extern const int64_t table_runtime_s16[256][4];
24extern const int64_t table_runtime_u32[256][4];
25extern const int64_t table_runtime_s32[256][4];
26} // namespace IntegerDivision
27} // namespace Internal
28} // namespace Halide
29
30#endif
const int64_t table_runtime_u32[256][4]
const int64_t table_runtime_u8[256][4]
const int64_t table_runtime_u16[256][4]
const int64_t table_runtime_s8[256][4]
const int64_t table_s8[256][4]
const int64_t table_u16[256][4]
const int64_t table_u8[256][4]
const int64_t table_runtime_s32[256][4]
const int64_t table_u32[256][4]
const int64_t table_s32[256][4]
const int64_t table_s16[256][4]
const int64_t table_runtime_s16[256][4]
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
signed __INT64_TYPE__ int64_t