Keep the map which tracks GPU kernel symbols to grow monotonically

This commit is contained in:
Wen-Heng (Jack) Chung committed 2018-09-26 19:49:02 +00:00
1 szülő 060b3c0bf8
commit e257de95f3
1 file changed
+3 -1
+3 -1
Fájl megtekintése
@@ -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);