Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cuda_depth_packet_processor.cu(172): error: too few arguments in function call #1190

Open
jiapei100 opened this issue Apr 12, 2024 · 0 comments

Comments

@jiapei100
Copy link

jiapei100 commented Apr 12, 2024

It looks to me: Incompatible with **cuda-12.**3, with cudnn-8.9.7

Overview Description:

Version, Platform, and Hardware Bug Found:

  1. git log -1 --oneline: fd64c5d (HEAD -> master, tag: v0.2.1, origin/master, origin/HEAD) Update README.md
  2. uname -a: Linux lvision-MS-7845 6.5.0-27-generic #28~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 15 10:51:06 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
  3. lsusb -t
  4. lspci -nn: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] [10de:1c03] (rev a1).

Steps to Reproduce:

Just compile.

-- Generating ....../libfreenect2/build/CMakeFiles/cuda_compile_1.dir/src/./cuda_compile_1_generated_cuda_depth_packet_processor.cu.o
/usr/local/cuda/bin/nvcc ....../libfreenect2/src/cuda_depth_packet_processor.cu -c -o ....../libfreenect2/build/CMakeFiles/cuda_compile_1.dir/src/./cuda_compile_1_generated_cuda_depth_packet_processor.cu.o -ccbin /usr/bin/cc -m64 -Xcompiler ,\"-Wall\",\"-fno-exceptions\",\"-O2\",\"-g\",\"-DNDEBUG\" -use_fast_math -Xcompiler -fPIC -DNVCC -I....../libfreenect2/include/ -I/usr/local/cuda/samples/common/inc -I/common/inc -I/usr/local/cuda/include -I....../libfreenect2/include -I....../libfreenect2/include/internal -I....../libfreenect2/build -I....../libfreenect2/src/tinythread -I/usr/include/libusb-1.0 -I/usr/include
/usr/local/cuda/bin/nvcc ....../libfreenect2/src/cuda_kde_depth_packet_processor.cu -c -o ....../libfreenect2/build/CMakeFiles/cuda_compile_1.dir/src/./cuda_compile_1_generated_cuda_kde_depth_packet_processor.cu.o -ccbin /usr/bin/cc -m64 -Xcompiler ,\"-Wall\",\"-fno-exceptions\",\"-O2\",\"-g\",\"-DNDEBUG\" -use_fast_math -Xcompiler -fPIC -DNVCC -I....../libfreenect2/include/ -I/usr/local/cuda/samples/common/inc -I/common/inc -I/usr/local/cuda/include -I....../libfreenect2/include -I....../libfreenect2/include/internal -I....../libfreenect2/build -I....../libfreenect2/src/tinythread -I/usr/include/libusb-1.0 -I/usr/include
....../libfreenect2/src/cuda_depth_packet_processor.cu(172): error: too few arguments in function call
    *invalid = *invalid && any(isequal(v, make_float3(32767.0f)));
                                                              ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(174): error: identifier "dot" is undefined
    return make_float2(dot(v, p0cos), -dot(v, p0sin)) * ab_multiplier_per_frq;
                       ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(188): error: too few arguments in function call
    *invalid = *invalid && any(isequal(v, make_float3(32767.0f)));
                                                              ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(190): error: identifier "dot" is undefined
    return make_float2(dot(v, p0cos), -dot(v, p0sin)) * ab_multiplier_per_frq;
                       ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(193): error: too few arguments in function call
    int3 invalid_pixel = make_int3((int)(!valid));
                                                ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(194): error: no suitable conversion function from "const float4" to "float" exists
    const float3 p0 = make_float3(p0_table[i]);
                                  ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(194): error: too few arguments in function call
    const float3 p0 = make_float3(p0_table[i]);
                                             ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(209): error: too few arguments in function call
    int3 invalid_pixel = make_int3((int)(!valid));
                                                ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(210): error: no suitable conversion function from "const float4" to "float" exists
    const float3 p0 = make_float3(p0_table[i]);
                                  ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(210): error: too few arguments in function call
    const float3 p0 = make_float3(p0_table[i]);
                                             ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(211): error: too few arguments in function call
    float3 a = select(make_float3(ab0.x, ab1.x, ab2.x), make_float3(0.0f), invalid_pixel);
                                                                        ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(212): error: too few arguments in function call
    float3 b = select(make_float3(ab0.y, ab1.y, ab2.y), make_float3(0.0f), invalid_pixel);
                                                                        ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(213): error: no operator "*" matches these operands
            operand types are: float3 * float3
    float3 n = sqrtf(a * a + b * b);
                       ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(213): error: no operator "*" matches these operands
            operand types are: float3 * float3
    float3 n = sqrtf(a * a + b * b);
                               ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(227): error: too few arguments in function call
    float3 a = select(make_float3(ab0.x, ab1.x, ab2.x), make_float3(0.0f), invalid_pixel);
                                                                        ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(228): error: too few arguments in function call
    float3 b = select(make_float3(ab0.y, ab1.y, ab2.y), make_float3(0.0f), invalid_pixel);
                                                                        ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(216): error: too few arguments in function call
    a = select(a, make_float3(0.0f), saturated);
                                  ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(217): error: too few arguments in function call
    b = select(b, make_float3(0.0f), saturated);
                                  ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(229): error: no operator "*" matches these operands
            operand types are: float3 * float3
    float3 n = sqrtf(a * a + b * b);
                       ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(229): error: no operator "*" matches these operands
            operand types are: float3 * float3
    float3 n = sqrtf(a * a + b * b);
                               ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(219): error: no suitable conversion function from "float3" to "float" exists
    a_out[i] = make_float4(a);
                           ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(219): error: too few arguments in function call
    a_out[i] = make_float4(a);
                            ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(220): error: no suitable conversion function from "float3" to "float" exists
    b_out[i] = make_float4(b);
                           ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(220): error: too few arguments in function call
    b_out[i] = make_float4(b);
                            ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(221): error: no suitable conversion function from "float3" to "float" exists
    n_out[i] = make_float4(n);
                           ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(221): error: too few arguments in function call
    n_out[i] = make_float4(n);
                            ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(232): error: too few arguments in function call
    a = select(a, make_float3(0.0f), saturated);
                                  ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(222): error: too few arguments in function call
    ir_out[i] = fminf(dot(select(n, make_float3(65535.0f), saturated), make_float3(0.333333333f * AB_MULTIPLIER * AB_OUTPUT_MULTIPLIER)), 65535.0f);
                                                        ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(233): error: too few arguments in function call
    b = select(b, make_float3(0.0f), saturated);
                                  ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(222): error: too few arguments in function call
    ir_out[i] = fminf(dot(select(n, make_float3(65535.0f), saturated), make_float3(0.333333333f * AB_MULTIPLIER * AB_OUTPUT_MULTIPLIER)), 65535.0f);
                                                                                                                                      ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(222): error: identifier "dot" is undefined
    ir_out[i] = fminf(dot(select(n, make_float3(65535.0f), saturated), make_float3(0.333333333f * AB_MULTIPLIER * AB_OUTPUT_MULTIPLIER)), 65535.0f);
                      ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(235): error: no suitable conversion function from "float3" to "float" exists
    a_out[i] = make_float4(a);
                           ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(235): error: too few arguments in function call
    a_out[i] = make_float4(a);
                            ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(236): error: no suitable conversion function from "float3" to "float" exists
    b_out[i] = make_float4(b);
                           ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(236): error: too few arguments in function call
    b_out[i] = make_float4(b);
                            ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(237): error: no suitable conversion function from "float3" to "float" exists
    n_out[i] = make_float4(n);
                           ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(237): error: too few arguments in function call
    n_out[i] = make_float4(n);
                            ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(238): error: too few arguments in function call
    ir_out[i] = fminf(dot(select(n, make_float3(65535.0f), saturated), make_float3(0.333333333f * AB_MULTIPLIER * AB_OUTPUT_MULTIPLIER)), 65535.0f);
                                                        ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(238): error: too few arguments in function call
    ir_out[i] = fminf(dot(select(n, make_float3(65535.0f), saturated), make_float3(0.333333333f * AB_MULTIPLIER * AB_OUTPUT_MULTIPLIER)), 65535.0f);
                                                                                                                                      ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(238): error: identifier "dot" is undefined
    ir_out[i] = fminf(dot(select(n, make_float3(65535.0f), saturated), make_float3(0.333333333f * AB_MULTIPLIER * AB_OUTPUT_MULTIPLIER)), 65535.0f);
                      ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(237): error: no suitable conversion function from "const float4" to "float" exists
    const float3 self_a = make_float3(a[i]);
                                      ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(237): error: too few arguments in function call
    const float3 self_a = make_float3(a[i]);
                                          ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(238): error: no suitable conversion function from "const float4" to "float" exists
    const float3 self_b = make_float3(b[i]);
                                      ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(238): error: too few arguments in function call
    const float3 self_b = make_float3(b[i]);
                                          ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(253): error: no suitable conversion function from "const float4" to "float" exists
    const float3 self_a = make_float3(a[i]);
                                      ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(253): error: too few arguments in function call
    const float3 self_a = make_float3(a[i]);
                                          ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(254): error: no suitable conversion function from "const float4" to "float" exists
    const float3 self_b = make_float3(b[i]);
                                      ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(254): error: too few arguments in function call
    const float3 self_b = make_float3(b[i]);
                                          ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(244): error: no suitable conversion function from "const float3" to "float" exists
      a_out[i] = make_float4(self_a);
                             ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(244): error: too few arguments in function call
      a_out[i] = make_float4(self_a);
                                   ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(245): error: no suitable conversion function from "const float3" to "float" exists
      b_out[i] = make_float4(self_b);
                             ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(245): error: too few arguments in function call
      b_out[i] = make_float4(self_b);
                                   ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(260): error: no suitable conversion function from "const float3" to "float" exists
      a_out[i] = make_float4(self_a);
                             ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(260): error: too few arguments in function call
      a_out[i] = make_float4(self_a);
                                   ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(250): error: too few arguments in function call
      float3 threshold = make_float3(sqrtf(JOINT_BILATERAL_THRESHOLD));
                                                                     ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(261): error: no suitable conversion function from "const float3" to "float" exists
      b_out[i] = make_float4(self_b);
                             ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(261): error: too few arguments in function call
      b_out[i] = make_float4(self_b);
                                   ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(251): error: too few arguments in function call
      float3 joint_bilateral_exp = make_float3(JOINT_BILATERAL_EXP);
                                                                  ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(266): error: too few arguments in function call
      float3 threshold = make_float3(sqrtf(JOINT_BILATERAL_THRESHOLD));
                                                                     ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(253): error: no suitable conversion function from "const float4" to "float" exists
      const float3 self_norm = make_float3(n[i]);
                                           ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(253): error: too few arguments in function call
      const float3 self_norm = make_float3(n[i]);
                                               ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(267): error: too few arguments in function call
      float3 joint_bilateral_exp = make_float3(JOINT_BILATERAL_EXP);
                                                                  ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(254): error: no operator "/" matches these operands
            operand types are: const float3 / const float3
      const float3 self_normalized_a = self_a / self_norm;
                                              ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(269): error: no suitable conversion function from "const float4" to "float" exists
      const float3 self_norm = make_float3(n[i]);
                                           ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(269): error: too few arguments in function call
      const float3 self_norm = make_float3(n[i]);
                                               ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(255): error: no operator "/" matches these operands
            operand types are: const float3 / const float3
      const float3 self_normalized_b = self_b / self_norm;
                                              ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(270): error: no operator "/" matches these operands
            operand types are: const float3 / const float3
      const float3 self_normalized_a = self_a / self_norm;
                                              ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(271): error: no operator "/" matches these operands
            operand types are: const float3 / const float3
      const float3 self_normalized_b = self_b / self_norm;
                                              ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(257): error: too few arguments in function call
      float3 weight_acc = make_float3(0.0f);
                                          ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(258): error: too few arguments in function call
      float3 weighted_a_acc = make_float3(0.0f);
                                              ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(273): error: too few arguments in function call
      float3 weight_acc = make_float3(0.0f);
                                          ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(274): error: too few arguments in function call
      float3 weighted_a_acc = make_float3(0.0f);
                                              ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(259): error: too few arguments in function call
      float3 weighted_b_acc = make_float3(0.0f);
                                              ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(275): error: too few arguments in function call
      float3 weighted_b_acc = make_float3(0.0f);
                                              ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(276): error: too few arguments in function call
      float3 dist_acc = make_float3(0.0f);
                                        ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(260): error: too few arguments in function call
      float3 dist_acc = make_float3(0.0f);
                                        ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(280): error: too few arguments in function call
      threshold = select(threshold, make_float3(0.0f), c0);
                                                    ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(264): error: too few arguments in function call
      threshold = select(threshold, make_float3(0.0f), c0);
                                                    ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(281): error: too few arguments in function call
      joint_bilateral_exp = select(joint_bilateral_exp, make_float3(0.0f), c0);
                                                                        ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(265): error: too few arguments in function call
      joint_bilateral_exp = select(joint_bilateral_exp, make_float3(0.0f), c0);
                                                                        ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(289): error: no suitable conversion function from "const float4" to "float" exists
          const float3 other_a = make_float3(a[i_other]);
                                             ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(289): error: too few arguments in function call
          const float3 other_a = make_float3(a[i_other]);
                                                       ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(290): error: no suitable conversion function from "const float4" to "float" exists
          const float3 other_b = make_float3(b[i_other]);
                                             ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(290): error: too few arguments in function call
          const float3 other_b = make_float3(b[i_other]);
                                                       ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(273): error: no suitable conversion function from "const float4" to "float" exists
          const float3 other_a = make_float3(a[i_other]);
                                             ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(273): error: too few arguments in function call
          const float3 other_a = make_float3(a[i_other]);
                                                       ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(291): error: no suitable conversion function from "const float4" to "float" exists
          const float3 other_norm = make_float3(n[i_other]);
                                                ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(291): error: too few arguments in function call
          const float3 other_norm = make_float3(n[i_other]);
                                                          ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(274): error: no suitable conversion function from "const float4" to "float" exists
          const float3 other_b = make_float3(b[i_other]);
                                             ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(274): error: too few arguments in function call
          const float3 other_b = make_float3(b[i_other]);
                                                       ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(292): error: no operator "/" matches these operands
            operand types are: const float3 / const float3
          const float3 other_normalized_a = other_a / other_norm;
                                                    ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(293): error: no operator "/" matches these operands
            operand types are: const float3 / const float3
          const float3 other_normalized_b = other_b / other_norm;
                                                    ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(275): error: no suitable conversion function from "const float4" to "float" exists
          const float3 other_norm = make_float3(n[i_other]);
                                                ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(275): error: too few arguments in function call
          const float3 other_norm = make_float3(n[i_other]);
                                                          ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(276): error: no operator "/" matches these operands
            operand types are: const float3 / const float3
          const float3 other_normalized_a = other_a / other_norm;
                                                    ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(277): error: no operator "/" matches these operands
            operand types are: const float3 / const float3
          const float3 other_normalized_b = other_b / other_norm;
                                                    ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(297): error: no operator "*" matches these operands
            operand types are: const float3 * const float3
          const float3 dist = 0.5f * (1.0f - (self_normalized_a * other_normalized_a + self_normalized_b * other_normalized_b));
                                                                ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(297): error: no operator "*" matches these operands
            operand types are: const float3 * const float3
          const float3 dist = 0.5f * (1.0f - (self_normalized_a * other_normalized_a + self_normalized_b * other_normalized_b));
                                                                                                         ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(298): error: no operator "*" matches these operands
            operand types are: float * float3
          const float3 weight = select(gaussian[j] * expf(-1.442695f * joint_bilateral_exp * dist), make_float3(0.0f), c1);
                                                                     ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(298): error: too few arguments in function call
          const float3 weight = select(gaussian[j] * expf(-1.442695f * joint_bilateral_exp * dist), make_float3(0.0f), c1);
                                                                                                                    ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(281): error: no operator "*" matches these operands
            operand types are: const float3 * const float3
          const float3 dist = 0.5f * (1.0f - (self_normalized_a * other_normalized_a + self_normalized_b * other_normalized_b));
                                                                ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(281): error: no operator "*" matches these operands
            operand types are: const float3 * const float3
          const float3 dist = 0.5f * (1.0f - (self_normalized_a * other_normalized_a + self_normalized_b * other_normalized_b));
                                                                                                         ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(282): error: no operator "*" matches these operands
            operand types are: float * float3
          const float3 weight = select(gaussian[j] * expf(-1.442695f * joint_bilateral_exp * dist), make_float3(0.0f), c1);
                                                                     ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(282): error: too few arguments in function call
          const float3 weight = select(gaussian[j] * expf(-1.442695f * joint_bilateral_exp * dist), make_float3(0.0f), c1);
                                                                                                                    ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(284): error: no operator "*" matches these operands
            operand types are: const float3 * const float3
          weighted_a_acc += weight * other_a;
                                   ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(285): error: no operator "*" matches these operands
            operand types are: const float3 * const float3
          weighted_b_acc += weight * other_b;
                                   ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(286): error: no operator "+=" matches these operands
            operand types are: float3 += const float3
          weight_acc += weight;
                     ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(287): error: too few arguments in function call
          dist_acc += select(dist, make_float3(0.0f), c1);
                                                   ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(287): error: no operator "+=" matches these operands
            operand types are: float3 += float3
          dist_acc += select(dist, make_float3(0.0f), c1);
                   ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(291): error: too few arguments in function call
      const int3 c2 = isless(make_float3(0.0f), weight_acc);
                                             ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(300): error: no operator "*" matches these operands
            operand types are: const float3 * const float3
          weighted_a_acc += weight * other_a;
                                   ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(301): error: no operator "*" matches these operands
            operand types are: const float3 * const float3
          weighted_b_acc += weight * other_b;
                                   ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(302): error: no operator "+=" matches these operands
            operand types are: float3 += const float3
          weight_acc += weight;
                     ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(303): error: too few arguments in function call
          dist_acc += select(dist, make_float3(0.0f), c1);
                                                   ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(303): error: no operator "+=" matches these operands
            operand types are: float3 += float3
          dist_acc += select(dist, make_float3(0.0f), c1);
                   ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(307): error: too few arguments in function call
      const int3 c2 = isless(make_float3(0.0f), weight_acc);
                                             ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(292): error: too few arguments in function call
      a_out[i] = make_float4(select(make_float3(0.0f), weighted_a_acc / weight_acc, c2));
                                                    ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(292): error: no operator "/" matches these operands
            operand types are: float3 / float3
      a_out[i] = make_float4(select(make_float3(0.0f), weighted_a_acc / weight_acc, c2));
                                                                      ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(292): error: no suitable conversion function from "float3" to "float" exists
      a_out[i] = make_float4(select(make_float3(0.0f), weighted_a_acc / weight_acc, c2));
                             ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(292): error: too few arguments in function call
      a_out[i] = make_float4(select(make_float3(0.0f), weighted_a_acc / weight_acc, c2));
                                                                                       ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(293): error: too few arguments in function call
      b_out[i] = make_float4(select(make_float3(0.0f), weighted_b_acc / weight_acc, c2));
                                                    ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(293): error: no operator "/" matches these operands
            operand types are: float3 / float3
      b_out[i] = make_float4(select(make_float3(0.0f), weighted_b_acc / weight_acc, c2));
                                                                      ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(293): error: no suitable conversion function from "float3" to "float" exists
      b_out[i] = make_float4(select(make_float3(0.0f), weighted_b_acc / weight_acc, c2));
                             ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(293): error: too few arguments in function call
      b_out[i] = make_float4(select(make_float3(0.0f), weighted_b_acc / weight_acc, c2));
                                                                                       ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(295): error: too few arguments in function call
      max_edge_test[i] = all(isless(dist_acc, make_float3(JOINT_BILATERAL_MAX_EDGE)));
                                                                                  ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(307): error: no suitable conversion function from "const float4" to "float" exists
    float3 a = make_float3(a_in[i]);
                           ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(307): error: too few arguments in function call
    float3 a = make_float3(a_in[i]);
                                  ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(308): error: no suitable conversion function from "const float4" to "float" exists
    float3 b = make_float3(b_in[i]);
                           ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(308): error: too few arguments in function call
    float3 b = make_float3(b_in[i]);
                                  ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(311): error: no operator "+" matches these operands
            operand types are: float3 + float
    phase = select(phase, phase + 2.0f * 3.141592654F, isless(phase, make_float3(0.0f)));
                                ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(311): error: too few arguments in function call
    phase = select(phase, phase + 2.0f * 3.141592654F, isless(phase, make_float3(0.0f)));
                                                                                     ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(312): error: too few arguments in function call
    phase = select(phase, make_float3(0.0f), isnan(phase));
                                          ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(313): error: no operator "*" matches these operands
            operand types are: float3 * float3
    float3 ir = sqrtf(a * a + b * b) * AB_MULTIPLIER;
                        ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(313): error: no operator "*" matches these operands
            operand types are: float3 * float3
    float3 ir = sqrtf(a * a + b * b) * AB_MULTIPLIER;
                                ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(323): error: no operator "/" matches these operands
            operand types are: float3 / float
      float3 t = phase / (2.0f * 3.141592654F) * make_float3(3.0f, 15.0f, 2.0f);
                       ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(308): error: too few arguments in function call
      a_out[i] = make_float4(select(make_float3(0.0f), weighted_a_acc / weight_acc, c2));
                                                    ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(308): error: no operator "/" matches these operands
            operand types are: float3 / float3
      a_out[i] = make_float4(select(make_float3(0.0f), weighted_a_acc / weight_acc, c2));
                                                                      ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(308): error: no suitable conversion function from "float3" to "float" exists
      a_out[i] = make_float4(select(make_float3(0.0f), weighted_a_acc / weight_acc, c2));
                             ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(308): error: too few arguments in function call
      a_out[i] = make_float4(select(make_float3(0.0f), weighted_a_acc / weight_acc, c2));
                                                                                       ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(309): error: too few arguments in function call
      b_out[i] = make_float4(select(make_float3(0.0f), weighted_b_acc / weight_acc, c2));
                                                    ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(309): error: no operator "/" matches these operands
            operand types are: float3 / float3
      b_out[i] = make_float4(select(make_float3(0.0f), weighted_b_acc / weight_acc, c2));
                                                                      ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(309): error: no suitable conversion function from "float3" to "float" exists
      b_out[i] = make_float4(select(make_float3(0.0f), weighted_b_acc / weight_acc, c2));
                             ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(309): error: too few arguments in function call
      b_out[i] = make_float4(select(make_float3(0.0f), weighted_b_acc / weight_acc, c2));
                                                                                       ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(311): error: too few arguments in function call
      max_edge_test[i] = all(isless(dist_acc, make_float3(JOINT_BILATERAL_MAX_EDGE)));
                                                                                  ^

