schedule_model.cpp 710 Bytes
Newer Older
Paul's avatar
Paul committed
1
2
3
4
5
6
7
8
#include <migraphx/gpu/schedule_model.hpp>
#include <migraphx/program.hpp>
#include <migraphx/operation.hpp>

namespace migraphx {
inline namespace MIGRAPHX_INLINE_NS {
namespace gpu {

Paul's avatar
Paul committed
9
10
11
12
13
14
std::size_t schedule_model::concurrency() const { return n; }
void schedule_model::schedule_instruction(program& p, instruction_ref ins, std::size_t n) const {}
void schedule_model::wait(program& p,
                          instruction_ref ins,
                          std::size_t wait_on,
                          const std::vector<std::size_t>& wait_for) const
Paul's avatar
Paul committed
15
16
{
}
Paul's avatar
Paul committed
17
std::size_t schedule_model::weight(const operation& op) const { return 1; }
Paul's avatar
Paul committed
18
19
20
21

} // namespace gpu
} // namespace MIGRAPHX_INLINE_NS
} // namespace migraphx