[all-commits] [llvm/llvm-project] 47a3ad: [Libomptarget] Handle dynamic stack sizes for AMD ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Nov 20 10:48:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47a3ad5be1c60fc0bd40bef5b53907bb1792b6e5
      https://github.com/llvm/llvm-project/commit/47a3ad5be1c60fc0bd40bef5b53907bb1792b6e5
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2023-11-20 (Mon, 20 Nov 2023)

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/amdgpu/dynamic_hsa/hsa.h
    M openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h

  Log Message:
  -----------
  [Libomptarget] Handle dynamic stack sizes for AMD COV5 (#72606)

Summary:
One of the changes in the AMD code-object version five was that kernels
that use an unknown amount of private stack memory now no longer default
to 16 KBs. Instead it emits a flag that indicates the runtime must
provide a value. This patch checks if we must provide such a stack, and
uses the existing handling of the stack environment variable to
configure it.




More information about the All-commits mailing list