Skip to content

Conversation

@DominikAdamski
Copy link
Contributor

@DominikAdamski DominikAdamski commented Dec 4, 2025

Merge only with: ROCm/llvm-project#756

Motivation

Modify aomp scripts to test PR: ROCm/llvm-project#328

Technical Details

This PR adds required changes to build GPU LLVM IR Flang runtime.

Test Plan

Test procedure:

  1. Apply this PR
  2. Apply LLVM PR: [Flang-RT] Changes required for embedded GPU LLVM IR Flang runtime llvm-project#328 for LLVM
  3. Build AOMP :
./build_aomp.sh

a) (Optional) Build flang_rt.hostdevice if you want to use old -lflang_rt.hostdevice

./build_llvm-flang-rt-host-dev.sh
  1. Test smoke-fort-dev for the new Flang RT:
IMPLICIT_GPU_FLANG_RT=1 ./check_smoke_fort_dev.sh 

(Optional) Test smoke-fort-dev for the old Flang RT (flang_rt.hostdevice):
Make sure, you built flang_rt.hostdevice (point 3a), and launch smoke_fort_dev tests (no additional env vars)

Test Result

No regression for smoke-fort-dev.

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.

1 participant