MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
VisionGpuDispatch.hpp File Reference

GPU execution layer for Kinesis::Vision::VisionSequence. More...

+ Include dependency graph for VisionGpuDispatch.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MayaFlux::Yantra::VisionGpuContexts
 Fixed set of TextureExecutionContexts covering every GPU-implemented VisionOp shape. More...
 
class  MayaFlux::Yantra::VisionGpuExecutor
 Stateful GPU dispatch engine for VisionSequence execution. More...
 

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Yantra
 

Detailed Description

GPU execution layer for Kinesis::Vision::VisionSequence.

VisionGpuExecutor::run() mirrors VisionExecutor::run() in contract: same input types, same VisionResult output. Internally it drives a VisionGpuContexts through the sequence via swap_shader() + stage_image()

  • dispatch_core() per step, keeping the working image GPU-resident between steps via OutputMode::IMAGE.

VisionGpuExecutor::config() is the inspectable shader config table. It returns the GpuComputeConfig for any given VisionOp. Ops that are expressible via ShaderSpec are assembled at call time (no .comp file); ops requiring neighbourhood access or structured output name a .comp file. Ops with no GPU implementation return a config with INVALID_SHADER.

The caller is responsible for only passing sequences composed of ops whose config is valid. run() logs an error and returns a default VisionResult on encountering INVALID_SHADER mid-sequence.

Definition in file VisionGpuDispatch.hpp.