Merge pull request #21652 from savuor:fix/hash_tsdf_normals_simd32_compilation

Fix HashTSDF compilation

* big SIMD compilation fix (try 1)

* fixing compilation, try 2
pull/21848/head
Rostislav Vasilikhin 3 years ago committed by GitHub
parent 899b4d1452
commit aa5055261f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 24
      modules/3d/src/rgbd/hash_tsdf_functions.cpp

@ -787,14 +787,14 @@ Point3f getNormalVoxel(
#else
# if CV_SIMD_WIDTH >= 32
v_float32x8 cxp = v_lut(vals, idxxp);
v_float32x8 cxn = v_lut(vals, idxxn);
v_float32x8 cxp = v_lut(vals, v256_load(idxxp));
v_float32x8 cxn = v_lut(vals, v256_load(idxxn));
v_float32x8 cyp = v_lut(vals, idxyp);
v_float32x8 cyn = v_lut(vals, idxyn);
v_float32x8 cyp = v_lut(vals, v256_load(idxyp));
v_float32x8 cyn = v_lut(vals, v256_load(idxyn));
v_float32x8 czp = v_lut(vals, idxzp);
v_float32x8 czn = v_lut(vals, idxzn);
v_float32x8 czp = v_lut(vals, v256_load(idxzp));
v_float32x8 czn = v_lut(vals, v256_load(idxzn));
v_float32x8 vcxv = cxn - cxp;
v_float32x8 vcyv = cyn - cyp;
@ -930,14 +930,14 @@ Point3f ocl_getNormalVoxel(
#else
# if CV_SIMD_WIDTH >= 32
v_float32x8 cxp = v_lut(vals, idxxp);
v_float32x8 cxn = v_lut(vals, idxxn);
v_float32x8 cxp = v_lut(vals, v256_load(idxxp));
v_float32x8 cxn = v_lut(vals, v256_load(idxxn));
v_float32x8 cyp = v_lut(vals, idxyp);
v_float32x8 cyn = v_lut(vals, idxyn);
v_float32x8 cyp = v_lut(vals, v256_load(idxyp));
v_float32x8 cyn = v_lut(vals, v256_load(idxyn));
v_float32x8 czp = v_lut(vals, idxzp);
v_float32x8 czn = v_lut(vals, idxzn);
v_float32x8 czp = v_lut(vals, v256_load(idxzp));
v_float32x8 czn = v_lut(vals, v256_load(idxzn));
v_float32x8 vcxv = cxn - cxp;
v_float32x8 vcyv = cyn - cyp;

Loading…
Cancel
Save