SWDEV-1 - Fix illegal atomic initialization

See https://stackoverflow.com/a/21710850 for an extensive discussion.

This is a cherry-pick from a github pull request:
https://github.com/ROCm-Developer-Tools/ROCclr/pull/29

Change-Id: I87a58548d2995ab51a7cd6e684b5442e5b300923
Цей коміт міститься в:
neqochan authored and Jeremy Newton committed 2022-05-31 09:51:44 -04:00
1 джерело 5f0b129e26
коміт ebfa343827
1 file changed
+1 -1
+1 -1
Переглянути файл
@@ -29,7 +29,7 @@
#include <atomic>
// Stores the no. of memory allocations
std::atomic<uint32_t> numAllocs = 0;
std::atomic<uint32_t> numAllocs = {0};
namespace amd {