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

[SYCL] Check for aspect::fp64 in ESIMD/api/*ops_heavy.cpp #1248

Merged
merged 1 commit into from
Sep 13, 2022

Conversation

aelovikov-intel
Copy link

No description provided.

@aelovikov-intel aelovikov-intel requested a review from a team as a code owner September 9, 2022 23:32
Comment on lines +274 to +275
if (dev.has(aspect::fp64))
passed &= test<double, half, 7, BinOp, VSf, IDf>(arith_ops, q);

Choose a reason for hiding this comment

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

I think, this code should check for both fp64 and fp16

Comment on lines 291 to 292
passed &= test<half, char, 1, BinOp, verify_n, IDf>(div_op, q, 1);
passed &= test<half, unsigned int, 32, BinOp, VSf, IDf>(div_op, q, 1);

Choose a reason for hiding this comment

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

Would you please add check for fp16?

Copy link
Author

Choose a reason for hiding this comment

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

I'd rather do it in a different PR. Fp64 is way more urgent because our CI is broken.

@aelovikov-intel
Copy link
Author

The tests modified in this PR start to pass in the CI (no mention of them in the failed tasks) hence the failures are unrelated.

FP16 aspect isn't as urgent and should be addressed in a different PR. Can anybody approve and merge this?

Copy link

@v-klochkov v-klochkov left a comment

Choose a reason for hiding this comment

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

Thank you for doing these changes.
Approved to speedup CI recovery. fp16 still needs similar checks later.

@aelovikov-intel
Copy link
Author

@intel/llvm-gatekeepers we've agreed offline to proceed with this approach in the short term at least. The tests updated by this PR are passing in pre-commit CI (and thus other failures are unrelated).

Please merge this in.

@pvchupin pvchupin merged commit 5b915e1 into intel:intel Sep 13, 2022
myler added a commit to myler/llvm-test-suite that referenced this pull request Mar 22, 2023
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Mar 22, 2023
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.

3 participants