SWDEV-480772 - Remove name variable from amd::Monitor class.

Change-Id: Ie2a4fa44f485786227230f8a892e090e718aa30e
This commit is contained in:
kjayapra-amd
2024-08-07 18:10:41 -04:00
committed by Karthik Jayaprakash
parent cfdc9dfc36
commit 12a39fbf22
27 changed files with 76 additions and 83 deletions
+2 -1
View File
@@ -306,7 +306,8 @@ bool RTCCompileProgram::transformOptions(std::vector<std::string>& compile_optio
return findIsa();
}
amd::Monitor RTCProgram::lock_("HIPRTC Program", true);
// HIPRTC Program lock
amd::Monitor RTCProgram::lock_(true);
bool RTCCompileProgram::compile(const std::vector<std::string>& options, bool fgpu_rdc) {
if (!addSource_impl()) {
+2 -1
View File
@@ -72,7 +72,8 @@ template <typename T, typename... Args> inline std::string ToString(T first, Arg
} // namespace internal
} // namespace hiprtc
static amd::Monitor g_hiprtcInitlock{"hiprtcInit lock"};
// hiprtcInit lock
static amd::Monitor g_hiprtcInitlock{};
#define HIPRTC_INIT_API_INTERNAL(...) \
amd::Thread* thread = amd::Thread::current(); \
if (!VDI_CHECK_THREAD(thread)) { \