The send_offsets
and recv_offsets
returned by the function compute_scatter_from_owner_counts
#14
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
# SPDX-FileCopyrightText: 2024 OGL authors | |
# | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
on: | |
issue_comment: | |
types: [created] | |
name: OnCommentPR | |
jobs: | |
format: | |
name: format | |
runs-on: ubuntu-latest | |
if: github.event.issue.pull_request != '' && github.event.comment.body == 'format!' && (github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER') | |
permissions: | |
pull-requests: write | |
contents: write | |
steps: | |
- name: Install clang-format | |
run: sudo apt-get install -y clang-format | |
- name: Checkout the latest code (shallow clone) | |
uses: actions/checkout@v3 | |
- name: run black and commit changes | |
env: | |
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} | |
run: cp --preserve .github/format.sh /tmp && /tmp/format.sh |