Interface for a device.
Abstraction layer for memory, synchronization, and compute provided by different devices.
| CreateBuffer | Create a new buffer of a given size. |
| DestroyBuffer | Destroy the buffer with the given ID. |
| Flush | Flush the device context. |
| Initialize | Initialize. |
| IsCompleted | Returns true if the asynchronous operation completed. |
| ReadBuffer | Read contents of a buffer from the context. |
| Wait | Wait for an asynchronous event. |
| WriteBuffer | Write data into the memory buffer allocated by the context. |