diff --git a/rocclr/platform/memory.cpp b/rocclr/platform/memory.cpp index 892c8655de..1edd79b3af 100644 --- a/rocclr/platform/memory.cpp +++ b/rocclr/platform/memory.cpp @@ -29,7 +29,7 @@ #include // Stores the no. of memory allocations -std::atomic numAllocs = 0; +std::atomic numAllocs = {0}; namespace amd {