MLIR  19.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::SparsificationOptions Struct Reference

Options for the Sparsification pass. More...

#include "mlir/Dialect/SparseTensor/Transforms/Passes.h"

Public Member Functions

 SparsificationOptions (SparseParallelizationStrategy p, SparseEmitStrategy d, bool enableRT)
 SparsificationOptions (SparseParallelizationStrategy p, bool enableRT)
 SparsificationOptions ()

Public Attributes

SparseParallelizationStrategy parallelizationStrategy
SparseEmitStrategy sparseEmitStrategy
bool enableRuntimeLibrary

Detailed Description

Options for the Sparsification pass.

Definition at line 97 of file Passes.h.

Constructor & Destructor Documentation

◆ SparsificationOptions() [1/3]

mlir::SparsificationOptions::SparsificationOptions ( SparseParallelizationStrategy  p,
SparseEmitStrategy  d,
bool  enableRT 

Definition at line 98 of file Passes.h.

◆ SparsificationOptions() [2/3]

mlir::SparsificationOptions::SparsificationOptions ( SparseParallelizationStrategy  p,
bool  enableRT 

Definition at line 103 of file Passes.h.

References mlir::kFunctional.

◆ SparsificationOptions() [3/3]

mlir::SparsificationOptions::SparsificationOptions ( )

Definition at line 106 of file Passes.h.

References mlir::kFunctional, and mlir::kNone.

Member Data Documentation

◆ enableRuntimeLibrary

bool mlir::SparsificationOptions::enableRuntimeLibrary

Definition at line 112 of file Passes.h.

◆ parallelizationStrategy

SparseParallelizationStrategy mlir::SparsificationOptions::parallelizationStrategy

Definition at line 110 of file Passes.h.

Referenced by isParallelFor().

◆ sparseEmitStrategy

SparseEmitStrategy mlir::SparsificationOptions::sparseEmitStrategy

Definition at line 111 of file Passes.h.

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