Skip to content

Commit e4fb820

Browse files
committed
removed usage of atomics
Change-Id: I7bd930cb52d58ca10fd49a5fe8f5d48b3e955d0a
1 parent b5599b7 commit e4fb820

File tree

1 file changed

+1
-2
lines changed
  • include/tvm/runtime/container

1 file changed

+1
-2
lines changed

include/tvm/runtime/container/map.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#endif
3030

3131
#include <algorithm>
32-
#include <atomic>
3332
#include <unordered_map>
3433
#include <utility>
3534

@@ -306,7 +305,7 @@ class MapNode : public Object {
306305

307306
protected:
308307
#if TVM_LOG_DEBUG
309-
std::atomic<uint64_t> state_marker;
308+
uint64_t state_marker;
310309
#endif // TVM_LOG_DEBUG
311310
/*!
312311
* \brief Create the map using contents from the given iterators.

0 commit comments

Comments
 (0)