MLIR  19.0.0git
Public Attributes | List of all members
mlir::transform::gpu::MappingInfo Struct Reference

Base struct to hold GPU mapping information for a given operation. More...

#include "mlir/Dialect/Linalg/TransformOps/GPUHeuristics.h"

+ Inheritance diagram for mlir::transform::gpu::MappingInfo:

Public Attributes

SmallVector< int64_t > numThreads
 Number of threads to use for the mapping. More...
 
SmallVector< AttributethreadMapping
 Thread mapping attributes, one per entry of numThreads. More...
 

Detailed Description

Base struct to hold GPU mapping information for a given operation.

Definition at line 21 of file GPUHeuristics.h.

Member Data Documentation

◆ numThreads

SmallVector<int64_t> mlir::transform::gpu::MappingInfo::numThreads

Number of threads to use for the mapping.

Note: When the number of threads used is smaller than the total number of available threads, predication ensues. It is often useful to use more threads and saturate memory bandwidth for some operations, even if others end up being predicated.

Definition at line 27 of file GPUHeuristics.h.

◆ threadMapping

SmallVector<Attribute> mlir::transform::gpu::MappingInfo::threadMapping

Thread mapping attributes, one per entry of numThreads.

Definition at line 30 of file GPUHeuristics.h.


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