Skip to content

Commit

Permalink
Exclude pause instruction from __aarch64__ (similar to __arm__) becau…
Browse files Browse the repository at this point in the history
…se none of ARM and ARM64 supprt this operation.
  • Loading branch information
pooyadavoodi committed May 6, 2016
1 parent 9f4961c commit b9e5141
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 3rdparty/cub/cub/host/spinlock.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ namespace cub {
*/
__forceinline__ void YieldProcessor()
{
#ifndef __arm__
#if !defined(__arm__) && !defined(__aarch64__)
asm volatile("pause\n": : :"memory");
#endif // __arm__
#endif // __arm__ && __aarch64__
}

#endif // defined(_MSC_VER)
Expand Down

0 comments on commit b9e5141

Please # to comment.