-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 2fd35eb [tf-frontend] infer shape after convert where to static s... - bed7740 [torch-frontend] fix pipeline for uint8 (#376) - d6f21e2 [dynamo] support enable_tf32 in byteir_backend (#375) - e1c6a15 [compiler] add enable-tf32 option (#374) - 3ce31e0 [runtime] support gemm/bmm compute on tf32 (#373) - d255b60 [onnx] fix squeezed value (#371) - 199c508 [compiler] add forall-collapsing pass (#366) - c6a965c [*] bump version to 1.8.5.0 (#369) - dd35694 [torch-frontend] update torch-mlir (#368) - d5be436 [compiler] fix bug for clang compiliation (#365) (And 2 more changes) GitOrigin-RevId: 2fd35eb
- Loading branch information
Showing
43 changed files
with
733 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
compiler/include/byteir/Dialect/SCF/Transforms/ForallCollapsing.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
//===- ForallCollapsing.h ------------------------------------- C++ --===// | ||
// | ||
// Copyright 2024 ByteDance Ltd. and/or its affiliates. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
//===----------------------------------------------------------------------===// | ||
|
||
#ifndef BYTEIR_DIALECT_SCF_TRANSFORMS_FORALLCOLLAPSING_H | ||
#define BYTEIR_DIALECT_SCF_TRANSFORMS_FORALLCOLLAPSING_H | ||
|
||
#include "mlir/Pass/Pass.h" | ||
#include <memory> | ||
|
||
namespace mlir { | ||
namespace func { | ||
class FuncOp; | ||
} // namespace func | ||
|
||
std::unique_ptr<OperationPass<func::FuncOp>> | ||
createForallCollapsingPass(llvm::StringRef anchorTag = ""); | ||
|
||
} // namespace mlir | ||
|
||
#endif // BYTEIR_DIALECT_SCF_TRANSFORMS_FORALLCOLLAPSING_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.