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

[SYCL][ESIMD] Add function that let iterating over types and dims #588

Merged

Conversation

vasilytric
Copy link

@vasilytric vasilytric commented Nov 25, 2021

The new version of for_all_types will be useful in tests for simd
This feature lets us avoid using a lots of aliases duplicating instead of this just using values_pack, it can be found here

The testing result is the same as before using this feature

Was added function for_types_and_dims and was updated "ctor_default"
test
Copy link

@yuriykoch yuriykoch left a comment

Choose a reason for hiding this comment

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

Would you mind to also update the ctor_copy.cpp as it's merged already?

- New struct names with lesser character names provides write our
  statements in one string
- Now ctor_copy.cpp used "for_all_types_and_dims" function
- Add factory method get_tested_dimensions, so we have same logic with
  retreiving tested types
- Reverted comment that how "for_all_types" works
@vasilytric
Copy link
Author

@sndmitriev Could you review this PR?

Copy link

@sndmitriev sndmitriev left a comment

Choose a reason for hiding this comment

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

LGTM

@vasilytric
Copy link
Author

@sndmitriev I am not authorized to merge this PR, could you merge it?

@sndmitriev
Copy link

@sndmitriev I am not authorized to merge this PR, could you merge it?

Neither do I. @kbobrovs, can you please merge this PR?

@v-klochkov v-klochkov merged commit fd7323c into intel:intel Dec 15, 2021
@vasilytric
Copy link
Author

@v-klochkov @sndmitriev thanks Vyacheslav and Serguei

aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
…tel/llvm-test-suite#588)

* [SYCL][ESIMD] Add functions that let iterating over types and dims

-  Added function for_types_and_dims and was updated "ctor_default" test
- New struct names with lesser character names provides write our
  statements in one string
- Now ctor_copy.cpp used "for_all_types_and_dims" function
- Add factory method get_tested_dimensions, so we have same logic with
  retreiving tested types
- Reverted comment that how "for_all_types" works
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