Skip to content

Commit 087d9bb

Browse files
JonChesterfieldtstellar
authored andcommitted
[amdgpu][openmp][nfc] Restore stb_local on DeviceInfo symbol
(cherry picked from commit c214cb6)
1 parent b5151c3 commit 087d9bb

File tree

1 file changed

+1
-1
lines changed
  • openmp/libomptarget/plugins/amdgpu/src

1 file changed

+1
-1
lines changed

openmp/libomptarget/plugins/amdgpu/src/rtl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ pthread_mutex_t SignalPoolT::mutex = PTHREAD_MUTEX_INITIALIZER;
11161116
// Putting accesses to DeviceInfo global behind a function call prior
11171117
// to changing to use init_plugin/deinit_plugin calls
11181118
static RTLDeviceInfoTy DeviceInfoState;
1119-
RTLDeviceInfoTy& DeviceInfo() { return DeviceInfoState; }
1119+
static RTLDeviceInfoTy& DeviceInfo() { return DeviceInfoState; }
11201120

11211121
namespace {
11221122

0 commit comments

Comments
 (0)