KhronosGroup / KhronosGroup/Vulkan-MemoryModel

Relation between sref and sloc

Open
#31 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
117
Forks
15
PR merge metrics
No merged PRs in 30d

Description

I am trying to understand if the property `sref <= sloc` holds (where `<=` means subset of) and thus having `sloc & sref` in the definition of `mutordatom` is redundant.

If I think of `sref` and `sloc` as virtual an physical memory, I think the property should hold. However, it seems that on the device, `sref` can be [other things](https://registry.khronos.org/vulkan/specs/1.3/html/chap38.html#memory-model-references). Thus, I'm not completely sure if the property should also hold for those cases.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked Vulkan memory-model references section and the definition of mutordatom, then compare the meanings of sref and sloc for the cases described there. Done means resolving whether sref is always a subset of sloc and recording whether the conjunction is redundant.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.