-convert-gradient-to-llvm

Perform a dialect conversion from Gradient to LLVM

Options

-use-generic-functions : Use generic allocation and deallocation functions instead of the classic 'malloc', 'aligned_alloc' and 'free' functions

-gradient-postprocess

Make the signatures of ForwardOp and ReverseOp compatibleto Enzyme.

-gradient-preprocess

Insert Func.CallOp for ForwardOp and ReverseOp.

-lower-gradients

Lower operations in the gradient dialect to core MLIR dialects.