Revert "Keep the map which tracks GPU kernel symbols to grow monotonically"

This reverts commit ca62af218c.


[ROCm/clr commit: 329f3b7a5e]
This commit is contained in:
Wen-Heng (Jack) Chung
2018-08-03 17:02:50 -05:00
parent 34e14adae2
commit 1494fc442f
+1 -3
View File
@@ -444,9 +444,7 @@ const unordered_map<uintptr_t, vector<pair<hsa_agent_t, Kernel_descriptor>>>& fu
auto cons = [rebuild]() {
if (rebuild) {
// do NOT clear r so we reuse instances of pair<hsa_agent_t, Kernel_descriptor>
// created previously
r.clear();
function_names(rebuild);
kernels(rebuild);
globals(rebuild);