Use std::atomic

Replace amd::Atomic with std::atomic. Remove make_atomic uses by
converting the variable to std::atomic and making sure the memory
order is relaxed when synchronizes-with is not needed.

Delete utils/atomic.hpp.

Change-Id: I0b36db8d604a8510ac6e36b32885fd16a1b8ccfa


[ROCm/clr commit: 5d4b6f74d3]
Ta zmiana jest zawarta w:
Laurent Morichetti authored and Saleel Kudchadker committed 2020-09-09 14:55:29 -04:00
1 rodzic 92cf96e1d0
złożenie c863b2074b
22 plików zmienionych
+46 -495

Żadne pliki nie pasują do Twojego wyszukiwania

+1 -1
Wyświetl plik
@@ -19,11 +19,11 @@
THE SOFTWARE. */
#include "thread/monitor.hpp"
#include "thread/atomic.hpp"
#include "thread/semaphore.hpp"
#include "thread/thread.hpp"
#include "utils/util.hpp"
#include <atomic>
#include <cstring>
#include <tuple>
#include <utility>