SWDEV-391178 - Extern monitor to avoid copy in multithreading.

Defining monitor in header cause copy and hence it's moved to cpp.

Change-Id: Ib07bbde2808d9cb2af9349076f777e8a5b28d210


[ROCm/clr commit: e8eb1772f2]
This commit is contained in:
Jaydeep Patel authored and Jaydeepkumar Patel committed 2023-04-19 00:58:49 -04:00
1 vanhempi 82219d2fb1
commit 06bc6d9980
2 files changed
+2 -2

No files matched your search

@@ -26,7 +26,7 @@
#include "utils/versions.hpp"
std::vector<hip::Device*> g_devices;
amd::Monitor g_hipInitlock{"hipInit lock"};
namespace hip {
thread_local TlsAggregator tls;
amd::Context* host_context = nullptr;