Keep the map which tracks GPU kernel symbols to grow monotonically

Cette révision appartient à :
Wen-Heng (Jack) Chung
2018-06-18 16:54:18 -05:00
Parent ece4539c1d
révision 32789a8b7d
+3 -1
Voir le fichier
@@ -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);