Tensor Tiling Library
 
Loading...
Searching...
No Matches
TTL.h
Go to the documentation of this file.
1/*
2 * TTL.h
3 *
4 * Copyright (c) 2023 Mobileye
5 *
6 * Licensed under the Apache License, Version 2.0 (the License);
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an AS IS BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
19/**
20 * @def __TTL_DEBUG
21 *
22 * @brief Turn on printf outputs from TTL, can be very noisy
23 *
24 * 0 = no noise
25 * bigger numbers mean more noise.
26 */
27
28/**
29 * @def TTL_TARGET
30 *
31 * @brief Define the target for TTL
32 *
33 * TTL can be built for multible targets - native support is
34 * - opencl - default if TTL_TARGET not predefined.
35 * - c
36 *
37 * Other platforms can be provided.
38 */
39
40/**
41 * @def TTL_TYPES_INCLUDE_H
42 *
43 * @brief TTL_types will include this file prior to its definitions
44 *
45 * Values in the base distribution include
46 * - opencl/TTL_types.h
47 * - c/TTL_types.h
48 */
49// clang-format off
50
51// clang-format on
52
53/**
54 * @def TTL_IMPORT_EXPORT_INCLUDE_H
55 *
56 * @brief Allow override of the standard OpenCL import export rules
57 *
58 * * Values in the base distribution include
59 * - opencl/TTL_import_export.h
60 * - c/TTL_import_export.h
61 */
62// clang-format off
63
64// clang-format on
65
66# 6 "scripts/preprocess.c" 2