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

Add spec for InfeedOp and OutfeedOp #640

Merged
merged 4 commits into from
Dec 3, 2022

Conversation

sdasgup3
Copy link
Member

@sdasgup3 sdasgup3 commented Nov 28, 2022

fixes #525

verification of infeed op is revisit based on #639

Note that for outfeed op we are using the output name as results based on the implicit name introduced by the tablegen file even though it should be explicitly called out as result (singular). This will be addressed in #351 (comment), item 4.

@sdasgup3 sdasgup3 requested a review from ghpvnist November 28, 2022 22:36
@sdasgup3 sdasgup3 self-assigned this Nov 28, 2022
@burmako burmako changed the title add spec for infeed/outfeed ops Add spec for InfeedOp and OutfeedOp Nov 29, 2022
@burmako burmako added the Spec label Nov 29, 2022
@sdasgup3 sdasgup3 assigned ghpvnist and subhankarshah and unassigned sdasgup3 and ghpvnist Nov 29, 2022
docs/spec_draft.md Outdated Show resolved Hide resolved
docs/spec_draft.md Outdated Show resolved Hide resolved
docs/spec_draft.md Outdated Show resolved Hide resolved
Copy link
Member

@subhankarshah subhankarshah left a comment

Choose a reason for hiding this comment

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

Added few comments.

@sdasgup3 sdasgup3 force-pushed the spec-infeed-outfeed branch 2 times, most recently from 53b219d to e0d3d15 Compare December 2, 2022 00:37
@sdasgup3 sdasgup3 assigned subhankarshah and unassigned sdasgup3 Dec 2, 2022
Copy link
Member

@subhankarshah subhankarshah left a comment

Choose a reason for hiding this comment

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

LGTM with minor suggestions.

@subhankarshah subhankarshah assigned burmako and unassigned sdasgup3 Dec 2, 2022
docs/spec_draft.md Outdated Show resolved Hide resolved
docs/spec_draft.md Outdated Show resolved Hide resolved
docs/spec_draft.md Outdated Show resolved Hide resolved
docs/spec_draft.md Show resolved Hide resolved
docs/spec_draft.md Outdated Show resolved Hide resolved
docs/spec_draft.md Show resolved Hide resolved
docs/spec_draft.md Outdated Show resolved Hide resolved
docs/spec_draft.md Outdated Show resolved Hide resolved
@burmako burmako assigned sdasgup3 and unassigned burmako Dec 2, 2022
@sdasgup3 sdasgup3 force-pushed the spec-infeed-outfeed branch from e0d3d15 to 009589f Compare December 3, 2022 00:30
@sdasgup3 sdasgup3 force-pushed the spec-infeed-outfeed branch from 009589f to bef9e32 Compare December 3, 2022 00:34
@sdasgup3 sdasgup3 assigned burmako and unassigned sdasgup3 Dec 3, 2022
@sdasgup3 sdasgup3 requested a review from burmako December 3, 2022 00:35
Copy link
Contributor

@burmako burmako left a comment

Choose a reason for hiding this comment

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

A few minor changes, and we're ready to go.

docs/spec_draft.md Outdated Show resolved Hide resolved
docs/spec_draft.md Outdated Show resolved Hide resolved
docs/spec_draft.md Outdated Show resolved Hide resolved
@burmako burmako assigned sdasgup3 and unassigned burmako Dec 3, 2022
@sdasgup3 sdasgup3 assigned burmako and unassigned sdasgup3 Dec 3, 2022
@sdasgup3 sdasgup3 requested a review from burmako December 3, 2022 01:12
@burmako burmako assigned sdasgup3 and unassigned burmako Dec 3, 2022
@burmako
Copy link
Contributor

burmako commented Dec 3, 2022

Merging without waiting for CI - the only CI-able change in the PR is documentation within the .td file.

@burmako burmako merged commit 4fb042e into openxla:main Dec 3, 2022
GleasonK pushed a commit to GleasonK/stablehlo that referenced this pull request Dec 6, 2022
fixes openxla#525 

verification of infeed op is revisit based on
openxla#639

Note that for outfeed op we are using the output name as `results` based
on the implicit name [introduced by the tablegen
file](https://github.com/openxla/stablehlo/blob/dbf9964c6ce980e1976041700807bd94e6adf849/stablehlo/dialect/StablehloOps.td#L1030
) even though it should be explicitly called out as `result` (singular).
This will be addressed in
openxla#351 (comment),
item 4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add spec for InfeedOp/OutfeedOp
4 participants