Implement Memory Fence Functions in header

Enabled __llvm_fence_* functions for seq_cst.


[ROCm/hip commit: 930a16bccd]
Tento commit je obsažen v:
Aaron Enye Shi
2018-07-04 23:13:35 +00:00
rodič 6bcb3cca86
revize 0ea959ba9d
5 změnil soubory, kde provedl 109 přidání a 117 odebrání
-3
Zobrazit soubor
@@ -155,6 +155,3 @@ __host__ __device__ int max(int arg1, int arg2) {
}
__host__ void* __get_dynamicgroupbaseptr() { return nullptr; }
__device__ void __threadfence_system(void) { std::atomic_thread_fence(std::memory_order_seq_cst); }