llvm / llvm/offload-test-suite

Remove Nan, inf and denorms when leads to testing undefined behaviour

Open
#1,097 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
18
Forks
39
Avg merge
2d 18h
Merged PRs (30d)
40

Description

Not all IHVs compiler drivers deal with Nan, inf and denorms inconsistently. A lot of times we use those values in tests, which leads to flaky and wrong tests. This issue is to remove those scenarios with the goal of making tests consistent across IHVs.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the offload test suite for uses of NaN, inf, and denormal values, then identify which tests depend on inconsistent IHV compiler-driver behavior. Run the affected tests across the supported drivers; done means those undefined or inconsistent-value scenarios no longer produce flaky or incorrect results.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.