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

Implementation of BenchmarkingBackendDecider. More...

#include "image_processing/deciders/benchmarking_backend_decider.h"
#include <spdlog/spdlog.h>
#include "Halide.h"
#include <array>
#include <string>
+ Include dependency graph for benchmarking_backend_decider.cpp:

Go to the source code of this file.

Namespaces

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

Functions

static std::string CaptureMoment::Core::ImageProcessing::feature_to_string (Halide::Target::Feature feature)
 Converts a Halide Target::Feature to a human-readable string.
 
static bool CaptureMoment::Core::ImageProcessing::should_test_feature (Halide::Target::Feature feature)
 Checks if a GPU feature should be tested on the current platform.
 
static Halide::Buffer< float > CaptureMoment::Core::ImageProcessing::create_fresh_test_buffer (int width, int height, int channels)
 Creates a fresh test buffer filled with gradient data.
 
static Halide::Func CaptureMoment::Core::ImageProcessing::create_benchmark_pipeline (const Halide::Buffer< float > &input, Halide::Var &x, Halide::Var &y, Halide::Var &c)
 Creates a simple brightness adjustment pipeline for benchmarking.
 
static bool CaptureMoment::Core::ImageProcessing::try_compile_jit (Halide::Func &pipeline, const Halide::Target &target)
 Attempts to compile a pipeline for a GPU target.
 

Detailed Description

Implementation of BenchmarkingBackendDecider.

Strict priority order enforced: CUDA > DX12 > Metal > Vulkan > OpenCL (Legacy).

Author
CaptureMoment Team
Date
2026

Definition in file benchmarking_backend_decider.cpp.

CaptureMoment — footer