auto_contiguous.hpp 453 Bytes
Newer Older
Paul's avatar
Paul committed
1
2
3
4
5
#ifndef MIGRAPH_GUARD_RTGLIB_AUTO_CONTIGOUS_HPP
#define MIGRAPH_GUARD_RTGLIB_AUTO_CONTIGOUS_HPP

#include <string>
#include <migraph/instruction_ref.hpp>
6
#include <migraph/config.hpp>
Paul's avatar
Paul committed
7

8
namespace migraph { inline namespace MIGRAPH_INLINE_NS {
Paul's avatar
Paul committed
9
10
11

struct program;

Paul's avatar
Paul committed
12
struct auto_contiguous
Paul's avatar
Paul committed
13
{
Paul's avatar
Paul committed
14
    std::string name() const { return "auto_contiguous"; }
Paul's avatar
Paul committed
15
16
17
    void apply(program& p) const;
};

18
} // inline namespace MIGRAPH_INLINE_NS
Paul's avatar
Paul committed
19
20
21
} // namespace migraph

#endif