KhronosGroup / KhronosGroup/OpenCL-CTS

SPIR-V 1.6 Testing

Open
#2,220 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
232
Forks
235
Avg merge
8d 7h
Merged PRs (30d)
18

Description

Here is one more issue to track SPIR-V 1.6 testing.

* New Behavior:
- [x] Adds a new **Nontemporal** image operand. https://github.com/KhronosGroup/OpenCL-CTS/pull/2249
- The **FP Fast Math Mode** can apply to many more instructions:
- [ ] **OpFNegate**
- [ ] Comparison instructions such as **OpOrdered**, **OpUnordered**, **OpFOrdEqual**, etc.
- [ ] Extended instructions - TBD, which ones?
- [x] Adds the **UniformDecoration** capability, and **Uniform** and **UniformId** decorations. https://github.com/KhronosGroup/OpenCL-CTS/pull/2254
- [ ] **DotProduct** and associated instructions may now be available without SPV_KHR_integer_dot_product. https://github.com/KhronosGroup/OpenCL-CTS/pull/2258
- "NonSemantic" extended instruction sets are available.
- [ ] Test that bogus non-semantic extended instruction sets are accepted, and that instructions from this non-semantic extended instruction set are ignored.
- Note: For other, known non-semantic extended instruction sets, additional testing will be done as part of the non-semantic instruction set itself.

* Restrictions (informational):
- **OpTypeSampledImage** and **OpSampledImage** do not work on **Buffer** images.
- **OpBranchConditional** cannot have the same id for the _True Lable_ and _False Label_.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the unchecked SPIR-V 1.6 behaviors in this issue and the linked OpenCL-CTS pull requests for related test patterns. Done means covering FP Fast Math Mode cases, DotProduct availability, and bogus non-semantic extended instruction sets, while accounting for the listed restrictions.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.