[all-commits] [llvm/llvm-project] 2257e3: [openmp] Workaround for HSA in issue 60119
Jon Chesterfield via All-commits
all-commits at lists.llvm.org
Sat Jan 21 04:01:36 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2257e3d2e55a52d70db10e9f4ed1669ab79ace3f
https://github.com/llvm/llvm-project/commit/2257e3d2e55a52d70db10e9f4ed1669ab79ace3f
Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
Date: 2023-01-21 (Sat, 21 Jan 2023)
Changed paths:
M openmp/libomptarget/include/device.h
M openmp/libomptarget/include/rtl.h
M openmp/libomptarget/plugins/remote/server/Server.cpp
M openmp/libomptarget/src/interface.cpp
M openmp/libomptarget/src/rtl.cpp
Log Message:
-----------
[openmp] Workaround for HSA in issue 60119
Move plugin initialization to libomptarget initialization.
Removes the call_once control, probably fractionally faster overall.
Fixes issue 60119 because the plugin initialization, which might
try to dlopen unrelated shared libraries, is no longer nested within
a call from application code.
Fixes #60119
Reviewed By: Maetveis, jhuber6
Differential Revision: https://reviews.llvm.org/D142249
More information about the All-commits
mailing list