CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
benchmarking_backend_decider.h File Reference

Concrete implementation of IBackendDecider that chooses backend based on performance benchmarks. More...

#include "image_processing/interfaces/i_backend_decider.h"
#include <chrono>
#include <optional>
#include "Halide.h"
+ Include dependency graph for benchmarking_backend_decider.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CaptureMoment::Core::ImageProcessing::BenchmarkingBackendDecider
 Implements IBackendDecider using a runtime performance comparison strategy. More...
 

Namespaces

namespace  CaptureMoment
 
namespace  CaptureMoment::Core
 Manages the lifecycle of a single IWorkingImage instance.
 
namespace  CaptureMoment::Core::ImageProcessing
 

Detailed Description

Concrete implementation of IBackendDecider that chooses backend based on performance benchmarks.

This class implements a sophisticated benchmarking strategy to determine the optimal hardware backend (CPU or a specific GPU API) for the application. It evaluates available GPU APIs based on a priority list and selects the one that provides the best performance relative to a CPU baseline.

Author
CaptureMoment Team
Date
2026

Definition in file benchmarking_backend_decider.h.

CaptureMoment — footer