| 324 | } |
| 325 | |
| 326 | std::optional<cudaStream_t> GetStream() const override { |
| 327 | auto o = t_->order(); |
| 328 | if (o.is_device()) |
| 329 | return o.stream(); |
| 330 | else |
| 331 | return std::nullopt; |
| 332 | } |
| 333 | |
| 334 | std::optional<cudaEvent_t> GetReadyEvent() const override { |
| 335 | auto &e = t_->ready_event(); |
no test coverage detected