[all-commits] [llvm/llvm-project] 097f42: [OpenMP][libomptarget] Fix deinit of NextGen AMDGP...

Kevin Sala Penadés via All-commits all-commits at lists.llvm.org
Fri Jan 20 04:18:33 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 097f42602d83926a9d5e7fbe3d0bb8ef5c733183
      https://github.com/llvm/llvm-project/commit/097f42602d83926a9d5e7fbe3d0bb8ef5c733183
  Author: Kevin Sala <kevin.sala at bsc.es>
  Date:   2023-01-20 (Fri, 20 Jan 2023)

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp

  Log Message:
  -----------
  [OpenMP][libomptarget] Fix deinit of NextGen AMDGPU plugin

This patch fixes a segfault that was appearing when the plugin fails to
initialize and then is deinitialized. Also, do not call hsa_shut_down if
the hsa_init failed.

Differential Revision: https://reviews.llvm.org/D142145




More information about the All-commits mailing list