Change-Id: I3e1568f711ca1e863f8d912ba4598ac3ede5a46f


[ROCm/rocprofiler commit: 013721eb62]
Этот коммит содержится в:
Evgeny
2018-07-10 17:59:17 -05:00
родитель 0f28f1b684
Коммит 624dbeb708
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) {