minor cleanup
Tá an tiomantas seo le fáil i:
1 tuismitheoir
f54da9358b
tiomantas
5044c9ba49
1 comhad athraithe
+1
-2
@@ -2577,8 +2577,7 @@ hipError_t read_agent_global_from_module(hipDeviceptr_t* dptr, size_t* bytes,
|
||||
// hipModule_t instance
|
||||
static std::unordered_map<
|
||||
std::string, std::vector<Agent_global>> agent_globals;
|
||||
const char* hash = hash_for(hmod);
|
||||
std::string key(hash);
|
||||
std::string key(hash_for(hmod));
|
||||
|
||||
if (agent_globals.count(key) == 0) {
|
||||
static std::mutex mtx;
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir