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
This commit is contained in:
neqochan
2022-02-20 15:01:37 +01:00
committato da Jeremy Newton
parent 5f0b129e26
commit ebfa343827
+1 -1
Vedi File
@@ -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 {