Keep the map which tracks GPU kernel symbols to grow monotonically

Этот коммит содержится в:
Wen-Heng (Jack) Chung
2018-06-18 16:54:18 -05:00
родитель 35c542b70f
Коммит dd56942335
+3 -1
Просмотреть файл
@@ -444,7 +444,9 @@ const unordered_map<uintptr_t, vector<pair<hsa_agent_t, Kernel_descriptor>>>& fu
auto cons = [rebuild]() {
if (rebuild) {
r.clear();
// do NOT clear r so we reuse instances of pair<hsa_agent_t, Kernel_descriptor>
// created previously
function_names(rebuild);
kernels(rebuild);
globals(rebuild);