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);