....../libfreenect2/src/cuda_depth_packet_processor.cu(377): error: identifier "clamp" is undefined
      ir_x = clamp(ir_x, MIN_DEALIAS_CONFIDENCE, MAX_DEALIAS_CONFIDENCE);
             ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(427): error: too few arguments in function call
    float3 sigma = make_float3(1.0f)/q;
                                   ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(428): error: too few arguments in function call
    sigma = select(sigma, make_float3(sigma_max), isless(make_float3(sigma_max), sigma));
                                               ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(428): error: too few arguments in function call
    sigma = select(sigma, make_float3(sigma_max), isless(make_float3(sigma_max), sigma));
                                                                              ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(446): error: no operator "*=" matches these operands
            operand types are: float3 *= float3
    q *= q;
      ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(448): error: too few arguments in function call
    float3 asdf = atan2f(make_float3(0.5f), make_float3(1.0f));
                                         ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(448): error: too few arguments in function call
    float3 asdf = atan2f(make_float3(0.5f), make_float3(1.0f));
                                                            ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(449): error: too few arguments in function call
    float3 sigma = select(select(make_float3(0.5f * 3.141592654F), roots * 0.5f * 3.141592654F / ir, isless(roots,ir)), atan2f(sqrtf(make_float3(1.0f) / (q - make_float3(1.0f))), make_float3(1.0f)), isless(make_float3(1.0f), q));
                                                                ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(449): error: no operator "*" matches these operands
            operand types are: float3 * float
    float3 sigma = select(select(make_float3(0.5f * 3.141592654F), roots * 0.5f * 3.141592654F / ir, isless(roots,ir)), atan2f(sqrtf(make_float3(1.0f) / (q - make_float3(1.0f))), make_float3(1.0f)), isless(make_float3(1.0f), q));
                                                                         ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(449): error: too few arguments in function call
    float3 sigma = select(select(make_float3(0.5f * 3.141592654F), roots * 0.5f * 3.141592654F / ir, isless(roots,ir)), atan2f(sqrtf(make_float3(1.0f) / (q - make_float3(1.0f))), make_float3(1.0f)), isless(make_float3(1.0f), q));
                                                                                                                                                     ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(449): error: too few arguments in function call
    float3 sigma = select(select(make_float3(0.5f * 3.141592654F), roots * 0.5f * 3.141592654F / ir, isless(roots,ir)), atan2f(sqrtf(make_float3(1.0f) / (q - make_float3(1.0f))), make_float3(1.0f)), isless(make_float3(1.0f), q));
                                                                                                                                                                              ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(449): error: too few arguments in function call
    float3 sigma = select(select(make_float3(0.5f * 3.141592654F), roots * 0.5f * 3.141592654F / ir, isless(roots,ir)), atan2f(sqrtf(make_float3(1.0f) / (q - make_float3(1.0f))), make_float3(1.0f)), isless(make_float3(1.0f), q));
                                                                                                                                                                                                   ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(449): error: too few arguments in function call
    float3 sigma = select(select(make_float3(0.5f * 3.141592654F), roots * 0.5f * 3.141592654F / ir, isless(roots,ir)), atan2f(sqrtf(make_float3(1.0f) / (q - make_float3(1.0f))), make_float3(1.0f)), isless(make_float3(1.0f), q));
                                                                                                                                                                                                                              ^

