Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
added #pragma intrinsic(_ReadWriteBarrier)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
wnbell committed Sep 30, 2011
1 parent cb1ead3 commit 01cd9c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .LATEST_P4_CHANGELIST
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
10915459
--- .LATEST_P4_CHANGELIST
+++ .LATEST_P4_CHANGELIST
@@ -1,1 +1,1 @@
-11016751
\ No newline at end of file
+11046532
\ No newline at end of file
1 change: 1 addition & 0 deletions thrust/detail/config/compiler_fence.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#if THRUST_HOST_COMPILER == THRUST_HOST_COMPILER_MSVC

#include <intrin.h>
#pragma intrinsic(_ReadWriteBarrier)
#define __thrust_compiler_fence() _ReadWriteBarrier()

// gcc case
Expand Down

0 comments on commit 01cd9c7

Please sign in to comment.