llvm / llvm/offload-test-suite

Add offload tests for globallycoherent

Open
#1,379 0 comments 0 reactions 1 assignee View on GitHub

@inbelic is already working on this.

Since Aug 24, 2026.

Dominant language
C++
Stars
18
Forks
39
Avg merge
2d 18h
Merged PRs (30d)
40

Description

Add offload test-suite coverage that exercises the runtime behaviour enabled by `globallycoherent`, demonstrating cross-thread-group communication through a UAV.

For example a pattern like: write payload → publish flag → poll flag → read payload. https://godbolt.org/z/3eqxMWsTr

AC:

- [ ] An offload test that uses a `globallycoherent` UAV in a cross-thread-group handshake and checks the consumer observes the producer's write
- [ ] Coverage on both backends as supported by the offload harness
- [ ] The test is structured so the `globallycoherent` qualifier is the load-side differentiator (barriers present to isolate coherence from ordering)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.