Skip to content

Commit b67382c

Browse files
committed
Merge pull request opencv#8494 from tomoaki0705:fixWarningCuda
2 parents 1c53595 + 507071c commit b67382c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core/include/opencv2/core/fast_math.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
# include "tegra_round.hpp"
7575
#endif
7676

77-
#if defined __GNUC__ && defined __arm__ && (defined __ARM_PCS_VFP || defined __ARM_VFPV3__ || defined __ARM_NEON__) && !defined __SOFTFP__
77+
#if defined __GNUC__ && defined __arm__ && (defined __ARM_PCS_VFP || defined __ARM_VFPV3__ || defined __ARM_NEON__) && !defined __SOFTFP__ && !defined(__CUDACC__)
7878
// 1. general scheme
7979
#define ARM_ROUND(_value, _asm_string) \
8080
int res; \

0 commit comments

Comments
 (0)