| 141 | (*ins2stream)[ins] = n; |
| 142 | } |
| 143 | void wait(migraphx::module& m, migraphx::instruction_ref ins, std::size_t wait_id) const |
| 144 | { |
| 145 | if(ins2wait_for->count(ins) == 0) |
| 146 | { |
| 147 | auto event = wait_event{}; |
| 148 | m.insert_instruction(ins, event); |
| 149 | (*ins2wait_for)[ins] = event.wait_for; |
| 150 | } |
| 151 | (*ins2wait_for)[ins]->push_back(wait2stream->at(wait_id)); |
| 152 | } |
| 153 | void record(migraphx::module&, migraphx::instruction_ref ins, std::size_t wait_id) const |
| 154 | { |
| 155 | (*wait2stream)[wait_id] = ins2stream->at(ins); |
nothing calls this directly
no test coverage detected