MLIR 22.0.0git
Utils.cpp File Reference
#include "mlir/Dialect/GPU/Utils/GPUUtils.h"
#include "llvm/Support/ErrorHandling.h"

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::gpu

Macros

#define MAP_CASE(X)

Functions

vector::CombiningKind mlir::gpu::convertReductionKind (gpu::AllReduceOperation mode)
 Returns the matching vector combining kind.

Macro Definition Documentation

◆ MAP_CASE

#define MAP_CASE ( X)
Value:
case gpu::AllReduceOperation::X: \
return vector::CombiningKind::X

Referenced by mlir::gpu::convertReductionKind().