Enzyme main
Loading...
Searching...
No Matches
mlir::enzyme::ActivityPrinterConfig Class Reference

#include "MLIR/Analysis/ActivityAnnotations.h"

Collaboration diagram for mlir::enzyme::ActivityPrinterConfig:

Public Member Functions

 ActivityPrinterConfig ()=default
 

Public Attributes

bool dataflow = true
 Whether to use the data-flow based algorithm or the classic activity analysis.
 
bool relative = true
 Use function summaries.
 
bool verbose = false
 Output extra information for debugging.
 
bool annotate = false
 Annotate the IR with activity information for every operation.
 
bool inferFromAutodiff = false
 Infer the starting argument state from an __enzyme_autodiff call.
 

Detailed Description

Definition at line 223 of file ActivityAnnotations.h.

Constructor & Destructor Documentation

◆ ActivityPrinterConfig()

mlir::enzyme::ActivityPrinterConfig::ActivityPrinterConfig ( )
default

Member Data Documentation

◆ annotate

bool mlir::enzyme::ActivityPrinterConfig::annotate = false

Annotate the IR with activity information for every operation.

Currently only supports the LLVM dialect.

Definition at line 236 of file ActivityAnnotations.h.

Referenced by mlir::enzyme::runActivityAnnotations().

◆ dataflow

bool mlir::enzyme::ActivityPrinterConfig::dataflow = true

Whether to use the data-flow based algorithm or the classic activity analysis.

Definition at line 229 of file ActivityAnnotations.h.

◆ inferFromAutodiff

bool mlir::enzyme::ActivityPrinterConfig::inferFromAutodiff = false

Infer the starting argument state from an __enzyme_autodiff call.

Definition at line 238 of file ActivityAnnotations.h.

◆ relative

bool mlir::enzyme::ActivityPrinterConfig::relative = true

Use function summaries.

Definition at line 231 of file ActivityAnnotations.h.

◆ verbose

bool mlir::enzyme::ActivityPrinterConfig::verbose = false

Output extra information for debugging.

Definition at line 233 of file ActivityAnnotations.h.

Referenced by mlir::enzyme::runActivityAnnotations().


The documentation for this class was generated from the following file: