Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sair_base.td
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ def SairDialect : Dialect {
loosing the high-level structure of the code (hence the "additive" part of
the name).
}];

let cppNamespace = "::sair";
}

//===----------------------------------------------------------------------===//
Expand Down
4 changes: 2 additions & 2 deletions sair_ops.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ llvm::SmallBitVector SairFbyOp::MustFuseDimensions(int sair_operand) {
return mask;
}

} // namespace sair

#define GET_OP_CLASSES
#include "sair_ops.cc.inc"

} // namespace sair
4 changes: 3 additions & 1 deletion sair_ops.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ namespace sair {
// `second`.
OperandRange ChainOperandRanges(OperandRange first, OperandRange second);

using namespace mlir; // NOLINT - Required by the MLIR infrastructure.
} // namespace sair

#define GET_OP_CLASSES
#include "sair_ops.h.inc"

namespace sair {
// Parses the declaration of an iteration domain. Appends the dimensions that
// compose the domain to 'dimensions' and their names to 'dim_names' with the
// name that the domain binds to each dimension. The syntax for iteration
Expand Down