TVM  0.9.4
helpers.h
Go to the documentation of this file.
1 
3 #pragma once
4 
5 #include <tvm/api.h>
6 #include <tvm/defs.h>
7 
8 #include <tvm/constraint/enums.h>
9 
10 #include <vector>
11 
12 namespace tvm
13 {
14 namespace hint
15 {
16 namespace internal
17 {
18 class Substitutions;
19 }
20 } // namespace hint
21 namespace function
22 {
23 class BasicLinearFunction;
24 }
25 
26 namespace scheme
27 {
28 namespace internal
29 {
30 class ProblemComputationData;
31 
38 template<typename Problem, typename Scheme>
39 inline ProblemComputationData * getComputationData(Problem & problem, const Scheme & resolutionScheme);
40 
50 
59 
69  const std::vector<VariablePtr> & x,
70  const std::vector<std::shared_ptr<function::BasicLinearFunction>> & xsub);
71 
76  const hint::internal::Substitutions & subs,
77  constraint::Type targetConvention);
78 
81  const std::vector<VariablePtr> & x,
82  const std::vector<std::shared_ptr<function::BasicLinearFunction>> & xsub,
83  constraint::Type targetConvention);
84 } // namespace internal
85 } // namespace scheme
86 } // namespace tvm
#define TVM_DLLAPI
Definition: api.h:35
Definition: Substitutions.h:24
Definition: ProblemComputationData.h:27
Type
Definition: enums.h:15
bool TVM_DLLAPI canBeUsedAsBound(const ConstraintPtr &c, const hint::internal::Substitutions &subs, constraint::Type targetConvention)
bool TVM_DLLAPI isBound(const ConstraintPtr &c)
ProblemComputationData * getComputationData(Problem &problem, const Scheme &resolutionScheme)
Definition: Clock.h:12
std::shared_ptr< constraint::abstract::Constraint > ConstraintPtr
Definition: defs.h:56