Skip to content

Commit 49172d8

Browse files
committed
UCS/ARCH: Don't include arm_neon.h when building with nvcc
1 parent 934a42b commit 49172d8

File tree

1 file changed

+2
-0
lines changed
  • src/ucs/arch/aarch64

1 file changed

+2
-0
lines changed

src/ucs/arch/aarch64/cpu.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@
1818
#include <ucs/arch/generic/cpu.h>
1919
#include <ucs/sys/math.h>
2020
#include <ucs/type/status.h>
21+
#ifndef __NVCC__
2122
#ifdef __ARM_NEON
2223
#include <arm_neon.h>
2324
#endif
25+
#endif
2426
#ifdef __ARM_FEATURE_SVE
2527
#include <arm_sve.h>
2628
#endif

0 commit comments

Comments
 (0)