verify.hpp 1.08 KB
Newer Older
Paul's avatar
Paul committed
1
2
3
4
5
6
7
8
9
#ifndef MIGRAPHX_GUARD_RTGLIB_DRIVER_VERIFY_HPP
#define MIGRAPHX_GUARD_RTGLIB_DRIVER_VERIFY_HPP

#include <migraphx/program.hpp>

namespace migraphx {
namespace driver {
inline namespace MIGRAPHX_INLINE_NS {

10
11
void verify_program(const std::string& name,
                    const program& p,
12
                    const target& t,
13
14
15
                    compile_options options     = compile_options{},
                    const parameter_map& inputs = {},
                    double tolerance            = 100);
16
void verify_instructions(const program& prog,
17
                         const target& t,
18
19
20
                         compile_options options = compile_options{},
                         double tolerance        = 80);
void verify_reduced_program(const program& p,
21
                            const target& t,
22
23
24
                            compile_options options     = compile_options{},
                            const parameter_map& inputs = {},
                            double tolerance            = 80);
Paul's avatar
Paul committed
25
26
27
28
29
30

} // namespace MIGRAPHX_INLINE_NS
} // namespace driver
} // namespace migraphx

#endif