common_header.hpp 721 Bytes
Newer Older
Paul's avatar
Paul committed
1
2
#ifndef MIGRAPHX_GUARD_RTGLIB_COMMON_HEADER_HPP
#define MIGRAPHX_GUARD_RTGLIB_COMMON_HEADER_HPP
Paul's avatar
Paul committed
3
4
5
6
7
8
9
#include <migraphx/program.hpp>
#include <migraphx/stringutils.hpp>
#include <migraphx/instruction.hpp>
#include <migraphx/operators.hpp>
#include <migraphx/iterator_for.hpp>
#include <migraphx/pass_config.hpp>
#include <migraphx/config.hpp>
mei-ye's avatar
mei-ye committed
10
11
12
13
14
15

#include <set>
#include <list>
#include <vector>
#include <queue>

Paul's avatar
Paul committed
16
namespace migraphx {
Paul's avatar
Paul committed
17
inline namespace MIGRAPHX_INLINE_NS {
mei-ye's avatar
mei-ye committed
18

Paul's avatar
Paul committed
19
//#define MIGRAPHX_DEBUG_OPT
mei-ye's avatar
mei-ye committed
20

Paul's avatar
Paul committed
21
22
#ifdef MIGRAPHX_DEBUG_OPT
#define MIGRAPHX_DEBUG(s) s
mei-ye's avatar
mei-ye committed
23
#else
Paul's avatar
Paul committed
24
25
#define MIGRAPHX_DEBUG(s)
#endif // MIGRAPHX_DEBUG_OPT
26

Paul's avatar
Paul committed
27
} // namespace MIGRAPHX_INLINE_NS
Paul's avatar
Paul committed
28
} // namespace migraphx
mei-ye's avatar
mei-ye committed
29

Paul's avatar
Paul committed
30
#endif // MIGRAPHX_GUARD_RTGLIB_COMMON_HEADER_HPP