Skip to content

merge aomp-dev into amd-staging - #2408

Open
z1-cciauto wants to merge 5 commits into
amd-stagingfrom
upstream_merge_202608061518
Open

merge aomp-dev into amd-staging#2408
z1-cciauto wants to merge 5 commits into
amd-stagingfrom
upstream_merge_202608061518

Conversation

@z1-cciauto

Copy link
Copy Markdown
Collaborator

No description provided.

dpalermo and others added 5 commits August 4, 2026 12:51
   - Avoids C++20 features introduced on latest development
     (we are currently compiling with C++17)
The test read the omp_target_alloc'd buffer directly from host code, but
that pointer refers to device memory. Whether such a read works depends on
the PCIe Resizable BAR setting, so the test passed on machines where the
CPU can map all of GPU memory and segfaulted where only the legacy 256MB
window is visible. Two gfx1030 machines differing only in that setting
disagreed, which is what surfaced it.

Copy the buffer back with omp_target_memcpy before checking it. The HIP side of the test is unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants