verify.hpp 584 Bytes
Newer Older
Paul's avatar
Paul committed
1
2
3
4
5
6
7
8
9
10
11
#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 {

argument run_cpu(program p);
argument run_gpu(program p);
Paul's avatar
Paul committed
12
void verify_program(const std::string& name, const program& p, double tolerance = 100);
Paul's avatar
Paul committed
13
void verify_instructions(const program& prog, double tolerance = 80);
Paul's avatar
Paul committed
14
void verify_reduced_program(const program& p, double tolerance = 80);
Paul's avatar
Paul committed
15
16
17
18
19
20

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

#endif