Skip to content

[UT] Automatically generate skiplist when on a new platform#1596

Merged
AshburnLee merged 1 commit into
llvm-targetfrom
lijunhui/auto-skiplist
Jul 12, 2024
Merged

[UT] Automatically generate skiplist when on a new platform#1596
AshburnLee merged 1 commit into
llvm-targetfrom
lijunhui/auto-skiplist

Conversation

@AshburnLee
Copy link
Copy Markdown

@AshburnLee AshburnLee commented Jul 10, 2024

The core Triton is a small number of people, and we receive many PRs (thank
you!). To help us review your code more quickly, if you are a new
contributor (less than 3 PRs merged) we ask that you complete the following
tasks and include the filled-out checklist in your PR description.

Complete the following tasks before sending your PR, and replace [ ] with
[x] to indicate you have done them.

  • I am not making a trivial change, such as fixing a typo in a comment.

  • I have written a PR description following these
    rules.

  • I have run pre-commit run --from-ref origin/main --to-ref HEAD.

  • Select one of the following.

    • I have added tests.
      • /test for lit tests
      • /unittest for C++ tests
      • /python/test for end-to-end tests
    • This PR does not need a test because This is for skiplists generation.
  • Select one of the following.

    • I have not added any lit tests.
    • The lit tests I have added follow these best practices,
      including the "tests should be minimal" section. (Usually running Python code
      and using the instructions it generates is not minimal.)

Functionality

This PR fix #1423

Use

./scripts/automate_skiplist.sh ${NEW_PLATFORM} gives you
./scripts/skiplist/${NEW_PLATFORM}/....txt

@AshburnLee AshburnLee self-assigned this Jul 10, 2024
@AshburnLee AshburnLee force-pushed the lijunhui/auto-skiplist branch from 020f727 to 0b92dea Compare July 10, 2024 03:10
@AshburnLee AshburnLee changed the title main body of automate failed caases generation [UT] Automatically generate skiplist when on a new platform Jul 10, 2024
Comment thread scripts/automate_skiplist.sh Outdated
TRITON_TEST_REPORTS=true
source ${TRITON_PROJ}/scripts/pytest-utils.sh

# core tests
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is it possible to use the existing test-triton.sh to run the tests? It would be nice to have it in one place (actually, we have another similar code in the CI workflow, but having it in 3 places it would be overkill, IMHO).

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Done, reused test-triton.sh. Plus interpreter test is enabled from CI but it was not in test-triton.sh, so I add interpreter test.

@AshburnLee AshburnLee force-pushed the lijunhui/auto-skiplist branch from 0b92dea to 655ac14 Compare July 11, 2024 03:38
@AshburnLee AshburnLee force-pushed the lijunhui/auto-skiplist branch from 655ac14 to 3a2b234 Compare July 11, 2024 08:52
@AshburnLee AshburnLee merged commit 66bdb7d into llvm-target Jul 12, 2024
@whitneywhtsang whitneywhtsang deleted the lijunhui/auto-skiplist branch July 22, 2024 03:01
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.

Automatically generate skiplist when on a new platform

2 participants