Keep the map which tracks GPU kernel symbols to grow monotonically
[ROCm/clr commit: e257de95f3]
Этот коммит содержится в:
1 родитель
1e956fcd70
Коммит
73fc21f717
1 file changed
+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);
|
||||
|
||||
Reference in new issue
Block a user