write_literals.hpp 421 Bytes
Newer Older
Paul's avatar
Paul committed
1
2
3
4
#ifndef MIGRAPH_GUARD_RTGLIB_MIOPEN_WRITE_LITERALS_HPP
#define MIGRAPH_GUARD_RTGLIB_MIOPEN_WRITE_LITERALS_HPP

#include <migraph/program.hpp>
Paul's avatar
Paul committed
5
#include <migraph/gpu/context.hpp>
Paul's avatar
Paul committed
6
7
8

namespace migraph {

Paul's avatar
Paul committed
9
namespace gpu {
Paul's avatar
Paul committed
10

Paul's avatar
Paul committed
11
struct write_literals
Paul's avatar
Paul committed
12
{
Paul's avatar
Paul committed
13
    context* ctx = nullptr;
Paul's avatar
Paul committed
14
    std::string name() const { return "gpu::write_literals"; }
Paul's avatar
Paul committed
15
16
17
18

    void apply(program& p) const;
};

Paul's avatar
Paul committed
19
} // namespace gpu
Paul's avatar
Paul committed
20
21
22
23

} // namespace migraph

#endif