[all-commits] [llvm/llvm-project] 344046: [OpenMP] Fix two usm tests for amdgpus. (#78824)

carlobertolli via All-commits all-commits at lists.llvm.org
Mon Jan 22 06:57:03 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3440466536c97ced20e366301a60f12f4fd01e30
      https://github.com/llvm/llvm-project/commit/3440466536c97ced20e366301a60f12f4fd01e30
  Author: carlobertolli <carlo.bertolli at amd.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M openmp/libomptarget/test/lit.cfg
    M openmp/libomptarget/test/lit.site.cfg.in
    M openmp/libomptarget/test/unified_shared_memory/api.c
    M openmp/libomptarget/test/unified_shared_memory/close_enter_exit.c

  Log Message:
  -----------
  [OpenMP] Fix two usm tests for amdgpus. (#78824)

Some are missing setting of HSA_XNACK=1 environment variable, used to
enable unified memory support on amdgpu's when it's not been set at
kernel boot time. Some others needed to be marked as supporting
unified_shared_memory in the lit test harness.

Extend lit test harness to enable unified_shared_memory requirement for
AMD GPUs.

Reland: #77851




More information about the All-commits mailing list