This repository was archived by the owner on Mar 28, 2023. It is now read-only.
forked from llvm/llvm-test-suite
-
Notifications
You must be signed in to change notification settings - Fork 131
[SYCL] Add test cases for muptiplies,bit_or,bit_xor,bit_and subgroup … #158
Merged
vladimirlaz
merged 4 commits into
intel:intel
from
v-klochkov:public_vklochkov_spiprv_1_3
Mar 4, 2021
Merged
[SYCL] Add test cases for muptiplies,bit_or,bit_xor,bit_and subgroup … #158
vladimirlaz
merged 4 commits into
intel:intel
from
v-klochkov:public_vklochkov_spiprv_1_3
Mar 4, 2021
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
v-klochkov
added a commit
to v-klochkov/llvm
that referenced
this pull request
Feb 26, 2021
This enables SPIR-V operations defined in version 1.3. For example, it becomes possible to use sub-group algorithms reduce(), exclusive_scan(), inclusive_scan() with multiply, bitwise OR/XOR/AND operations. The corresponding LIT test update is here: intel/llvm-test-suite#158 Signed-off-by: Vyacheslav N Klochkov <vyacheslav.n.klochkov@intel.com>
a8171a9
to
93992f8
Compare
pvchupin
pushed a commit
to intel/llvm
that referenced
this pull request
Feb 26, 2021
This patch enables SPIR-V operations defined in versions 1.2 and 1.3. The major change in SPIR-V 1.3 is adding more sub-group operations and this patch is motivated by the need to enable more sub-group algorithms such as reduce(), exclusive_scan(), inclusive_scan() with multiply,bitwise OR/XOR/AND operations. Lifting the max version to 1.3 should not cause backward compatibility issues as up to SPIR-V 1.3 there are no deleted SPIR-V operations. This though lifts the requirements to OpenCL and Level0 RT. The corresponding LIT test update is here: intel/llvm-test-suite#158 Signed-off-by: Vyacheslav N Klochkov <vyacheslav.n.klochkov@intel.com>
…algorithms These new test cases verify intel/llvm#3267 Signed-off-by: Vyacheslav N Klochkov <vyacheslav.n.klochkov@intel.com>
Signed-off-by: Vyacheslav N Klochkov <vyacheslav.n.klochkov@intel.com>
…n device had support for sub-groups Signed-off-by: Vyacheslav N Klochkov <vyacheslav.n.klochkov@intel.com>
93992f8
to
ac90159
Compare
The buildbot on Linux reports an issue (SYCL::Plugin/interop-level-zero-keep-ownership.cpp) unrelated to this patch. |
vladimirlaz
suggested changes
Mar 2, 2021
Signed-off-by: Vyacheslav N Klochkov <vyacheslav.n.klochkov@intel.com>
vladimirlaz
approved these changes
Mar 2, 2021
@vladimirlaz - thank you for the approval. The only failed test is on linux buildbot: it is for unrelated test: SYCL::Plugin/interop-level-zero-keep-ownership.cpp |
aelovikov-intel
pushed a commit
to aelovikov-intel/llvm
that referenced
this pull request
Mar 27, 2023
intel/llvm-test-suite#158) * Move spir-v 1.3 test cases to separate files to avoid failure on CUDA * Fix the check for sub-groups availability. It returned false even when device had support for sub-groups * Add checks for cl_khr_fp16/fp64
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…algorithms
Signed-off-by: Vyacheslav N Klochkov vyacheslav.n.klochkov@intel.com