Skip to content

Consider splitting results into outputs and token in InfeedOp/RecvOp #670

Open

Description

@burmako
def StableHLO_RecvOp : StableHLO_Op<"recv", []> {
  let arguments = (ins
    HLO_Token:$token,
    StableHLO_ChannelHandle:$channel_handle,
    DefaultValuedOptionalAttr<BoolAttr, "false">:$is_host_transfer
  );
  let results = (outs Variadic<HLO_TensorOrToken>);
}

The last result is known to be a token, so we should split results into two parts: 1) all results except for the last one will go to output, 2) the last one will go to result.

Activity

  1. changed the title [-]Split results into outputs and token in RecvOp[/-] [+]Split results into outputs and token in InfeedOp/RecvOp[/+] on Dec 2, 2022
  2. added this to Frontend contract and removed this from New featureson Mar 9, 2023
  3. changed the title [-]Split results into outputs and token in InfeedOp/RecvOp[/-] [+]Consider splitting results into outputs and token in InfeedOp/RecvOp[/+] on Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions