#include "graph_timer.hpp" #include namespace deepinfer::graph_timer { EventHandle::EventHandle() { throw std::runtime_error("NPU graph timer primitives are not implemented yet"); } void EventHandle::record(int64_t stream, bool capture_external) const { throw std::runtime_error("NPU graph timer primitives are not implemented yet"); } void EventHandle::synchronize() const { throw std::runtime_error("NPU graph timer primitives are not implemented yet"); } bool EventHandle::query() const { throw std::runtime_error("NPU graph timer primitives are not implemented yet"); } float EventHandle::elapsed_time(const EventHandle &end_event) const { throw std::runtime_error("NPU graph timer primitives are not implemented yet"); } bool EventHandle::operator==(const EventHandle &other) const { throw std::runtime_error("NPU graph timer primitives are not implemented yet"); } std::size_t EventHandle::hash() const { throw std::runtime_error("NPU graph timer primitives are not implemented yet"); } EventHandle EventRecordNodeHandle::get_event() const { throw std::runtime_error("NPU graph timer primitives are not implemented yet"); } void EventRecordNodeHandle::set_event(const EventHandle &event) { throw std::runtime_error("NPU graph timer primitives are not implemented yet"); } GraphHandle::GraphHandle(py::object graph) : graph_(std::move(graph)) {} std::vector GraphHandle::get_event_record_nodes() const { throw std::runtime_error("NPU graph timer primitives are not implemented yet"); } bool GraphHandle::operator==(const GraphHandle &other) const { throw std::runtime_error("NPU graph timer primitives are not implemented yet"); } std::size_t GraphHandle::hash() const { throw std::runtime_error("NPU graph timer primitives are not implemented yet"); } } // namespace deepinfer::graph_timer