rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
cpu_program_builder.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include <rexlib/core/dispatch/program_builder.hpp>
6
7#include <rexlib/core/platform/dynamic_shared_object.h>
8
9namespace rexlib
10{
11namespace cpu
12{
13
14class REXLIB_API cpu_program_builder
15 : public program_builder
16{
17public:
19 const operation &operation,
20 span<const operand_descriptor> output_descriptors,
21 span<const operand_descriptor> input_descriptors,
22 command_queue &queue
23 ) const override;
24};
25
26} // namespace cpu
27} // namespace rexlib
28
Abstract command queue belonging to a device.
Definition command_queue.hpp:27
Definition cpu_program_builder.hpp:16
backend_priority get_suitability(const operation &operation, span< const operand_descriptor > output_descriptors, span< const operand_descriptor > input_descriptors, command_queue &queue) const override
Get the suitability of this builder for a given launch configuration.
Abstract class that describes an operation.
Definition operation.hpp:23
Abstract representation of a factory class for operation programs.
Definition program_builder.hpp:29
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
backend_priority
Enumeration defining the preference over the selection of a particular backend.
Definition backend_priority.hpp:20
@ cpu
CPU of the host node.