78 errors detected in the compilation of "....../libfreenect2/src/cuda_depth_packet_processor.cu".
....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(450): error: too few arguments in function call
    sigma = select(sigma, make_float3(0.001f), isless(sigma, make_float3(0.001f)));
                                            ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(450): error: too few arguments in function call
    sigma = select(sigma, make_float3(0.001f), isless(sigma, make_float3(0.001f)));
                                                                               ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(451): error: no operator "*" matches these operands
            operand types are: float3 * float3
    *var = sigma*sigma;
                ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(460): error: no suitable conversion function from "const float4" to "float" exists
    float3 a = make_float3(a_in[i]);
                           ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(460): error: too few arguments in function call
    float3 a = make_float3(a_in[i]);
                                  ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(461): error: no suitable conversion function from "const float4" to "float" exists
    float3 b = make_float3(b_in[i]);
                           ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(461): error: too few arguments in function call
    float3 b = make_float3(b_in[i]);
                                  ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(465): error: too few arguments in function call
    phase = select(phase, make_float3(0.0f), isnan(phase));
                                          ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(466): error: no operator "+" matches these operands
            operand types are: float3 + float
    phase = select(phase, phase + 2.0f * 3.141592654F, isless(phase, make_float3(0.0f)));
                                ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(466): error: too few arguments in function call
    phase = select(phase, phase + 2.0f * 3.141592654F, isless(phase, make_float3(0.0f)));
                                                                                     ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(469): error: no operator "*" matches these operands
            operand types are: float3 * float3
    float3 ir = sqrtf(a * a + b * b) * AB_MULTIPLIER;
                        ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(469): error: no operator "*" matches these operands
            operand types are: float3 * float3
    float3 ir = sqrtf(a * a + b * b) * AB_MULTIPLIER;
                                ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(481): error: no operator "/" matches these operands
            operand types are: float3 / float
    float3 t = phase / (2.0f * 3.141592654F) * make_float3(3.0f, 15.0f, 2.0f);
                     ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(703): error: no suitable conversion function from "const float4" to "float" exists
    float3 a = make_float3(a_in[i]);
                           ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(703): error: too few arguments in function call
    float3 a = make_float3(a_in[i]);
                                  ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(704): error: no suitable conversion function from "const float4" to "float" exists
    float3 b = make_float3(b_in[i]);
                           ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(704): error: too few arguments in function call
    float3 b = make_float3(b_in[i]);
                                  ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(708): error: too few arguments in function call
    phase = select(phase, make_float3(0.0f), isnan(phase));
                                          ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(709): error: no operator "+" matches these operands
            operand types are: float3 + float
    phase = select(phase, phase + 2.0f * 3.141592654F, isless(phase, make_float3(0.0f)));
                                ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(709): error: too few arguments in function call
    phase = select(phase, phase + 2.0f * 3.141592654F, isless(phase, make_float3(0.0f)));
                                                                                     ^

