Change-Id: I3e1568f711ca1e863f8d912ba4598ac3ede5a46f
Αυτή η υποβολή περιλαμβάνεται σε:
Evgeny
2018-07-10 17:59:17 -05:00
γονέας 7ba92e192b
υποβολή 013721eb62
3 αρχεία άλλαξαν με 50 προσθήκες και 10 διαγραφές
+2 -1
Προβολή Αρχείου
@@ -259,7 +259,8 @@ PUBLIC_API bool OnLoad(HsaApiTable* table, uint64_t runtime_version, uint64_t fa
}
// Loading a tool lib and setting of intercept mode
intercept_mode = rocprofiler::LoadTool();
const bool intercept_mode_on = rocprofiler::LoadTool();
if (intercept_mode_on) intercept_mode = true;
// HSA intercepting
if (intercept_mode) {