KhronosGroup / KhronosGroup/SPIRV-Tools

[OpenCL validation] OpenCL 1.2 barrier instructions

Open
#2,603 1 comment 0 reactions 0 assignees View on GitHub
component:validation
Dominant language
C++
Stars
1.4k
Forks
709
Avg merge
1d 22h
Merged PRs (30d)
28

Description

For the Barrier Instructions **OpControlBarrier** and **OpMemoryBarrier**, the _Scope_ for _Execution_ must be _Workgroup_, the _Scope_ for _Memory_ must be _Workgroup_, and the _Memory Semantics_ must
be _SequentiallyConsistent_.

Contributor guide

Open the contributing guide

Research direction

Start by locating the validation logic for the OpenCL 1.2 barrier instructions OpControlBarrier and OpMemoryBarrier. Check how their execution scope, memory scope, and memory semantics are validated; done means the required Workgroup and SequentiallyConsistent constraints are enforced.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.