....../libfreenect2/src/cuda_kde_depth_packet_processor.cu(712): error: no operator "*" matches these operands
            operand types are: float3 * float3
    float3 ir = sqrtf(a * a + b * b) * AB_MULTIPLIER;
                        ^

Error limit reached.
100 errors detected in the compilation of "....../libfreenect2/src/cuda_kde_depth_packet_processor.cu".
Compilation terminated.
-- Removing ....../libfreenect2/build/CMakeFiles/cuda_compile_1.dir/src/./cuda_compile_1_generated_cuda_depth_packet_processor.cu.o
/usr/bin/cmake -E rm -f ....../libfreenect2/build/CMakeFiles/cuda_compile_1.dir/src/./cuda_compile_1_generated_cuda_depth_packet_processor.cu.o
CMake Error at cuda_compile_1_generated_cuda_depth_packet_processor.cu.o.RelWithDebInfo.cmake:280 (message):
  Error generating file
  ....../libfreenect2/build/CMakeFiles/cuda_compile_1.dir/src/./cuda_compile_1_generated_cuda_depth_packet_processor.cu.o


make[2]: *** [CMakeFiles/freenect2.dir/build.make:414: CMakeFiles/cuda_compile_1.dir/src/cuda_compile_1_generated_cuda_depth_packet_processor.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
-- Removing ....../libfreenect2/build/CMakeFiles/cuda_compile_1.dir/src/./cuda_compile_1_generated_cuda_kde_depth_packet_processor.cu.o
/usr/bin/cmake -E rm -f ....../libfreenect2/build/CMakeFiles/cuda_compile_1.dir/src/./cuda_compile_1_generated_cuda_kde_depth_packet_processor.cu.o
CMake Error at cuda_compile_1_generated_cuda_kde_depth_packet_processor.cu.o.RelWithDebInfo.cmake:280 (message):
  Error generating file
  ....../libfreenect2/build/CMakeFiles/cuda_compile_1.dir/src/./cuda_compile_1_generated_cuda_kde_depth_packet_processor.cu.o


make[2]: *** [CMakeFiles/freenect2.dir/build.make:743: CMakeFiles/cuda_compile_1.dir/src/cuda_compile_1_generated_cuda_kde_depth_packet_processor.cu.o] Error 1
make[2]: Leaving directory '....../libfreenect2/build'
make[1]: *** [CMakeFiles/Makefile2:133: CMakeFiles/freenect2.dir/all] Error 2
make[1]: Leaving directory '....../libfreenect2/build'
make: *** [Makefile:139: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant