From 119ee4b6716bb2c30ea32f0caadecce4de62041a Mon Sep 17 00:00:00 2001 From: mhbliao <47895780+mhbliao@users.noreply.github.com> Date: Thu, 5 Sep 2019 06:03:43 -0400 Subject: [PATCH] [hip] Stop using `noduplicate` and replace it with `convergent`. (#1390) --- include/hip/hcc_detail/device_functions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hip/hcc_detail/device_functions.h b/include/hip/hcc_detail/device_functions.h index 5ad1ced41c..1199f7b663 100644 --- a/include/hip/hcc_detail/device_functions.h +++ b/include/hip/hcc_detail/device_functions.h @@ -970,7 +970,7 @@ static void __barrier(int n) __device__ inline -__attribute__((noduplicate)) +__attribute__((convergent)) void __syncthreads() { __barrier(__CLK_LOCAL_MEM_FENCE);