Skip to content

Commit e0245e1

Browse files
authored
Merge pull request #3567 from mshabunin:fix-riscv-rvv
Fixed compilation with SIMD disabled or with scalable SIMD
2 parents 6d78a0b + 3f3ee66 commit e0245e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/rgbd/src/tsdf_functions.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ namespace cv
1616
namespace kinfu
1717
{
1818

19+
#if USE_INTRINSICS
1920
inline v_float32x4 tsdfToFloat_INTR(const v_int32x4& num)
2021
{
2122
v_float32x4 num128 = v_setall_f32(-1.f / 128.f);
2223
return v_cvt_f32(num) * num128;
2324
}
25+
#endif
2426

2527
inline TsdfType floatToTsdf(float num)
2628
{

0 commit comments

Comments
 (0)