5#include <rexlib/core/platform/dynamic_shared_object.h>
13class command_timeline;
Tells the host which commands of a queue have finished.
Definition command_timeline.hpp:23
Identifies a command submitted to a command_queue.
Definition command_token.hpp:27
void wait() const
Block the calling thread until the command has finished.
std::size_t get_id() const noexcept
Get the id of the command in its timeline.
bool is_complete() const
Check whether the command has finished.
command_token() noexcept
Construct an empty token.
bool is_empty() const noexcept
Check whether this is empty.
const std::shared_ptr< const command_timeline > & get_timeline() const noexcept
Get the timeline that gave the id.
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10