Skip to content

Commit

Permalink
fix include guards
Browse files Browse the repository at this point in the history
  • Loading branch information
mbezuljTT committed Nov 26, 2024
1 parent a1cdf1a commit 217998a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions include/ttmlir/OpModel/TTNN/TTNNOpModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
//
// SPDX-License-Identifier: Apache-2.0

#ifndef TTMLIR_OP_MODEL_TTNN_OP_MODEL_H
#define TTMLIR_OP_MODEL_TTNN_OP_MODEL_H
#ifndef TTMLIR_OPMODEL_TTNN_TTNNOPMODEL_H
#define TTMLIR_OPMODEL_TTNN_TTNNOPMODEL_H

#include "ttmlir/Dialect/TTNN/IR/TTNNOpsAttrs.h"

Expand All @@ -21,4 +21,4 @@ struct ReluOpInterface {
};

} // namespace mlir::tt::op_model::ttnn
#endif // TTMLIR_OP_MODEL_TTNN_OP_MODEL_H
#endif // TTMLIR_OPMODEL_TTNN_TTNNOPMODEL_H
6 changes: 3 additions & 3 deletions lib/OpModel/TTNN/TTNNOpModelLib_Impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
//
// SPDX-License-Identifier: Apache-2.0

#ifndef TTMLIR_OP_MODEL_TTNN_OP_MODEL_LIB_IMPL_H
#define TTMLIR_OP_MODEL_TTNN_OP_MODEL_LIB_IMPL_H
#ifndef TTMLIR_OPMODEL_TTNN_TTNNOPMODELLIB_IMPL_H
#define TTMLIR_OPMODEL_TTNN_TTNNOPMODELLIB_IMPL_H

// This header resolves tt-metal warnings that would otherwise be treated as
// errors in the MLIR build. Ensure that this is the only place where tt-metal
Expand Down Expand Up @@ -57,4 +57,4 @@

#pragma clang diagnostic pop

#endif // TTMLIR_OP_MODEL_TTNN_OP_MODEL_LIB_IMPL_H
#endif // TTMLIR_OPMODEL_TTNN_TTNNOPMODELLIB_IMPL_H

0 comments on commit 217998a

Please sign in to comment.