-
Notifications
You must be signed in to change notification settings - Fork 131
[SYCL][ESIMD] Add test for esimd default constructor #565
Conversation
Please ensure you follow the LLVM Developer Policy as required by CONTRIBUTING.md. Also do we really need a separate "apply clang-format" commit? I mean, it looks like you were preparing the clean commit history before publishing your code anyway.. |
Commits messages was changed after force pushing
This commit was created after CI running and clang-format issues was found, but now this commit was deleted due to force pushing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks great in general
My bad. I've missed it, sorry for that |
…ncapsulation levels
Add some struct that calls simd constructor, this let easily add new or delete existing test case
Base includes moved into common.hpp, removed "type_coverage" namespace and deleted "Logger struct", them methods now just a functions
- Now return named_type_pack without constructing some variable - change names fields of tested_types enum
@kbobrovs @v-klochkov could you review this test for |
Add "#pragma once" and some includes into logger.hpp and type_coverage.hpp
I would still strongly recommend to use |
OK, I moved this file into |
Fix text of the file description, update includes: fix path in includes due to some path have extra "../" and it is not correspond to current path, on Windows it was OK, but on Linux it could be compilation error
Please fix the test, see the CI fail at the newly added test. |
- Were reworked comments that can rot - Were changed some other comments
simd can't be constructed with sycl::half data type, i've done it for successfully running GitHub CI
List of required platforms should be separated by commas, it is required by the document "LLVM Testing Infrastructure Guide"
The CI on Also at the beginning of the tests was added comment about situation with @v-klochkov do you have any other comments to this PR? can we merge it? |
We requiring gpu and level_zero platforms due to the tests on simd constructors doesn't supported OPenCL platform yet
@v-klochkov CI on windows failed due to |
@v-klochkov can we merge this PR? |
This PR provides test for
simd
default constructor.The test verifies that
simd
's elements value is equal to default value of element typeAlso this PR provides common files: