[all-commits] [llvm/llvm-project] 383d48: [openmp][flang][offloading] Do not use fixed devic...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Wed Jan 24 02:52:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 383d488b0bd68f1abd58c2d0114f82c54ee286d1
      https://github.com/llvm/llvm-project/commit/383d488b0bd68f1abd58c2d0114f82c54ee286d1
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2024-01-24 (Wed, 24 Jan 2024)

  Changed paths:
    M openmp/libomptarget/test/offloading/fortran/target_map_common_block1.f90

  Log Message:
  -----------
  [openmp][flang][offloading] Do not use fixed device IDs in checks (#78973)

Fixes a small issues in an offloading test where the test dependec on
the host and device being assigned certains numeric IDs. This however is
not stable and fails in situations where any of the devices is assigned
an ID different from the expected value. The fix just checks that
offloading succeeded by making sure the IDs are different.

The test was failing locally for me.




More information about the All-commits mailing list