Closed Bo396543018 closed 2 years ago
[ERROR][2022-02-22 13:46:48.197][resize.cu:1202] CUDA error: no kernel image is available for execution on the device
This looks like your ppl.cv is not built with CUDA enabled, or the CUDA architectures specified when compiling ppl.cv does not match the device you are using.
@lzhangzz 感谢答复,第一个问题我应该使用的cuda编译的,第二个问题不是很确定 我使用的脚本是bash build.sh cuda,相关log是,看起来有一些包含架构的waring
md -> cmake -DCMAKE_BUILD_TYPE=Release -DHPCC_USE_CUDA=ON -DCMAKE_INSTALL_PREFIX=/mnt/Deploy/ppl.cv-0.6.1/cuda-build/install .. && make -j54 && make install
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Populating hpcc
-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/Deploy/ppl.cv-0.6.1/deps/hpcc-subbuild
[ 11%] Performing update step for 'hpcc-populate'
[ 22%] No patch step for 'hpcc-populate'
[ 33%] No configure step for 'hpcc-populate'
[ 44%] No build step for 'hpcc-populate'
[ 55%] No install step for 'hpcc-populate'
[ 66%] No test step for 'hpcc-populate'
[ 77%] Completed 'hpcc-populate'
[100%] Built target hpcc-populate
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Performing Test HAVE_C_FLAG_FPIC
-- Performing Test HAVE_C_FLAG_FPIC - Success
-- Performing Test HAVE_C_FLAG_FVISIBILITY_HIDDEN
-- Performing Test HAVE_C_FLAG_FVISIBILITY_HIDDEN - Success
-- Performing Test HAVE_C_FLAG_WALL_WNO_ARRAY_BOUNDS
-- Performing Test HAVE_C_FLAG_WALL_WNO_ARRAY_BOUNDS - Success
-- Performing Test HAVE_CXX_FLAG_FPIC
-- Performing Test HAVE_CXX_FLAG_FPIC - Success
-- Performing Test HAVE_CXX_FLAG_FVISIBILITY_HIDDEN
-- Performing Test HAVE_CXX_FLAG_FVISIBILITY_HIDDEN - Success
-- Performing Test HAVE_CXX_FLAG_WALL_WNO_ARRAY_BOUNDS
-- Performing Test HAVE_CXX_FLAG_WALL_WNO_ARRAY_BOUNDS - Success
-- Performing Test HAVE_ASM_FLAG_FPIC
-- Performing Test HAVE_ASM_FLAG_FPIC - Success
-- Performing Test HAVE_ASM_FLAG_FVISIBILITY_HIDDEN
-- Performing Test HAVE_ASM_FLAG_FVISIBILITY_HIDDEN - Success
-- Performing Test HAVE_ASM_FLAG_WALL_WNO_ARRAY_BOUNDS
-- Performing Test HAVE_ASM_FLAG_WALL_WNO_ARRAY_BOUNDS - Success
-- Performing Test HAVE_C_FLAG_FFUNCTION_SECTIONS_FDATA_SECTIONS_FNO_COMMON
-- Performing Test HAVE_C_FLAG_FFUNCTION_SECTIONS_FDATA_SECTIONS_FNO_COMMON - Success
-- Performing Test HAVE_CXX_FLAG_FFUNCTION_SECTIONS_FDATA_SECTIONS_FNO_COMMON
-- Performing Test HAVE_CXX_FLAG_FFUNCTION_SECTIONS_FDATA_SECTIONS_FNO_COMMON - Success
-- Performing Test HAVE_CXX_FLAG_FTEMPLATE_DEPTH_2014
-- Performing Test HAVE_CXX_FLAG_FTEMPLATE_DEPTH_2014 - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda (found version "11.3")
-- The CUDA compiler identification is NVIDIA 11.3.58
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Populating pplcommon
-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/Deploy/ppl.cv-0.6.1/deps/pplcommon-subbuild
[ 11%] Performing update step for 'pplcommon-populate'
[ 22%] No patch step for 'pplcommon-populate'
[ 33%] No configure step for 'pplcommon-populate'
[ 44%] No build step for 'pplcommon-populate'
[ 55%] No install step for 'pplcommon-populate'
[ 66%] No test step for 'pplcommon-populate'
[ 77%] Completed 'pplcommon-populate'
[100%] Built target pplcommon-populate
-- Configuring done
CMake Warning (dev) in CMakeLists.txt:
Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104"
for policy details. Use the cmake_policy command to set the policy and
suppress this warning.
CUDA_ARCHITECTURES is empty for target "pplcv_static".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /mnt/Deploy/ppl.cv-0.6.1/cuda-build
[ 2%] Building CXX object pplcommon-build/CMakeFiles/pplcommon_static.dir/src/ppl/common/compact_memory_manager.cc.o
[ 4%] Building CXX object pplcommon-build/CMakeFiles/pplcommon_static.dir/src/ppl/common/file_mapping.cc.o
[ 6%] Building CXX object pplcommon-build/CMakeFiles/pplcommon_static.dir/src/ppl/common/half.cc.o
[ 8%] Building CXX object pplcommon-build/CMakeFiles/pplcommon_static.dir/src/ppl/common/half_soft.cc.o
[ 10%] Building CXX object pplcommon-build/CMakeFiles/pplcommon_static.dir/src/ppl/common/log.cc.o
[ 12%] Building CXX object pplcommon-build/CMakeFiles/pplcommon_static.dir/src/ppl/common/sys.cc.o
[ 14%] Linking CXX static library libpplcommon_static.a
[ 14%] Built target pplcommon_static
[ 16%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/abs.cu.o
[ 18%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/adaptivethreshold.cu.o
[ 20%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/arithmetic.cu.o
[ 22%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/bilateralfilter.cu.o
[ 24%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/convertto.cu.o
[ 26%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/boxfilter.cu.o
[ 30%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/bitwise.cu.o
[ 30%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/calchist.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 32%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/crop.cu.o
[ 34%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/copymakeborder.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 36%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/cvtcolor.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 38%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/dilate.cu.o
[ 40%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/flip.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 42%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/distancetransform.cu.o
[ 46%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/erode.cu.o
[ 46%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/equalizehist.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 51%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/meanstddev.cu.o
[ 51%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/filter2d.cu.o
[ 53%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/gaussianblur.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 55%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/guidedfilter.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 57%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/integral.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 59%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/laplacian.cu.o
[ 63%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/perspectivetransform.cu.o
[ 63%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/mean.cu.o
[ 65%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/minmaxloc.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 67%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/medianblur.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 69%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/merge.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 73%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/pyrup.cu.o
[ 73%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/norm.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 77%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/resize.cu.o
[ 77%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/normalize.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 79%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/rotate.cu.o
[ 81%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/pyrdown.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 83%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/remap.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 85%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/sepfilter2d.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 87%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/sobel.cu.o
[ 89%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/split.cu.o
[ 93%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/warpaffine.cu.o
[ 93%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/transpose.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 95%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/setvalue.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 97%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/warpperspective.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(126): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=ppl::cv::cuda::uchar]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(133): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=uchar4]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(158): warning: function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]"
/usr/local/cuda/include/texture_fetch_functions.h(198): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(767): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=ppl::cv::cuda::uchar]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(774): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=uchar4]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(808): warning: function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]"
/usr/local/cuda/include/texture_fetch_functions.h(198): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/norm.hpp(687): warning: floating-point value does not fit in required integral type
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]"
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/normalize.cu(195): here
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/norm.hpp(832): warning: floating-point value does not fit in required integral type
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]"
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/normalize.cu(195): here
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(126): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=ppl::cv::cuda::uchar]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(133): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=uchar4]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(158): warning: function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]"
/usr/local/cuda/include/texture_fetch_functions.h(198): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(767): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=ppl::cv::cuda::uchar]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(774): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=uchar4]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(808): warning: function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]"
/usr/local/cuda/include/texture_fetch_functions.h(198): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/norm.hpp(687): warning: floating-point value does not fit in required integral type
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]"
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/normalize.cu(195): here
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/norm.hpp(832): warning: floating-point value does not fit in required integral type
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]"
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/normalize.cu(195): here
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(126): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=ppl::cv::cuda::uchar]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(133): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=uchar4]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(158): warning: function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]"
/usr/local/cuda/include/texture_fetch_functions.h(198): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(767): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=ppl::cv::cuda::uchar]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(774): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=uchar4]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(808): warning: function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]"
/usr/local/cuda/include/texture_fetch_functions.h(198): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/norm.hpp(687): warning: floating-point value does not fit in required integral type
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]"
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/normalize.cu(195): here
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/norm.hpp(832): warning: floating-point value does not fit in required integral type
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]"
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/normalize.cu(195): here
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/norm.hpp(687): warning: floating-point value does not fit in required integral type
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]"
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/normalize.cu(195): here
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/norm.hpp(832): warning: floating-point value does not fit in required integral type
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]"
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/normalize.cu(195): here
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(126): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=ppl::cv::cuda::uchar]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(133): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=uchar4]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(158): warning: function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]"
/usr/local/cuda/include/texture_fetch_functions.h(198): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(767): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=ppl::cv::cuda::uchar]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(774): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=uchar4]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(808): warning: function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]"
/usr/local/cuda/include/texture_fetch_functions.h(198): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/norm.hpp(687): warning: floating-point value does not fit in required integral type
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]"
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/normalize.cu(195): here
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/norm.hpp(832): warning: floating-point value does not fit in required integral type
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]"
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/normalize.cu(195): here
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(126): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=ppl::cv::cuda::uchar]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(133): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=uchar4]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(158): warning: function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]"
/usr/local/cuda/include/texture_fetch_functions.h(198): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(767): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=ppl::cv::cuda::uchar]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(774): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=uchar4]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(808): warning: function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]"
/usr/local/cuda/include/texture_fetch_functions.h(198): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/norm.hpp(687): warning: floating-point value does not fit in required integral type
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]"
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/normalize.cu(195): here
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/norm.hpp(832): warning: floating-point value does not fit in required integral type
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]"
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/normalize.cu(195): here
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(126): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=ppl::cv::cuda::uchar]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(133): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=uchar4]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(158): warning: function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]"
/usr/local/cuda/include/texture_fetch_functions.h(198): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(767): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=ppl::cv::cuda::uchar]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(774): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=uchar4]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(808): warning: function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]"
/usr/local/cuda/include/texture_fetch_functions.h(198): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/norm.hpp(687): warning: floating-point value does not fit in required integral type
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]"
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/normalize.cu(195): here
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/norm.hpp(832): warning: floating-point value does not fit in required integral type
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]"
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/normalize.cu(195): here
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(126): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=ppl::cv::cuda::uchar]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(133): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=uchar4]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(158): warning: function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]"
/usr/local/cuda/include/texture_fetch_functions.h(198): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(767): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=ppl::cv::cuda::uchar]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(774): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=uchar4]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(808): warning: function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]"
/usr/local/cuda/include/texture_fetch_functions.h(198): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/norm.hpp(687): warning: floating-point value does not fit in required integral type
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]"
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/normalize.cu(195): here
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/norm.hpp(832): warning: floating-point value does not fit in required integral type
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]"
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/normalize.cu(195): here
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(126): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=ppl::cv::cuda::uchar]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(133): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=uchar4]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(158): warning: function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]"
/usr/local/cuda/include/texture_fetch_functions.h(198): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(767): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=ppl::cv::cuda::uchar]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(774): warning: function "tex2D(texture<T, 2, cudaReadModeNormalizedFloat>, float, float) [with T=uchar4]"
/usr/local/cuda/include/texture_fetch_functions.h(209): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu(808): warning: function "tex2D(texture<T, 2, cudaReadModeElementType>, float, float) [with T=float]"
/usr/local/cuda/include/texture_fetch_functions.h(198): here was declared deprecated
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu: In function ‘ppl::common::RetCode ppl::cv::cuda::resize(const uchar*, int, int, int, int, ppl::cv::cuda::uchar*, int, int, int, ppl::cv::InterpolationType, cudaStream_t)’:
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu:1069:92: warning: ‘cudaError_t cudaBindTexture2D(size_t*, const texture<T, dim, readMode>&, const void*, const cudaChannelFormatDesc&, size_t, size_t, size_t) [with T = unsigned char; int dim = 2; cudaTextureReadMode readMode = (cudaTextureReadMode)1; cudaError_t = cudaError; size_t = long unsigned int]’ is deprecated [-Wdeprecated-declarations]
code = cudaBindTexture2D(0, uchar_c1_ref, src, desc, src_cols, src_rows,
^
/usr/local/cuda/include/cuda_runtime.h:1501:53: note: declared here
static __CUDA_DEPRECATED __inline__ __host__ cudaError_t cudaBindTexture2D(
^~~~~~~~~~~~~~~~~
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu:1085:92: warning: ‘cudaError_t cudaBindTexture2D(size_t*, const texture<T, dim, readMode>&, const void*, const cudaChannelFormatDesc&, size_t, size_t, size_t) [with T = uchar4; int dim = 2; cudaTextureReadMode readMode = (cudaTextureReadMode)1; cudaError_t = cudaError; size_t = long unsigned int]’ is deprecated [-Wdeprecated-declarations]
code = cudaBindTexture2D(0, uchar_c4_ref, src, desc, src_cols, src_rows,
^
/usr/local/cuda/include/cuda_runtime.h:1501:53: note: declared here
static __CUDA_DEPRECATED __inline__ __host__ cudaError_t cudaBindTexture2D(
^~~~~~~~~~~~~~~~~
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu:1162:92: warning: ‘cudaError_t cudaBindTexture2D(size_t*, const texture<T, dim, readMode>&, const void*, const cudaChannelFormatDesc&, size_t, size_t, size_t) [with T = unsigned char; int dim = 2; cudaTextureReadMode readMode = (cudaTextureReadMode)1; cudaError_t = cudaError; size_t = long unsigned int]’ is deprecated [-Wdeprecated-declarations]
code = cudaBindTexture2D(0, uchar_c1_ref, src, desc, src_cols, src_rows,
^
/usr/local/cuda/include/cuda_runtime.h:1501:53: note: declared here
static __CUDA_DEPRECATED __inline__ __host__ cudaError_t cudaBindTexture2D(
^~~~~~~~~~~~~~~~~
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu:1179:92: warning: ‘cudaError_t cudaBindTexture2D(size_t*, const texture<T, dim, readMode>&, const void*, const cudaChannelFormatDesc&, size_t, size_t, size_t) [with T = uchar4; int dim = 2; cudaTextureReadMode readMode = (cudaTextureReadMode)1; cudaError_t = cudaError; size_t = long unsigned int]’ is deprecated [-Wdeprecated-declarations]
code = cudaBindTexture2D(0, uchar_c4_ref, src, desc, src_cols, src_rows,
^
/usr/local/cuda/include/cuda_runtime.h:1501:53: note: declared here
static __CUDA_DEPRECATED __inline__ __host__ cudaError_t cudaBindTexture2D(
^~~~~~~~~~~~~~~~~
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu: In function ‘ppl::common::RetCode ppl::cv::cuda::resize(const float*, int, int, int, int, float*, int, int, int, ppl::cv::InterpolationType, cudaStream_t)’:
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu:1264:110: warning: ‘cudaError_t cudaBindTexture2D(size_t*, const texture<T, dim, readMode>&, const void*, const cudaChannelFormatDesc&, size_t, size_t, size_t) [with T = float; int dim = 2; cudaTextureReadMode readMode = (cudaTextureReadMode)0; cudaError_t = cudaError; size_t = long unsigned int]’ is deprecated [-Wdeprecated-declarations]
code = cudaBindTexture2D(0, float_c1_ref, src, desc, src_cols, src_rows,
^
/usr/local/cuda/include/cuda_runtime.h:1501:53: note: declared here
static __CUDA_DEPRECATED __inline__ __host__ cudaError_t cudaBindTexture2D(
^~~~~~~~~~~~~~~~~
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu:1341:110: warning: ‘cudaError_t cudaBindTexture2D(size_t*, const texture<T, dim, readMode>&, const void*, const cudaChannelFormatDesc&, size_t, size_t, size_t) [with T = float; int dim = 2; cudaTextureReadMode readMode = (cudaTextureReadMode)0; cudaError_t = cudaError; size_t = long unsigned int]’ is deprecated [-Wdeprecated-declarations]
code = cudaBindTexture2D(0, float_c1_ref, src, desc, src_cols, src_rows,
^
/usr/local/cuda/include/cuda_runtime.h:1501:53: note: declared here
static __CUDA_DEPRECATED __inline__ __host__ cudaError_t cudaBindTexture2D(
^~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime.h: In instantiation of ‘cudaError_t cudaBindTexture2D(size_t*, const texture<T, dim, readMode>&, const void*, const cudaChannelFormatDesc&, size_t, size_t, size_t) [with T = unsigned char; int dim = 2; cudaTextureReadMode readMode = (cudaTextureReadMode)1; cudaError_t = cudaError; size_t = long unsigned int]’:
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu:1069:92: required from here
/usr/local/cuda/include/cuda_runtime.h:1511:27: warning: ‘cudaError_t cudaBindTexture2D(size_t*, const textureReference*, const void*, const cudaChannelFormatDesc*, size_t, size_t, size_t)’ is deprecated [-Wdeprecated-declarations]
return ::cudaBindTexture2D(offset, &tex, devPtr, &desc, width, height, pitch);
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8613:46: note: declared here
extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaBindTexture2D(size_t *offset, const struct textureReference *texref, const void *devPtr, const struct cudaChannelFormatDesc *desc, size_t width, size_t height, size_t pitch);
^~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime.h: In instantiation of ‘cudaError_t cudaBindTexture2D(size_t*, const texture<T, dim, readMode>&, const void*, const cudaChannelFormatDesc&, size_t, size_t, size_t) [with T = uchar4; int dim = 2; cudaTextureReadMode readMode = (cudaTextureReadMode)1; cudaError_t = cudaError; size_t = long unsigned int]’:
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu:1085:92: required from here
/usr/local/cuda/include/cuda_runtime.h:1511:27: warning: ‘cudaError_t cudaBindTexture2D(size_t*, const textureReference*, const void*, const cudaChannelFormatDesc*, size_t, size_t, size_t)’ is deprecated [-Wdeprecated-declarations]
return ::cudaBindTexture2D(offset, &tex, devPtr, &desc, width, height, pitch);
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8613:46: note: declared here
extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaBindTexture2D(size_t *offset, const struct textureReference *texref, const void *devPtr, const struct cudaChannelFormatDesc *desc, size_t width, size_t height, size_t pitch);
^~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime.h: In instantiation of ‘cudaError_t cudaBindTexture2D(size_t*, const texture<T, dim, readMode>&, const void*, const cudaChannelFormatDesc&, size_t, size_t, size_t) [with T = float; int dim = 2; cudaTextureReadMode readMode = (cudaTextureReadMode)0; cudaError_t = cudaError; size_t = long unsigned int]’:
/mnt/Deploy/ppl.cv-0.6.1/src/ppl/cv/cuda/resize.cu:1264:110: required from here
/usr/local/cuda/include/cuda_runtime.h:1511:27: warning: ‘cudaError_t cudaBindTexture2D(size_t*, const textureReference*, const void*, const cudaChannelFormatDesc*, size_t, size_t, size_t)’ is deprecated [-Wdeprecated-declarations]
return ::cudaBindTexture2D(offset, &tex, devPtr, &desc, width, height, pitch);
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8613:46: note: declared here
extern __CUDA_DEPRECATED __host__ cudaError_t CUDARTAPI cudaBindTexture2D(size_t *offset, const struct textureReference *texref, const void *devPtr, const struct cudaChannelFormatDesc *desc, size_t width, size_t height, size_t pitch);
^~~~~~~~~~~~~~~~~
[100%] Linking CXX static library libpplcv_static.a
[100%] Built target pplcv_static
Consolidate compiler generated dependencies of target pplcommon_static
[ 14%] Built target pplcommon_static
Consolidate compiler generated dependencies of target pplcv_static
[100%] Built target pplcv_static
Install the project...
-- Install configuration: "Release"
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/include/ppl/common/allocator.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/include/ppl/common/common.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/include/ppl/common/compact_memory_manager.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/include/ppl/common/file_mapping.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/include/ppl/common/generic_cpu_allocator.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/include/ppl/common/half.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/include/ppl/common/lock_utils.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/include/ppl/common/log.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/include/ppl/common/object_pool.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/include/ppl/common/retcode.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/include/ppl/common/stripfilename.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/include/ppl/common/sys.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/include/ppl/common/types.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/lib/libpplcommon_static.a
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/lib/cmake/ppl/pplcommon-config.cmake
-- Up-to-date: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include
-- Up-to-date: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/filter2d.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/boxfilter.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/adaptivethreshold.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/split.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/minMaxLoc.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/erode.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/invert.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/arithmetic.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/meanstddev.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/guidedfilter.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/bitwise.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/mean.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/calchist.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/bilateralfilter.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/equalizehist.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/gaussianblur.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/warpperspective.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/remap.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/crop.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/copymakeborder.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/convertto.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/medianblur.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/normalize.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/abs.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/resize.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/warpaffine.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/dilate.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/rotate.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/pyrup.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/setvalue.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/flip.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/merge.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/sobel.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/transpose.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/distancetransform.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/norm.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/pyrdown.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/perspectivetransform.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/laplacian.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/integral.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/x86/cvtcolor.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/types.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/filter2d.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/boxfilter.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/adaptivethreshold.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/split.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/erode.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/arithmetic.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/meanstddev.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/guidedfilter.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/bitwise.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/mean.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/calchist.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/bilateralfilter.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/equalizehist.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/gaussianblur.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/warpperspective.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/remap.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/crop.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/copymakeborder.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/convertto.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/medianblur.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/normalize.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/abs.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/resize.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/warpaffine.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/dilate.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/rotate.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/pyrup.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/setvalue.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/flip.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/merge.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/sobel.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/transpose.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/distancetransform.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/norm.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/pyrdown.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/minmaxloc.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/sepfilter2d.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/perspectivetransform.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/laplacian.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/integral.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/cuda/cvtcolor.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/arm
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/arm/erode.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/arm/arithmetic.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/arm/get_affine_transform.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/arm/remap.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/arm/copymakeborder.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/arm/resize.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/arm/warpaffine.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/arm/dilate.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/arm/flip.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/arm/get_rotation_matrix2d.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/arm/addweighted.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/./include/ppl/cv/arm/cvtcolor.h
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/lib/libpplcv_static.a
-- Installing: /mnt/Deploy/ppl.cv-0.6.1/cuda-build/install/lib/cmake/ppl/pplcv-config.cmake
According to
Your device, NVIDIA GeForce RTX 3090, which is sm_86, is not on their support list. You can try to insert something like
set(_NVCC_FLAGS "${_NVCC_FLAGS} -gencode arch=compute_86,code=sm_86")
before L16 in the file, but it's not guaranteed to work since they may not have tested on sm_86 yet.
@lzhangzz 感谢,上述问题解决了,又遇到了新的问题,我先自己研究下
你好: 按照官方的文档,在跑yolox tensorrt c sdk demo时候遇到一个错误,看起来像环境问题,统一重新安装了一下还是没有解决,由于不太熟悉整体逻辑,可能忽视了哪些操作,看了一下相关issue暂时没找到解决方法,寻求帮助。
2022-02-22 13:45:05,469 - mmdeploy - INFO - **Environmental information** 2022-02-22 13:45:07,193 - mmdeploy - INFO - sys.platform: linux 2022-02-22 13:45:07,194 - mmdeploy - INFO - Python: 3.7.10 | packaged by conda-forge | (default, Feb 19 2021, 16:07:37) [GCC 9.3.0] 2022-02-22 13:45:07,194 - mmdeploy - INFO - CUDA available: True 2022-02-22 13:45:07,194 - mmdeploy - INFO - GPU 0,1,2,3,4,5,6,7: NVIDIA GeForce RTX 3090 2022-02-22 13:45:07,194 - mmdeploy - INFO - CUDA_HOME: /usr/local/cuda 2022-02-22 13:45:07,194 - mmdeploy - INFO - NVCC: Build cuda_11.3.r11.3/compiler.29745058_0 2022-02-22 13:45:07,194 - mmdeploy - INFO - GCC: gcc (GCC) 9.1.0 2022-02-22 13:45:07,194 - mmdeploy - INFO - PyTorch: 1.10.2 2022-02-22 13:45:07,194 - mmdeploy - INFO - PyTorch compiling details: PyTorch built with:
2022-02-22 13:45:07,194 - mmdeploy - INFO - TorchVision: 0.11.3 2022-02-22 13:45:07,194 - mmdeploy - INFO - OpenCV: 4.5.3 2022-02-22 13:45:07,194 - mmdeploy - INFO - MMCV: 1.4.0 2022-02-22 13:45:07,194 - mmdeploy - INFO - MMCV Compiler: GCC 7.3 2022-02-22 13:45:07,194 - mmdeploy - INFO - MMCV CUDA Compiler: 11.3 2022-02-22 13:45:07,194 - mmdeploy - INFO - MMDeployment: 0.2.0+59470fe 2022-02-22 13:45:07,194 - mmdeploy - INFO -
2022-02-22 13:45:07,194 - mmdeploy - INFO - **Backend information** 2022-02-22 13:45:07,443 - mmdeploy - INFO - onnxruntime: 1.8.1 ops_is_avaliable : True 2022-02-22 13:45:07,443 - mmdeploy - INFO - tensorrt: 8.0.3.4 ops_is_avaliable : True 2022-02-22 13:45:07,443 - mmdeploy - INFO - ncnn: None ops_is_avaliable : False 2022-02-22 13:45:07,444 - mmdeploy - INFO - pplnn_is_avaliable: False 2022-02-22 13:45:07,444 - mmdeploy - INFO - openvino_is_avaliable: False 2022-02-22 13:45:07,444 - mmdeploy - INFO -
2022-02-22 13:45:07,444 - mmdeploy - INFO - **Codebase information** 2022-02-22 13:45:07,444 - mmdeploy - INFO - mmcls: None 2022-02-22 13:45:07,445 - mmdeploy - INFO - mmdet: 2.14.0 2022-02-22 13:45:07,445 - mmdeploy - INFO - mmedit: None 2022-02-22 13:45:07,445 - mmdeploy - INFO - mmocr: None 2022-02-22 13:45:07,445 - mmdeploy - INFO - mmseg: None
[2022-02-22 13:46:40.000] [mmdeploy] [info] Register 'DirectoryModel' [2022-02-22 13:46:45.052] [mmdeploy] [info] config: { "context": { "device": "",
"stream": ""
},
"input": [
"image"
],
"name": "mmdetection",
"output": [
"det"
],
"params": {
"model": "../../../../work_dirs/"
},
"type": "Inference"
}
[2022-02-22 13:46:45.053] [mmdeploy] [info] DirectoryModel successfully load sdk model ../../../../work_dirs/
[2022-02-22 13:46:45.053] [mmdeploy] [info] config: {
"context": {
"device": "",
"model": "",
"stream": ""
},
"input": [
"img"
],
"module": "Transform",
"name": "Preprocess",
"output": [
"prep_output"
],
"transforms": [
{
"type": "LoadImageFromFile"
},
{
"keep_ratio": true,
"size": [
320,
320
],
"type": "Resize"
},
{
"pad_to_square": true,
"pad_val": 114.0,
"type": "Pad"
},
{
"keys": [
"img"
],
"type": "ImageToTensor"
},
{
"keys": [
"img"
],
"meta_keys": [
"flip_direction",
"flip",
"ori_filename",
"scale_factor",
"filename",
"valid_ratio",
"img_norm_cfg",
"pad_shape",
"ori_shape",
"img_shape"
],
"type": "Collect"
}
],
"type": "Task"
}
[2022-02-22 13:46:45.053] [mmdeploy] [info] config: {
"context": {
"device": "",
"model": "",
"stream": ""
},
"input": [
"img"
],
"module": "Transform",
"name": "Preprocess",
"output": [
"prep_output"
],
"transforms": [
{
"type": "LoadImageFromFile"
},
{
"keep_ratio": true,
"size": [
320,
320
],
"type": "Resize"
},
{
"pad_to_square": true,
"pad_val": 114.0,
"type": "Pad"
},
{
"keys": [
"img"
],
"type": "ImageToTensor"
},
{
"keys": [
"img"
],
"meta_keys": [
"flip_direction",
"flip",
"ori_filename",
"scale_factor",
"filename",
"valid_ratio",
"img_norm_cfg",
"pad_shape",
"ori_shape",
"img_shape"
],
"type": "Collect"
}
],
"type": "Task"
}
[2022-02-22 13:46:45.053] [mmdeploy] [info] config: {
"context": {
"device": "",
"model": "",
"stream": ""
},
"input": [
"prep_output"
],
"input_map": {
"img": "input"
},
"module": "Net",
"name": "yolox",
"output": [
"infer_output"
],
"type": "Task"
}
[2022-02-22 13:46:45.053] [mmdeploy] [info] config: {
"context": {
"device": "",
"model": "",
"stream": ""
},
"input": [
"prep_output"
],
"input_map": {
"img": "input"
},
"module": "Net",
"name": "yolox",
"output": [
"infer_output"
],
"type": "Task"
}
[2022-02-22 13:46:45.053] [mmdeploy] [info] Default CUDA allocator initialized
[2022-02-22 13:46:47.357] [mmdeploy] [warning] TRTNet: TensorRT was linked against cuBLAS/cuBLAS LT 11.5.1 but loaded cuBLAS/cuBLAS LT 11.4.2
[2022-02-22 13:46:48.182] [mmdeploy] [warning] TRTNet: TensorRT was linked against cuBLAS/cuBLAS LT 11.5.1 but loaded cuBLAS/cuBLAS LT 11.4.2
[2022-02-22 13:46:48.186] [mmdeploy] [info] config: {
"component": "ResizeBBox",
"context": {
"device": "",
"model": "",
"stream": ""
},
"input": [
"prep_output",
"infer_output"
],
"module": "mmdet",
"name": "postprocess",
"output": [
"post_output"
],
"params": {
"nms": {
"iou_threshold": 0.65,
"type": "nms"
},
"score_thr": 0.01
},
"type": "Task"
}
[2022-02-22 13:46:48.186] [mmdeploy] [info] config: {
"component": "ResizeBBox",
"context": {
"device": "",
"model": "",
"stream": ""
},
"input": [
"prep_output",
"infer_output"
],
"module": "mmdet",
"name": "postprocess",
"output": [
"post_output"
],
"params": {
"nms": {
"iou_threshold": 0.65,
"type": "nms"
},
"score_thr": 0.01
},
"type": "Task"
}
[ERROR][2022-02-22 13:46:48.197][resize.cu:1202] CUDA error: no kernel image is available for execution on the device
[2022-02-22 13:46:48.198] [mmdeploy] [error] error: unknown (6) @ /mnt/Deploy/mmdeploy/csrc/preprocess/cuda/resize_impl.cpp:88
[2022-02-22 13:46:48.198] [mmdeploy] [error] unhandled exception: unknown (6) @ /mnt/Deploy/mmdeploy/csrc/preprocess/cuda/resize_impl.cpp:88
[2022-02-22 13:46:48.198] [mmdeploy] [error] exception caught: unknown (6) @ /mnt/Deploy/mmdeploy/csrc/experimental/module_adapter.h:35
failed to apply detector, code: 6
[2022-02-22 13:46:48.340] [mmdeploy] [info] === Tree ===
[2022-02-22 13:46:48.340] [mmdeploy] [info] Allocation: count=2, size=0.977783MB, time=0.064254ms
[2022-02-22 13:46:48.340] [mmdeploy] [info] Deallocation: count=2, size=0.977783MB, time=0.00894ms
[2022-02-22 13:46:48.340] [mmdeploy] [info] Peak memory usage: size=0.977783MB
[2022-02-22 13:46:48.340] [mmdeploy] [info] === cudaMalloc ===
[2022-02-22 13:46:48.340] [mmdeploy] [info] Allocation: count=2, size=0.977783MB, time=0.050285ms
[2022-02-22 13:46:48.340] [mmdeploy] [info] Deallocation: count=2, size=0.977783MB, time=0.070958ms
[2022-02-22 13:46:48.340] [mmdeploy] [info] Peak memory usage: size=0.977783MB