Keep the map which tracks GPU kernel symbols to grow monotonically

This commit is contained in:
Wen-Heng (Jack) Chung
2018-06-18 16:54:18 -05:00
والد 060b3c0bf8
کامیت e257de95f3
+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);