From 01cd9c7e9581a3640ab5f74b8a04a7d8657d2907 Mon Sep 17 00:00:00 2001 From: Nathan Bell Date: Thu, 29 Sep 2011 22:15:05 -0400 Subject: [PATCH] added #pragma intrinsic(_ReadWriteBarrier) P4 Change 11046532 on 2011/09/29 22:15:05 by nbell --HG-- branch : 1.5.0 extra : transplant_source : S%EC%E0%23%B3%A1%7E%B7%5C%19%8E%EF%ED%20%B59-p%25%25 --- .LATEST_P4_CHANGELIST | 8 +++++++- thrust/detail/config/compiler_fence.h | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.LATEST_P4_CHANGELIST b/.LATEST_P4_CHANGELIST index f0a1c5580..a293c976f 100644 --- a/.LATEST_P4_CHANGELIST +++ b/.LATEST_P4_CHANGELIST @@ -1 +1,7 @@ -10915459 \ No newline at end of file +--- .LATEST_P4_CHANGELIST ++++ .LATEST_P4_CHANGELIST +@@ -1,1 +1,1 @@ +-11016751 +\ No newline at end of file ++11046532 +\ No newline at end of file diff --git a/thrust/detail/config/compiler_fence.h b/thrust/detail/config/compiler_fence.h index d70c8c6b0..214ab0d46 100644 --- a/thrust/detail/config/compiler_fence.h +++ b/thrust/detail/config/compiler_fence.h @@ -22,6 +22,7 @@ #if THRUST_HOST_COMPILER == THRUST_HOST_COMPILER_MSVC #include +#pragma intrinsic(_ReadWriteBarrier) #define __thrust_compiler_fence() _ReadWriteBarrier() // gcc case