Skip to content

Commit

Permalink
[amdgpu][openmp][nfc] Restore stb_local on DeviceInfo symbol
Browse files Browse the repository at this point in the history
(cherry picked from commit c214cb6)
  • Loading branch information
JonChesterfield authored and tstellar committed Aug 8, 2022
1 parent b5151c3 commit 087d9bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
Expand Up @@ -1116,7 +1116,7 @@ pthread_mutex_t SignalPoolT::mutex = PTHREAD_MUTEX_INITIALIZER;
// Putting accesses to DeviceInfo global behind a function call prior
// to changing to use init_plugin/deinit_plugin calls
static RTLDeviceInfoTy DeviceInfoState;
RTLDeviceInfoTy& DeviceInfo() { return DeviceInfoState; }
static RTLDeviceInfoTy& DeviceInfo() { return DeviceInfoState; }

namespace {

Expand Down

0 comments on commit 087d9bb

Please sign in to comment.