| from abc import ABC, abstractmethod |
| r"""Base stream class abstraction for multi backends Stream to herit from""" |
| def wait_event(self, event): |
| raise NotImplementedError() |
| def wait_stream(self, stream): |
| raise NotImplementedError() |
| def record_event(self, event=None): |
| raise NotImplementedError() |
| raise NotImplementedError() |
| raise NotImplementedError() |
| def __eq__(self, stream): |
| raise NotImplementedError() |
| r"""Base Event class abstraction for multi backends Event to herit from""" |
| def wait(self, stream=None): |
| raise NotImplementedError() |
| raise NotImplementedError() |
| raise NotImplementedError() |