KhronosGroup / KhronosGroup/OpenCL-Docs

SPIR-V: Validation rules for memory semantics storage classes?

Open
#91 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
420
Forks
131
Avg merge
5d 13h
Merged PRs (30d)
11

Description

Question from https://github.com/KhronosGroup/OpenCL-Docs/pull/89#issuecomment-503557202:

Memory Semantics is used to specify both memory-order constraints and the storage classes they apply to.

Make it explicit that only the memory-order constraint bits are restricted. The storage class can vary (WorkgroupMemory or CrossWorkgroupMemory).

do we want 1.2 validation rules for the storage classes? Can we define them more generally?

Contributor guide

Open the contributing guide

Research direction

Start with the OpenCL-Docs pull request and comment linked in the issue, then review the surrounding SPIR-V memory-semantics validation rules. Clarify whether only memory-order constraint bits are restricted and whether storage-class rules should be defined generally; done means the specification records an agreed, explicit rule.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.