diff --git a/3rdparty/cub/cub/host/spinlock.cuh b/3rdparty/cub/cub/host/spinlock.cuh index 738a120db0d..ee8399e0886 100644 --- a/3rdparty/cub/cub/host/spinlock.cuh +++ b/3rdparty/cub/cub/host/spinlock.cuh @@ -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)