implement __threadfence_system

This commit is contained in:
Siu Chi Chan
2017-08-02 08:50:18 +00:00
parent 3061e394bf
commit b6e22b5c93
3 changed files with 130 additions and 2 deletions
+1 -1
View File
@@ -1264,7 +1264,7 @@ __device__ double __hip_fast_dsqrt_rz(double x) {
}
__device__ void __threadfence_system(void){
// no-op
std::atomic_thread_fence(std::memory_order_seq_cst);
}
double __hip_host_j0(double x)