Implement Memory Fence Functions in header

Enabled __llvm_fence_* functions for seq_cst.
This commit is contained in:
Aaron Enye Shi
2018-07-04 23:13:35 +00:00
parent ce9ca744dc
commit 96ab7c7b25
5 ha cambiato i file con 109 aggiunte e 117 eliminazioni
-3
Vedi File
@@ -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); }