Skip to content

Commit ee84261

Browse files
committed
address feedback
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
1 parent b91e429 commit ee84261

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Headers/arm_acle.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
extern "C" {
2828
#endif
2929

30-
#if !defined(__CUDA__)
30+
#if !defined(__CUDA_ARCH__)
3131

3232
/* 7 SYNCHRONIZATION, BARRIER AND HINT INTRINSICS */
3333
/* 7.3 Memory barriers */
@@ -72,7 +72,7 @@ static __inline__ void __attribute__((__always_inline__, __nodebug__)) __yield(v
7272
__builtin_arm_yield();
7373
}
7474
#endif
75-
#endif // #if !defined(__CUDA__)
75+
#endif // #if !defined(__CUDA_ARCH__)
7676

7777
#if defined(__ARM_32BIT_STATE) && __ARM_32BIT_STATE
7878
#define __dbg(t) __builtin_arm_dbg(t)

0 commit comments

Comments
 (0)