提交 4ed5f7db 编写于 作者: D Dong Li

Disable neon when enable gpu.

上级 688305f8
...@@ -38,7 +38,7 @@ typedef double2 vecType; ...@@ -38,7 +38,7 @@ typedef double2 vecType;
#endif #endif
#elif defined(__SSE3__) #elif defined(__SSE3__)
#include "hl_cpu_simd_sse.cuh" #include "hl_cpu_simd_sse.cuh"
#elif defined(__ARM_NEON) || defined(__ARM_NEON__) #elif (defined(__ARM_NEON) || defined(__ARM_NEON__)) && !defined(__NVCC__)
#include "hl_cpu_simd_neon.cuh" #include "hl_cpu_simd_neon.cuh"
#else #else
#include "hl_cpu_scalar.cuh" #include "hl_cpu_scalar.cuh"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册