llvm / llvm/offload-test-suite

[LongVec] Add elementwise test cases

Open
#1,462 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

Much of these are following a format so we can try and knock many of them out at once. This first batch of tests should cover:

- asdouble
- asfloat
- asin
- asint
- asint16
- asuint
- asuint16
- atan
- atan2
- ceil
- clamp
- clip
- cos
- cosh
- countbits
- ddx-coarse
- ddx-fine
- ddy-coarse
- ddy-fine
- degrees
- exp
- exp2
- f16tof32
- f32tof16
- firstbithigh
- firstbitlow
- floor
- fma
- fmod
- frac
- frexp
- isinf
- isnan
- ldexp
- lerp
- log
- log10
- log2
- mad
- max
- min
- modf
- pow
- radians
- rcp
- reversebits
- round
- rsqrt
- saturate
- select
- sign
- sin
- sinh
- smoothstep
- sqrt
- step
- tan
- tanh
- trunc

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

Locate the existing LongVec elementwise test cases and follow their format before adding coverage for the functions listed in the issue. Run the relevant offload test suite, and consider the work done when every listed operation has matching test coverage and the suite passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.