FastDeploy
latest
Fast & Easy to Deploy!
fastdeploy
core
config.h
1
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
#pragma once
15
16
#ifndef FASTDEPLOY_LIB
17
/* #undef FASTDEPLOY_LIB */
18
#endif
19
20
#ifndef ENABLE_PADDLE2ONNX
21
/* #undef ENABLE_PADDLE2ONNX */
22
#endif
23
24
#ifndef ENABLE_ORT_BACKEND
25
#define ENABLE_ORT_BACKEND
26
#endif
27
28
#ifndef ENABLE_PADDLE_BACKEND
29
#define ENABLE_PADDLE_BACKEND
30
#endif
31
32
#ifndef ENABLE_POROS_BACKEND
33
/* #undef ENABLE_POROS_BACKEND */
34
#endif
35
36
#ifndef ENABLE_OPENVINO_BACKEND
37
#define ENABLE_OPENVINO_BACKEND
38
#endif
39
40
#ifndef WITH_GPU
41
#define WITH_GPU
42
#endif
43
44
#ifndef WITH_DIRECTML
45
/* #undef WITH_DIRECTML */
46
#endif
47
48
#ifndef ENABLE_TRT_BACKEND
49
#define ENABLE_TRT_BACKEND
50
#endif
51
52
#ifndef ENABLE_VISION
53
#define ENABLE_VISION
54
#endif
55
56
#ifndef ENABLE_FLYCV
57
/* #undef ENABLE_FLYCV */
58
#endif
59
60
#ifndef ENABLE_TEXT
61
#define ENABLE_TEXT
62
#endif
63
64
#ifndef ENABLE_BENCHMARK
65
/* #undef ENABLE_BENCHMARK */
66
#endif
Generated by
1.8.13