SWDEV-480772 - Remove name variable from amd::Monitor class.
Change-Id: Ie2a4fa44f485786227230f8a892e090e718aa30e
This commit is contained in:
committed by
Karthik Jayaprakash
parent
cfdc9dfc36
commit
12a39fbf22
@@ -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()) {
|
||||
|
||||
@@ -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)) { \
|
||||
|
||||
Reference in New Issue
Block a user