[all-commits] [llvm/llvm-project] 84d8ac: [OpenMP][Obvious] Fix function prototype when used...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Oct 25 07:35:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 84d8ace51a5afb07b528f65cde091cf3dbd7c326
      https://github.com/llvm/llvm-project/commit/84d8ace51a5afb07b528f65cde091cf3dbd7c326
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-10-25 (Wed, 25 Oct 2023)

  Changed paths:
    M openmp/runtime/src/include/omp.h.var

  Log Message:
  -----------
  [OpenMP][Obvious] Fix function prototype when used in C mode

Summary:
The `llvm_omp_target_dynamic_shared_alloc` prototype in `omp.h`
accidentally left the void argument unspecified. This created unintended
code when called from the C language, causing some `nvlink` failures in
certain scenarios.




More information about the All-commits mailing list