5#include "../platform/dynamic_shared_object.h"
6#include "../service_manager.hpp"
7#include "../numerical/numerical_type.hpp"
20class operand_descriptor;
54 std::unique_ptr<program_builder> builder
85 REXLIB_STD_MEMBER_INTERFACE
86 std::unique_ptr<implementation> m_implementation;
88 implementation& create_if_null();
89 const implementation& get_implementation() const noexcept;
Abstract command queue belonging to a device.
Definition command_queue.hpp:27
Abstract class that describes an operation.
Definition operation.hpp:23
Bounded associative store for backend-private resources reused across operation program builds.
Definition program_cache.hpp:42
Centralizes all known instances of operation program builders.
Definition program_manager.hpp:32
bool register_builder(std::unique_ptr< program_builder > builder)
Register a new operation program builder.
void register_builtin_backends() override
Register backends bundled with the core library.
std::shared_ptr< program > build(const operation &operation, span< const operand_descriptor > output_descriptors, span< const operand_descriptor > input_descriptors, command_queue &queue, program_cache *cache=nullptr) const
Build an executable operation program for a given launch configuration.
Abstract class defining the interface of a service manager.
Definition service_manager.hpp:23
Represents a non-owning area of contiguous memory.
Definition span.hpp:99
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
@ operation
Supplied by the operation instance.