Skip to content

Cuda 12.0 Failed build #136

Description

@Maxfashko

#16 42.54 [ 86%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/sepfilter2d.cu.o
#16 42.72 /opt/ppl.cv/src/ppl/cv/cuda/norm.hpp(687): warning #173-D: floating-point value does not fit in required integral type
#16 42.72 partial_mins[threadIdx_x] = 3.40282346638528859811704183484516925e+38F;
#16 42.72 ^
#16 42.72 detected during instantiation of "void ppl::cv::cuda::MinMaxKernel(const Tsrc *, int, int, int, int, const ppl::cv::cuda::uchar *, int, int, Tdst *) [with Tsrc=ppl::cv::cuda::uchar, Tdst=long long]" at line 207 of /opt/ppl.cv/src/ppl/cv/cuda/normalize.cu
#16 42.72
#16 42.72 Remark: The warnings can be suppressed with "-diag-suppress "
#16 42.72
#16 42.72 /opt/ppl.cv/src/ppl/cv/cuda/norm.hpp(832): warning #173-D: floating-point value does not fit in required integral type
#16 42.72 partial_mins[threadIdx_x] = 3.40282346638528859811704183484516925e+38F;
#16 42.72 ^
#16 42.72 detected during instantiation of "void ppl::cv::cuda::MinMaxKernel(const Tsrc *, int, int, int, int, const ppl::cv::cuda::uchar *, int, int, Tdst *) [with Tsrc=ppl::cv::cuda::uchar, Tdst=long long]" at line 207 of /opt/ppl.cv/src/ppl/cv/cuda/normalize.cu
#16 42.72
#16 42.77 /opt/ppl.cv/src/ppl/cv/cuda/resize.cu(32): error: texture is not a template
#16 42.77 static texture<uchar, 0x02,
#16 42.77 ^
#16 42.77
#16 42.77 /opt/ppl.cv/src/ppl/cv/cuda/resize.cu(34): error: texture is not a template
#16 42.77 static texture<uchar4, 0x02,
#16 42.77 ^
#16 42.77
#16 42.77 /opt/ppl.cv/src/ppl/cv/cuda/resize.cu(36): error: texture is not a template
#16 42.77 static texture<float, 0x02,
#16 42.77 ^
#16 42.77
#16 42.77 /opt/ppl.cv/src/ppl/cv/cuda/resize.cu(126): error: no instance of overloaded function "tex2D" matches the argument list
#16 42.77 argument types are: (, float, float)
#16 42.77 float value = tex2D(uchar_c1_ref, coordinate_x, coordinate_y);
#16 42.77 ^
#16 42.77
#16 42.77 /opt/ppl.cv/src/ppl/cv/cuda/resize.cu(133): error: no instance of overloaded function "tex2D" matches the argument list
#16 42.77 argument types are: (, float, float)
#16 42.77 float4 value = tex2D(uchar_c4_ref, coordinate_x, coordinate_y);
#16 42.77 ^
#16 42.77
#16 42.77 /opt/ppl.cv/src/ppl/cv/cuda/resize.cu(158): error: no instance of overloaded function "tex2D" matches the argument list
#16 42.77 argument types are: (, float, float)
#16 42.77 float value = tex2D(float_c1_ref, coordinate_x, coordinate_y);
#16 42.77 ^
#16 42.77
#16 42.78 /opt/ppl.cv/src/ppl/cv/cuda/resize.cu(767): error: no instance of overloaded function "tex2D" matches the argument list
#16 42.78 argument types are: (, float, float)
#16 42.78 float value = tex2D(uchar_c1_ref, float_x, float_y);
#16 42.78 ^
#16 42.78
#16 42.78 /opt/ppl.cv/src/ppl/cv/cuda/resize.cu(774): error: no instance of overloaded function "tex2D" matches the argument list
#16 42.78 argument types are: (, float, float)
#16 42.78 float4 value = tex2D(uchar_c4_ref, float_x, float_y);
#16 42.78 ^
#16 42.78
#16 42.78 /opt/ppl.cv/src/ppl/cv/cuda/resize.cu(808): error: no instance of overloaded function "tex2D" matches the argument list
#16 42.78 argument types are: (, float, float)
#16 42.78 float value = tex2D(float_c1_ref, float_x, float_y);
#16 42.78 ^
#16 42.78
#16 42.79 /opt/ppl.cv/src/ppl/cv/cuda/resize.cu(1069): error: identifier "cudaBindTexture2D" is undefined
#16 42.79 code = cudaBindTexture2D(0, uchar_c1_ref, src, desc, src_cols, src_rows,
#16 42.79 ^
#16 42.79
#16 42.79 /opt/ppl.cv/src/ppl/cv/cuda/resize.cu(1085): error: identifier "cudaBindTexture2D" is undefined
#16 42.79 code = cudaBindTexture2D(0, uchar_c4_ref, src, desc, src_cols, src_rows,
#16 42.79 ^
#16 42.79
#16 42.79 /opt/ppl.cv/src/ppl/cv/cuda/resize.cu(1162): error: identifier "cudaBindTexture2D" is undefined
#16 42.79 code = cudaBindTexture2D(0, uchar_c1_ref, src, desc, src_cols, src_rows,
#16 42.79 ^
#16 42.79
#16 42.79 /opt/ppl.cv/src/ppl/cv/cuda/resize.cu(1179): error: identifier "cudaBindTexture2D" is undefined
#16 42.79 code = cudaBindTexture2D(0, uchar_c4_ref, src, desc, src_cols, src_rows,
#16 42.79 ^
#16 42.79
#16 42.80 /opt/ppl.cv/src/ppl/cv/cuda/resize.cu(1264): error: identifier "cudaBindTexture2D" is undefined
#16 42.80 code = cudaBindTexture2D(0, float_c1_ref, src, desc, src_cols, src_rows,
#16 42.80 ^
#16 42.80
#16 42.80 /opt/ppl.cv/src/ppl/cv/cuda/resize.cu(1341): error: identifier "cudaBindTexture2D" is undefined
#16 42.80 code = cudaBindTexture2D(0, float_c1_ref, src, desc, src_cols, src_rows,
#16 42.80 ^
#16 42.80
#16 42.81 15 errors detected in the compilation of "/opt/ppl.cv/src/ppl/cv/cuda/resize.cu".
#16 42.84 make[2]: *** [CMakeFiles/pplcv_static.dir/build.make:585: CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/resize.cu.o] Error 2
#16 42.84 make[2]: *** Waiting for unfinished jobs....
#16 44.18 /opt/ppl.cv/src/ppl/cv/cuda/norm.hpp(687): warning #173-D: floating-point value does not fit in required integral type
#16 44.18 partial_mins[threadIdx_x] = 3.40282346638528859811704183484516925e+38F;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions