Keep the map which tracks GPU kernel symbols to grow monotonically

Ta zmiana jest zawarta w:
%! (template.HTML=Wen-Heng (Jack) Chung)złożyło 2018-09-26 19:49:02 +00:00
1 rodzic 35c542b70f
złożenie dd56942335
Plik 1 zmieniony
+3 -1
+3 -1
Wyświetl plik
@@ -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);