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

[PIR] New ir supprt cond part 1 #57265

Merged
merged 58 commits into from
Sep 15, 2023

Conversation

phlrain
Copy link
Collaborator

@phlrain phlrain commented Sep 13, 2023

PR types

New features

PR changes

Others

Description

该PR cond op支持的前置工作,主要改动如下

  1. 由于cond op存在子block,将pd_op_to_kernel_pass逻辑做重组,支持处理的最小逻辑单元为block
  2. 适配if op 和yield op的逻辑

Pcard-67164

@phlrain phlrain changed the title New ir cond partial 1 [PIR] New ir supprt cond part 1 Sep 14, 2023
@phlrain phlrain merged commit ae188d1 into PaddlePaddle:develop Sep 15, 2023
danleifeng pushed a commit to danleifeng/Paddle that referenced this pull request Nov 14, 2023
* [IR] add control flow dialect

* fix error

* add error

* test

* fix

* fix

* fix

* fix

* fix

* fix

* update

* fix

* update

* update

* refactor pd op to kernel pass

* fix bug

* update

* add code

* update

* fix merge bug

* fix bug

* update

* update

* update

* fix bug

* update

* update

* fix bug

* update

* update

* fix bug

* remove useless code

* update

* update

* update

* new ir support cond part 1

* fix compile bug

* fix compile bug

* fix compile bug

* fix bug

* open test case

---------

Co-authored-by: winter-wang <1030748926@qq.com>
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.

4 participants