MLIR  20.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 93 of file Passes.h.

Constructor & Destructor Documentation

◆ SparsificationOptions() [1/3]

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

Definition at line 94 of file Passes.h.

◆ SparsificationOptions() [2/3]

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

Definition at line 99 of file Passes.h.

References mlir::kFunctional.

◆ SparsificationOptions() [3/3]

mlir::SparsificationOptions::SparsificationOptions ( )
inline

Definition at line 102 of file Passes.h.

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

Member Data Documentation

◆ enableRuntimeLibrary

bool mlir::SparsificationOptions::enableRuntimeLibrary

Definition at line 108 of file Passes.h.

◆ parallelizationStrategy

SparseParallelizationStrategy mlir::SparsificationOptions::parallelizationStrategy

◆ sparseEmitStrategy

SparseEmitStrategy mlir::SparsificationOptions::sparseEmitStrategy

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