Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[ESIMD] Separate ieee sqrt/div functions from ext_math.cpp test #1398

Merged
merged 2 commits into from
Nov 29, 2022

Conversation

v-klochkov
Copy link

This patch:

  • separates the ieee_sqrt() and ieee_div() test cases to a new test, which is not started on Gen12 because it doesn't support those operations even for fp32.
  • enables ext_math.cpp on Windows.

Signed-off-by: Vyacheslav N Klochkov [email protected]

@v-klochkov v-klochkov requested a review from a team as a code owner November 18, 2022 19:54
This patch:
- separates the ieee_sqrt() and ieee_div() test cases to a new test,
  which is not started on Gen12 because it doesn't support those
  operations even for fp32.
- enables ext_math.cpp on Windows.

Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Copy link

@kbobrovs kbobrovs left a comment

Choose a reason for hiding this comment

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

LGTM, except that I'm not sure what architectures are really covered by this lit feature - gpu-intel-gen12.

@v-klochkov
Copy link
Author

@pvchupin - I am trying to disable the test ext_math_ieee_sqrt_div.cpp on Tigerlake (aka Gen12 if I understand it correctly).
The test prints "Running on Intel(R) Iris(R) Xe Graphics" (aka Tigerlake/gen12) and failing.

Can you please recommend some better way to disable the test, or recommend someone who can give such recommendation?

@pvchupin
Copy link

Can you please recommend some better way to disable the test, or recommend someone who can give such recommendation?

I don't remember who introduced these filters to LIT framework. You can try git blame.
@steffenlarsen, do you remember?

@steffenlarsen
Copy link

@steffenlarsen, do you remember?

I believe gpu-intel-gen12 was introduced by @myler

@v-klochkov v-klochkov merged commit 6585ac7 into intel:intel Nov 29, 2022
@v-klochkov v-klochkov deleted the esimd_ieee_sqrt_div branch November 29, 2022 02:45
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Mar 22, 2023
…l#1398)

* [ESIMD] Separate ieee sqrt/div functions from ext_math.cpp test

This patch:
- separates the ieee_sqrt() and ieee_div() test cases to a new test,
  which is not started on Gen12 because it doesn't support those
  operations even for fp32.
- enables ext_math.cpp on Windows.

Signed-off-by: Vyacheslav N Klochkov <[email protected]>
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
…l/llvm-test-suite#1398)

* [ESIMD] Separate ieee sqrt/div functions from ext_math.cpp test

This patch:
- separates the ieee_sqrt() and ieee_div() test cases to a new test,
  which is not started on Gen12 because it doesn't support those
  operations even for fp32.
- enables ext_math.cpp on Windows.

Signed-off-by: Vyacheslav N Klochkov <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants