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

Update more tests to account for optionality of double type #1242

Conversation

AlexeySachkov
Copy link

No description provided.

@AlexeySachkov AlexeySachkov requested review from a team and Pennycook as code owners September 9, 2022 13:44
@AlexeySachkov AlexeySachkov requested review from aelovikov-intel and removed request for a team September 12, 2022 15:43
@@ -12,27 +12,27 @@ union TestUnion {
public:
int myint;
char mychar;
double mydouble;
float myfloat;

Choose a reason for hiding this comment

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

Choose a reason for hiding this comment

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

If any work on this PR is planned, I'd prefer you to exclude this file from it. Otherwise, if it's ready, we can submit and I'll update literals only in my PR.

Copy link
Author

Choose a reason for hiding this comment

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

Removed in a5e1dc5

@@ -40,7 +37,7 @@ int main() {
auto Kernel = KB.get_kernel(KernelID);
range<2> GlobalRange{50, 40};

buffer<double, 2> ABuf{GlobalRange}, BBuf{GlobalRange}, CBuf{GlobalRange};
buffer<float, 2> ABuf{GlobalRange}, BBuf{GlobalRange}, CBuf{GlobalRange};

Choose a reason for hiding this comment

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

I'm also touching it in #1246, but I prefer your change. I'll exclude the file from my PR.

Copy link

@aelovikov-intel aelovikov-intel left a comment

Choose a reason for hiding this comment

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

LGTM, but @kbobrovs might have another opinion regarding skipping tests.

@@ -27,12 +27,11 @@ struct test_struct {
long long d;
half e;
float f;
double g;

Choose a reason for hiding this comment

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

Could we have another struct with the double and give it the same treatment as just double?

Copy link

@aelovikov-intel aelovikov-intel Sep 13, 2022

Choose a reason for hiding this comment

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

I think this can be addressed post-commit in another PR to fix the currently failing tests in CI asap.

@intel/llvm-gatekeepers would you agree with that? If so, please merge it in - the tests modified here are passing in pre-commit CI and the failures are on other tests and thus unrelated.

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.

Approving, since 'REQUIRES: aspect-feature' is not implemented yet, and we need solution ASAP.

@pvchupin pvchupin merged commit 5f9e79a into intel:intel Sep 13, 2022
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.

5 participants