operator[] default-constructs the map value if no value exists for that key. Default-construction of int yields a zero. So all the manual faffing around is just unnecessary. [ROCm/hip commit: d8beee8918]
d8beee8918