Scoped, configurable view over a device_session.
Definition device_context.hpp:49
Pairs the hardware resources and the dispatch strategy used to run operations.
Definition execution_context.hpp:43
const std::shared_ptr< dispatcher > & get_dispatcher() const noexcept
Retrieve the dispatcher used to execute operations.
execution_context() noexcept
Construct an empty execution context.
execution_context with_device_context(device_context device_context) const
Derive an execution context with a different device context.
execution_context with_dispatcher(std::shared_ptr< dispatcher > dispatcher) const
Derive an execution context with a different dispatcher.
const device_context & get_device_context() const noexcept
Retrieve the device context describing where operations execute.
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10