auto_contiguous.hpp 346 Bytes
Newer Older
Paul's avatar
Paul committed
1
2
3
4
5
6
7
8
9
10
#ifndef MIGRAPH_GUARD_RTGLIB_AUTO_CONTIGOUS_HPP
#define MIGRAPH_GUARD_RTGLIB_AUTO_CONTIGOUS_HPP

#include <string>
#include <migraph/instruction_ref.hpp>

namespace migraph {

struct program;

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

} // namespace migraph

#endif