Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OSPP][Schedule] Design and Implementation of Scheduling Module #196

Merged
merged 25 commits into from
Oct 31, 2023

Conversation

hanbbn
Copy link
Contributor

@hanbbn hanbbn commented Sep 5, 2023

构建Sche方言用来将func Op内的算子调度到不同硬件上
实现调度逻辑,使用sche::OnDeviceOp将算子标记为在CPU或GPU上执行
实现将sche::OnDeviceOp下降为gpu::LaunchOp,实现被标记算子在GPU上的执行

Copy link
Member

@hanliutong hanliutong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,请修改

  1. 部分文件结尾没有空行,请添加
  2. 部分文件(见review)中存在未使用的代码/注释,请移除

examples/ScheDialect/makefile Outdated Show resolved Hide resolved
examples/ScheDialect/makefile Outdated Show resolved Hide resolved
examples/ScheDialect/makefile Outdated Show resolved Hide resolved
midend/include/Dialect/Sche/CMakeLists.txt Outdated Show resolved Hide resolved
midend/lib/Conversion/LowerSche/LowerSchePass.cpp Outdated Show resolved Hide resolved
midend/lib/Dialect/Sche/ScheOps.cpp Outdated Show resolved Hide resolved
midend/lib/Dialect/Sche/ScheDialect.cpp Outdated Show resolved Hide resolved
@hanbbn hanbbn requested a review from hanliutong October 31, 2023 11:36
@hanbbn hanbbn changed the title OSPP2023 调度模块的设计与实现 OSPP2023 Design and Implementation of Scheduling Module Oct 31, 2023
@hanbbn hanbbn changed the title OSPP2023 Design and Implementation of Scheduling Module [OSPP][Schedule] Design and Implementation of Scheduling Module Oct 31, 2023
@hanbbn hanbbn marked this pull request as ready for review October 31, 2023 11:42
@hanliutong hanliutong merged commit 09625fb into buddy-compiler:main Oct 31, 2023
ShiHaoGao pushed a commit to ShiHaoGao/buddy-mlir that referenced this pull request Oct 18, 2024
…y-compiler#196)

* Sche Dialect

* DeviceSchedulePass 1.0

* lower sche

---------

Co-authored-by: HAN Liutong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants