pub trait RuntimeAdjointLinearOperator<R>: RuntimeLinearOperator<R>where
R: Runtime,{
// Required method
fn apply_adjoint_on(
&self,
runtime: &R,
input: &R::Buffer,
output: &mut R::Buffer,
) -> Result<()>;
}Expand description
Runtime-aware adjoint action for reverse-mode scientific rules.
This stays separate from RuntimeLinearOperator so existing execution
backends remain source-compatible. A GPU or distributed backend implements
this trait with its native adjoint kernel; the CPU blanket implementation
delegates to LinearOperator::apply_adjoint.