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

[SYCL][ESIMD] Add test for simd constructor from an array #674

Merged
merged 11 commits into from
Jan 11, 2022

Conversation

vasilytric
Copy link

This test uses different data types, dimensionality and different simd constructor invocation contexts.
The test does the following actions:

  • construct fixed-size array that filled with some values
  • use std::move() to provide it to simd constructor
  • bitwise compare expected and retrieved values

@vasilytric
Copy link
Author

@v-klochkov Vyacheslav, could you review this PR?

@vasilytric
Copy link
Author

@v-klochkov I can't enable runtime verification due to error: unsupported type for load/store error retrieved with different data types. could you review this test with enabled test building option?

@v-klochkov
Copy link

unsupported type for load/store

What are those "unsupported" types?

@vasilytric
Copy link
Author

What are those "unsupported" types?

@v-klochkov The test failed with simd vector length = 1. I've added macros for enabling tests for simd<DataT, 1> and now running test only with 8 and 16 simd vector length.

@v-klochkov v-klochkov merged commit 1d4ed12 into intel:intel Jan 11, 2022
myler added a commit to myler/llvm-test-suite that referenced this pull request Apr 12, 2022
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