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

在nvidia jetson orin nx 上 启用cuda和tensorrt 编译失败,tensorrt里面的调用api太老了,该如何解决 #3064

Open
captain0005 opened this issue Oct 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@captain0005
Copy link

captain0005 commented Oct 29, 2024

平台(如果交叉编译请再附上交叉编译目标平台):

Platform(Include target platform as well if cross-compiling):

nvidia jetson orin nx
1730171867440

Github版本:

Github Version:

master

编译方式:

Compiling Method

1:修改source/backend/cuda/CMakeLists.txt 增加 87(Autodetected CUDA architecture(s):  8.7
CMake Error at source/backend/cuda/CMakeLists.txt:32 (message):
  Please add your own sm arch 87 to CmakeLists.txt!)
2:修改MNN/cmakelists.txt 
将cuda和tensorrt 设置位ON
3:mkdir build && cd build 
4: cmake .. 
5:make -j 4

编译日志:

Build Log:

(base) root@jetson:/home/flsay/wpy/MNN/build# cmake ..
-- Use Threadpool, forbid openmp
-- >>>>>>>>>>>>>
-- MNN BUILD INFO:
--      System: Linux
--      Processor: aarch64
--      Version: 2.9.6
--      Metal: OFF
--      OpenCL: OFF
--      OpenGL: OFF
--      Vulkan: OFF
--      ARM82: ON
--      KleidiAI: OFF
--      oneDNN: OFF
--      TensorRT: ON
--      CoreML: OFF
--      NNAPI: OFF
--      CUDA: ON
--      OpenMP: OFF
--      BF16: OFF
--      ThreadPool: ON
--      Hidden: TRUE
--      Build Path: /home/flsay/wpy/MNN/build
--      CUDA PROFILE: OFF
-- WIN_USE_ASM: 
-- Enabling AArch64 Assemblies
-- Autodetected CUDA architecture(s):  8.7
-- Enabling CUDA support (version: 11.4, archs: sm_87)
-- message  -D_FORCE_INLINES -Wno-deprecated-gpu-targets -w  -O3 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_72,code=sm_72 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 !!!!!!!!!!! /usr/local/cuda/include
-- Found CUDA: /usr/local/cuda (found version "11.4") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/flsay/wpy/MNN/build
(base) root@jetson:/home/flsay/wpy/MNN/build# make -j4
[  0%] Building NVCC (Device) object source/backend/tensorrt/CMakeFiles/TRT_CUDA_PLUGIN.dir/execution/plugin/TRT_CUDA_PLUGIN_generated_UnaryPlugin.cu.o
Scanning dependencies of target MNN_Arm82
Scanning dependencies of target MNN_TRT
Scanning dependencies of target MNNARM64
[  0%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S.o
[  0%] Building CXX object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/Arm82Backend.cpp.o
[  0%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNAvgPoolInt8.S.o
[  0%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNAxByClampBroadcastC4.S.o
[  0%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNBGRAToBGR.S.o
[  1%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNBGRAToGRAY.S.o
[  1%] Building CXX object source/backend/tensorrt/CMakeFiles/MNN_TRT.dir/backend/TRTBackend.cpp.o
[  1%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNBGRToBGR555.S.o
[  1%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNBGRToBGR565.S.o
[  1%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNBGRToGRAY.S.o
[  1%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNBilinearLineC8.S.o
[  1%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNBilinearSampleC8.S.o
[  2%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNBinaryAddInt8.S.o
[  2%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNBinaryMaxInt8.S.o
[  2%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNBinaryMinInt8.S.o
[  2%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNBinaryMulInt8.S.o
[  2%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNBinarySqdInt8.S.o
[  3%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNBinarySubInt8.S.o
[  3%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNBlitC1ToFloatRGBA.S.o
[  3%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNBlitC3ToFloatRGBA.S.o
[  3%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNC3ToC4Fast.S.o
[  3%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNC3ToXYZFast.S.o
[  3%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNC3ToYUVFast.S.o
[  4%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNConvDwF23MulTransUnit.S.o
[  4%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNConvDwF23SourceTransUnit.S.o
[  4%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNConvRunForLineDepthWiseInt8.S.o
[  4%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNConvRunForLineDepthWiseUint8.S.o
[  4%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNConvRunForLineDepthwise.S.o
[  5%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNConvRunForUnitDepthWiseUint8.S.o
[  5%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNCopyC4WithStride.S.o
[  5%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNCubicLineC16.S.o
[  5%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNCubicSampleC16.S.o
[  5%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNDeconvRunForUnitDepthWise.S.o
[  5%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNDepthwiseConvFastKernel.S.o
[  6%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNExpC8.S.o
[  6%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNFloat2Int8.S.o
[  6%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNGRAYToC3Fast.S.o
[  6%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNGRAYToC4Fast.S.o
[  6%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNGelu.S.o
[  7%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNGemmInt8AddBiasScale_16x4_Unit.S.o
[  7%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNGemmInt8AddBiasScale_16x4_Unit_FAST.S.o
[  7%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNGemmInt8AddBiasScale_ARMV82_Unit.S.o
[  7%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNGemmInt8AddBiasScale_ARMV86_Unit.S.o
[  7%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNGemmint8to32_8x4_Unit.S.o
[  8%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNInt8ScaleToFloat.S.o
[  8%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNLineDepthWiseInt8AddBiasScaleUnit.S.o
[  8%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNLineDepthWiseInt8AddBiasScale_ARMV82_Unit3X3.S.o
[  8%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNLoadU8AndSum.S.o
[  8%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNMatrixAdd.S.o
[  8%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNMatrixMax.S.o
[  9%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNMatrixProd.S.o
[  9%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNMatrixSub.S.o
[  9%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNMaxFloat.S.o
[  9%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNMaxPoolInt8.S.o
[  9%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNMinFloat.S.o
[ 10%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNNV21ToBGRAUnit.S.o
[ 10%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNNV21ToBGRUnit.S.o
[ 10%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNNV21ToRGBAUnit.S.o
[ 10%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNNV21ToRGBUnit.S.o
[ 10%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNPackC2.S.o
/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/../schema/current/MNNPlugin_generated.h(1556): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/../schema/current/MNNPlugin_generated.h(1587): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/../schema/current/MNNPlugin_generated.h(1627): warning: variable "_va" was set but never used

[ 10%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNPackC4.S.o
/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/../schema/current/MNNPlugin_generated.h(1675): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/../schema/current/MNNPlugin_generated.h(1714): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/../schema/current/MNNPlugin_generated.h(1753): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/../schema/current/MNNPlugin_generated.h(1805): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/../schema/current/MNNPlugin_generated.h(1840): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/../schema/current/MNNPlugin_generated.h(1899): warning: variable "_va" was set but never used

[ 11%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNPackC4ForMatMul_A.S.o
[ 11%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNPackC4Int8ForMatMulA_ARM82.S.o
[ 11%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNPackC4Int8ForMatMulA_ARM86.S.o
[ 11%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNPackC8.S.o
/home/flsay/wpy/MNN/schema/current/Tensor_generated.h(567): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/Tensor_generated.h(615): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/Tensor_generated.h(657): warning: variable "_va" was set but never used

[ 11%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNPackedMatMul.S.o
[ 12%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNPackedMatMulRemain.S.o
[ 12%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNPackedSparseMatMulEpx1.S.o
[ 12%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNPackedSparseMatMulEpx4.S.o
[ 12%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNPackedSparseQuantMatMulEpx1.S.o
/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(4290): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(4359): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(4449): warning: variable "_va" was set but never used

[ 12%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNPackedSparseQuantMatMulEpx4.S.o
/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(4512): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(4566): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(4607): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(4646): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(4698): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(4753): warning: variable "_va" was set but never used

In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:18:36: error: invalid use of incomplete type ‘class nvinfer1::IPluginFactory’
   18 | class TRTPlugin : public nvinfer1::IPluginFactory {
      |                                    ^~~~~~~~~~~~~~
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:22,
                 from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferImpl.h:70:7: note: forward declaration of ‘class nvinfer1::IPluginFactory’
   70 | class IPluginFactory;
      |       ^~~~~~~~~~~~~~
/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(4789): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(4816): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(4845): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(4873): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(4903): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(4940): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(4972): warning: variable "_va" was set but never used

In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:21:32: error: ‘virtual nvinfer1::IPlugin* MNN::TRTPlugin::createPlugin(const char*, const void*, size_t)’ marked ‘override’, but does not override
   21 |     virtual nvinfer1::IPlugin* createPlugin(const char* layerName, const void* serialData,
      |                                ^~~~~~~~~~~~
/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5000): warning: variable "_va" was set but never used

In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:23,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTType.hpp:19:10: error: looser throw specifier for ‘virtual void MNN::TRTLogger::log(nvinfer1::ILogger::Severity, const char*)’
   19 |     void log(nvinfer1::ILogger::Severity severity, const char* msg) override {
      |          ^~~
In file included from /usr/include/aarch64-linux-gnu/NvInferLegacyDims.h:16,
                 from /usr/include/aarch64-linux-gnu/NvInfer.h:16,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:1533:18: note: overridden function is ‘virtual void nvinfer1::ILogger::log(nvinfer1::ILogger::Severity, const AsciiChar*) noexcept’
 1533 |     virtual void log(Severity severity, AsciiChar const* msg) noexcept = 0;
      |                  ^~~
/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5038): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5082): warning: variable "_va" was set but never used

[ 12%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNPowC8.S.o
/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5119): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5162): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5195): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5224): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5252): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5279): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5316): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5366): warning: variable "_va" was set but never used

In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp: In member function ‘virtual bool MNN::TRTRuntime::onSetCache(const void*, size_t)’:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:44:33: warning: ‘void nvinfer1::IHostMemory::destroy()’ is deprecated [-Wdeprecated-declarations]
   44 |                 mModel->destroy();
      |                                 ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:172:25: note: declared here
  172 |     TRT_DEPRECATED void destroy() noexcept
      |                         ^~~~~~~
/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5412): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5467): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5520): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5558): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5607): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5642): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/CaffeOp_generated.h(5675): warning: variable "_va" was set but never used

[ 13%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNQuanToDestUint8.S.o
/home/flsay/wpy/MNN/schema/current/ExtraInfo_generated.h(115): warning: variable "_va" was set but never used

[ 13%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNRGBAToBGRAFast.S.o
/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(1758): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(1789): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(1824): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(1866): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(1916): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(1954): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(1989): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(2018): warning: variable "_va" was set but never used

[ 13%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNRGBAToBGRFast.S.o
/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(2056): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(2102): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(2128): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(2155): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(2184): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(2214): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(2243): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(2266): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TFQuantizeOp_generated.h(2304): warning: variable "_va" was set but never used

In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:22:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp: At global scope:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp:22:10: error: looser throw specifier for ‘virtual void MNN::Logger::log(nvinfer1::ILogger::Severity, const char*)’
   22 |     void log(nvinfer1::ILogger::Severity severity, const char* msg) override {
      |          ^~~
In file included from /usr/include/aarch64-linux-gnu/NvInferLegacyDims.h:16,
                 from /usr/include/aarch64-linux-gnu/NvInfer.h:16,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntimeCommon.h:1533:18: note: overridden function is ‘virtual void nvinfer1::ILogger::log(nvinfer1::ILogger::Severity, const AsciiChar*) noexcept’
 1533 |     virtual void log(Severity severity, AsciiChar const* msg) noexcept = 0;
      |                  ^~~
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:22:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp: In function ‘void MNN::Execute(nvinfer1::IExecutionContext*, const float*, float*)’:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp:60:65: warning: ‘int32_t nvinfer1::ICudaEngine::getBindingIndex(const char*) const’ is deprecated [-Wdeprecated-declarations]
   60 |     const int input_index  = engine.getBindingIndex(kInputTensor);
      |                                                                 ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:1427:28: note: declared here
 1427 |     TRT_DEPRECATED int32_t getBindingIndex(char const* name) const noexcept
      |                            ^~~~~~~~~~~~~~~
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:22:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp:61:66: warning: ‘int32_t nvinfer1::ICudaEngine::getBindingIndex(const char*) const’ is deprecated [-Wdeprecated-declarations]
   61 |     const int output_index = engine.getBindingIndex(kOutputTensor);
      |                                                                  ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:1427:28: note: declared here
 1427 |     TRT_DEPRECATED int32_t getBindingIndex(char const* name) const noexcept
      |                            ^~~~~~~~~~~~~~~
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:22:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp:73:49: warning: ‘bool nvinfer1::IExecutionContext::enqueue(int32_t, void* const*, cudaStream_t, CUevent_st**)’ is deprecated [-Wdeprecated-declarations]
   73 |     context->enqueue(1, buffers, stream, nullptr);
      |                                                 ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:2305:25: note: declared here
 2305 |     TRT_DEPRECATED bool enqueue(
      |                         ^~~~~~~
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:22:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp: In function ‘nvinfer1::IHostMemory* MNN::CreateNetwork()’:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp:91:44: error: ‘class nvinfer1::IBuilder’ has no member named ‘createNetwork’; did you mean ‘createNetworkV2’?
   91 |     INetworkDefinition* network = builder->createNetwork();
      |                                            ^~~~~~~~~~~~~
      |                                            createNetworkV2
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp:93:78: error: ‘DimsCHW’ was not declared in this scope
   93 |     auto input = network->addInput(kInputTensor, nvinfer1::DataType::kFLOAT, DimsCHW{1, 1, 1});
      |                                                                              ^~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp:113:31: warning: ‘void nvinfer1::IBuilder::setMaxBatchSize(int32_t)’ is deprecated [-Wdeprecated-declarations]
  113 |     builder->setMaxBatchSize(1);
      |                               ^
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInfer.h:9379:25: note: declared here
 9379 |     TRT_DEPRECATED void setMaxBatchSize(int32_t batchSize) noexcept
      |                         ^~~~~~~~~~~~~~~
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:22:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp:114:14: error: ‘class nvinfer1::IBuilder’ has no member named ‘setMaxWorkspaceSize’
  114 |     builder->setMaxWorkspaceSize(1 << 10);
      |              ^~~~~~~~~~~~~~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp:115:28: error: ‘class nvinfer1::IBuilder’ has no member named ‘buildCudaEngine’
  115 |     auto engine = builder->buildCudaEngine(*network);
      |                            ^~~~~~~~~~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp:119:22: warning: ‘void nvinfer1::INetworkDefinition::destroy()’ is deprecated [-Wdeprecated-declarations]
  119 |     network->destroy();
      |                      ^
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInfer.h:7015:25: note: declared here
 7015 |     TRT_DEPRECATED void destroy() noexcept
      |                         ^~~~~~~
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:22:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp:121:22: warning: ‘void nvinfer1::IBuilder::destroy()’ is deprecated [-Wdeprecated-declarations]
  121 |     builder->destroy();
      |                      ^
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInfer.h:9422:25: note: declared here
 9422 |     TRT_DEPRECATED void destroy() noexcept
      |                         ^~~~~~~
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:22:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp: In function ‘void MNN::testTensorRT()’:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp:130:105: warning: ‘nvinfer1::ICudaEngine* nvinfer1::IRuntime::deserializeCudaEngine(const void*, std::size_t, nvinfer1::IPluginFactory*)’ is deprecated [-Wdeprecated-declarations]
  130 |     nvinfer1::ICudaEngine* engine = runtime->deserializeCudaEngine(model->data(), model->size(), nullptr);
      |                                                                                                         ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:637:43: note: declared here
  637 |     TRT_DEPRECATED nvinfer1::ICudaEngine* deserializeCudaEngine(
      |                                           ^~~~~~~~~~~~~~~~~~~~~
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:22:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp:131:20: warning: ‘void nvinfer1::IHostMemory::destroy()’ is deprecated [-Wdeprecated-declarations]
  131 |     model->destroy();
      |                    ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:172:25: note: declared here
  172 |     TRT_DEPRECATED void destroy() noexcept
      |                         ^~~~~~~
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:22:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp:141:22: warning: ‘void nvinfer1::IExecutionContext::destroy()’ is deprecated [-Wdeprecated-declarations]
  141 |     context->destroy();
      |                      ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:2371:25: note: declared here
 2371 |     TRT_DEPRECATED void destroy() noexcept
      |                         ^~~~~~~
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:22:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp:142:21: warning: ‘void nvinfer1::ICudaEngine::destroy()’ is deprecated [-Wdeprecated-declarations]
  142 |     engine->destroy();
      |                     ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:1609:25: note: declared here
 1609 |     TRT_DEPRECATED void destroy() noexcept
      |                         ^~~~~~~
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:22:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackendTest.hpp:143:22: warning: ‘void nvinfer1::IRuntime::destroy()’ is deprecated [-Wdeprecated-declarations]
  143 |     runtime->destroy();
      |                      ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:682:25: note: declared here
  682 |     TRT_DEPRECATED void destroy() noexcept
      |                         ^~~~~~~
[ 13%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNRGBAToGRAYFast.S.o
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp: In member function ‘void MNN::TRTBackend::init()’:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:109:30: error: ‘class nvinfer1::IBuilder’ has no member named ‘createNetwork’; did you mean ‘createNetworkV2’?
  109 |         mNetwork = mBuilder->createNetwork();
      |                              ^~~~~~~~~~~~~
      |                              createNetworkV2
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp: In member function ‘void MNN::TRTBackend::unInit()’:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:124:27: warning: ‘void nvinfer1::IExecutionContext::destroy()’ is deprecated [-Wdeprecated-declarations]
  124 |         mContext->destroy();
      |                           ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:2371:25: note: declared here
 2371 |     TRT_DEPRECATED void destroy() noexcept
      |                         ^~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:128:26: warning: ‘void nvinfer1::ICudaEngine::destroy()’ is deprecated [-Wdeprecated-declarations]
  128 |         mEngine->destroy();
      |                          ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:1609:25: note: declared here
 1609 |     TRT_DEPRECATED void destroy() noexcept
      |                         ^~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:132:27: warning: ‘void nvinfer1::IRuntime::destroy()’ is deprecated [-Wdeprecated-declarations]
  132 |         mRuntime->destroy();
      |                           ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:682:25: note: declared here
  682 |     TRT_DEPRECATED void destroy() noexcept
      |                         ^~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:136:27: warning: ‘void nvinfer1::IBuilder::destroy()’ is deprecated [-Wdeprecated-declarations]
  136 |         mBuilder->destroy();
      |                           ^
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInfer.h:9422:25: note: declared here
 9422 |     TRT_DEPRECATED void destroy() noexcept
      |                         ^~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:140:27: warning: ‘void nvinfer1::INetworkDefinition::destroy()’ is deprecated [-Wdeprecated-declarations]
  140 |         mNetwork->destroy();
      |                           ^
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInfer.h:7015:25: note: declared here
 7015 |     TRT_DEPRECATED void destroy() noexcept
      |                         ^~~~~~~
[ 13%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNRGBToBGR.S.o
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp: In member function ‘virtual void MNN::TRTBackend::onExecuteBegin() const’:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:194:72: warning: ‘bool nvinfer1::IExecutionContext::enqueue(int32_t, void* const*, cudaStream_t, CUevent_st**)’ is deprecated [-Wdeprecated-declarations]
  194 |     mContext->enqueue(1, (void**)mInOutbuffers.data(), nullptr, nullptr);
      |                                                                        ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:2305:25: note: declared here
 2305 |     TRT_DEPRECATED bool enqueue(
      |                         ^~~~~~~
/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(3674): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(3705): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(3740): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(3780): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(3807): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(3839): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(3876): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(3910): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(3941): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(3974): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4011): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4041): warning: variable "_va" was set but never used

[ 14%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNRGBToBGR555.S.o
/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4073): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4104): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4131): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4157): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4186): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4210): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4235): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4259): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4285): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4311): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4337): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4364): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4393): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4425): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4461): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4504): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4557): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp: In member function ‘virtual MNN::Backend::MemObj* MNN::TRTBackend::onAcquire(const MNN::Tensor*, MNN::Backend::StorageType)’:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:220:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::map<const MNN::Tensor*, std::pair<std::__cxx11::basic_string<char>, void*> >::size_type’ {aka ‘long unsigned int’} [-Wformat=]
  220 |         sprintf(name, "O%d", mOutputs.size());
      |                         ~^   ~~~~~~~~~~~~~~~
      |                          |                |
      |                          int              std::map<const MNN::Tensor*, std::pair<std::__cxx11::basic_string<char>, void*> >::size_type {aka long unsigned int}
      |                         %ld
/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4586): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4615): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4650): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4691): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4719): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4751): warning: variable "_va" was set but never used

[ 14%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNRGBToBGR565.S.o
/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4795): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4837): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4877): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/TensorflowOp_generated.h(4917): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp: In member function ‘virtual void MNN::TRTBackend::onCopyBuffer(const MNN::Tensor*, const MNN::Tensor*) const’:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:304:97: warning: ‘int32_t nvinfer1::ICudaEngine::getBindingIndex(const char*) const’ is deprecated [-Wdeprecated-declarations]
  304 |         auto inputIndex = mContext->getEngine().getBindingIndex(mInputs[dstTensor].first.c_str());
      |                                                                                                 ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:1427:28: note: declared here
 1427 |     TRT_DEPRECATED int32_t getBindingIndex(char const* name) const noexcept
      |                            ^~~~~~~~~~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:305:50: warning: comparison between ‘enum MNN::MNN_DATA_FORMAT’ and ‘enum MNN::Tensor::DimensionType’ [-Wenum-compare]
  305 |         if(data_format == Tensor::DimensionType::CAFFE){
      |                                                  ^~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:344:99: warning: ‘int32_t nvinfer1::ICudaEngine::getBindingIndex(const char*) const’ is deprecated [-Wdeprecated-declarations]
  344 |         auto outputIndex = mContext->getEngine().getBindingIndex(mOutputs[srcTensor].first.c_str());
      |                                                                                                   ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:1427:28: note: declared here
 1427 |     TRT_DEPRECATED int32_t getBindingIndex(char const* name) const noexcept
      |                            ^~~~~~~~~~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp: In member function ‘virtual MNN::ErrorCode MNN::TRTBackend::onResizeEnd()’:
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:376:36: warning: ‘void nvinfer1::IBuilder::setMaxBatchSize(int32_t)’ is deprecated [-Wdeprecated-declarations]
  376 |         mBuilder->setMaxBatchSize(1);
      |                                    ^
In file included from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInfer.h:9379:25: note: declared here
 9379 |     TRT_DEPRECATED void setMaxBatchSize(int32_t batchSize) noexcept
      |                         ^~~~~~~~~~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:377:19: error: ‘class nvinfer1::IBuilder’ has no member named ‘setMaxWorkspaceSize’
  377 |         mBuilder->setMaxWorkspaceSize(1024 * 1024);
      |                   ^~~~~~~~~~~~~~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:381:23: error: ‘class nvinfer1::IBuilder’ has no member named ‘setFp16Mode’
  381 |             mBuilder->setFp16Mode(support_fp16);
      |                       ^~~~~~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:384:37: error: ‘class nvinfer1::IBuilder’ has no member named ‘buildCudaEngine’
  384 |         auto cudaEngine = mBuilder->buildCudaEngine(*mNetwork);
      |                                     ^~~~~~~~~~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:390:116: error: no matching function for call to ‘nvinfer1::IRuntime::deserializeCudaEngine(void*, std::size_t, MNN::TRTPlugin*)’
  390 |             mEngine = mRuntime->deserializeCudaEngine(model->data(), model->size(), &Singleton<TRTPlugin>::Global());
      |                                                                                                                    ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:637:43: note: candidate: ‘nvinfer1::ICudaEngine* nvinfer1::IRuntime::deserializeCudaEngine(const void*, std::size_t, nvinfer1::IPluginFactory*)’
  637 |     TRT_DEPRECATED nvinfer1::ICudaEngine* deserializeCudaEngine(
      |                                           ^~~~~~~~~~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:638:61: note:   no known conversion for argument 3 from ‘MNN::TRTPlugin*’ to ‘nvinfer1::IPluginFactory*’
  638 |         void const* blob, std::size_t size, IPluginFactory* pluginFactory) noexcept
      |                                             ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:745:18: note: candidate: ‘nvinfer1::ICudaEngine* nvinfer1::IRuntime::deserializeCudaEngine(const void*, std::size_t)’
  745 |     ICudaEngine* deserializeCudaEngine(void const* blob, std::size_t size) noexcept
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:745:18: note:   candidate expects 2 arguments, 3 provided
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:400:138: error: no matching function for call to ‘nvinfer1::IRuntime::deserializeCudaEngine(const void* const&, const size_t&, MNN::TRTPlugin*)’
  400 |             mEngine = mRuntime->deserializeCudaEngine(mTRTRuntime->mCacheBuffer, mTRTRuntime->mCacheSize, &Singleton<TRTPlugin>::Global());
      |                                                                                                                                          ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:637:43: note: candidate: ‘nvinfer1::ICudaEngine* nvinfer1::IRuntime::deserializeCudaEngine(const void*, std::size_t, nvinfer1::IPluginFactory*)’
  637 |     TRT_DEPRECATED nvinfer1::ICudaEngine* deserializeCudaEngine(
      |                                           ^~~~~~~~~~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:638:61: note:   no known conversion for argument 3 from ‘MNN::TRTPlugin*’ to ‘nvinfer1::IPluginFactory*’
  638 |         void const* blob, std::size_t size, IPluginFactory* pluginFactory) noexcept
      |                                             ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:745:18: note: candidate: ‘nvinfer1::ICudaEngine* nvinfer1::IRuntime::deserializeCudaEngine(const void*, std::size_t)’
  745 |     ICudaEngine* deserializeCudaEngine(void const* blob, std::size_t size) noexcept
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:745:18: note:   candidate expects 2 arguments, 3 provided
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:418:47: warning: ‘int32_t nvinfer1::ICudaEngine::getNbBindings() const’ is deprecated [-Wdeprecated-declarations]
  418 |     mInOutbuffers.resize(engine.getNbBindings());
      |                                               ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:1399:28: note: declared here
 1399 |     TRT_DEPRECATED int32_t getNbBindings() const noexcept
      |                            ^~~~~~~~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:420:75: warning: ‘int32_t nvinfer1::ICudaEngine::getBindingIndex(const char*) const’ is deprecated [-Wdeprecated-declarations]
  420 |         auto inputIndex = engine.getBindingIndex(iter.second.first.c_str());
      |                                                                           ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:1427:28: note: declared here
 1427 |     TRT_DEPRECATED int32_t getBindingIndex(char const* name) const noexcept
      |                            ^~~~~~~~~~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:426:76: warning: ‘int32_t nvinfer1::ICudaEngine::getBindingIndex(const char*) const’ is deprecated [-Wdeprecated-declarations]
  426 |         auto outputIndex = engine.getBindingIndex(iter.second.first.c_str());
      |                                                                            ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:1427:28: note: declared here
 1427 |     TRT_DEPRECATED int32_t getBindingIndex(char const* name) const noexcept
      |                            ^~~~~~~~~~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:434:16: warning: possible problem detected in invocation of delete operator: [-Wdelete-incomplete]
  434 |         delete l;
      |                ^
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:433:15: warning: ‘l’ has incomplete type
  433 |     for (auto l : mEraseLayers) {
      |               ^
In file included from /usr/include/aarch64-linux-gnu/NvInferRuntime.h:22,
                 from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTPlugin.hpp:14,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.hpp:22,
                 from /home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:9:
/usr/include/aarch64-linux-gnu/NvInferImpl.h:69:7: note: forward declaration of ‘class nvinfer1::IPluginExt’
   69 | class IPluginExt;
      |       ^~~~~~~~~~
/home/flsay/wpy/MNN/source/backend/tensorrt/backend/TRTBackend.cpp:434:16: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined
  434 |         delete l;
      |                ^
/home/flsay/wpy/MNN/schema/current/UserDefine_generated.h(565): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/UserDefine_generated.h(596): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/UserDefine_generated.h(638): warning: variable "_va" was set but never used

[ 14%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNRGBToGRAYFast.S.o
[ 14%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNReluInt8.S.o
[ 14%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNReluWithSlopeChannel.S.o
[ 15%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNReluWithSlopeChannelInt8.S.o
[ 15%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNSamplerC1BilinearOpt.S.o
[ 15%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNSamplerC1NearestOpt.S.o
/home/flsay/wpy/MNN/schema/current/MNN_generated.h(5085): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/MNN_generated.h(5111): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/MNN_generated.h(5137): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/MNN_generated.h(5163): warning: variable "_va" was set but never used

[ 15%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNSamplerC3BilinearOpt.S.o
[ 15%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNSamplerC4BilinearOpt.S.o
/home/flsay/wpy/MNN/schema/current/MNN_generated.h(5360): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/MNN_generated.h(5401): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/MNN_generated.h(5432): warning: variable "_va" was set but never used

/home/flsay/wpy/MNN/schema/current/MNN_generated.h(5547): warning: variable "_va" was set but never used

[ 15%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNSamplerC4NearestOpt.S.o
[ 16%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNScaleAddInt8.S.o
[ 16%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNScaleAndAddBias.S.o
[ 16%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNScaleAndAddBiasInt8.S.o
[ 16%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNSoftmax.S.o
[ 16%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNStrassenMergeCFunction.S.o
/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/CommonPlugin.hpp(80): error: incomplete type is not allowed

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/CommonPlugin.hpp(93): error: member function declared with "override" does not override a base class member

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/CommonPlugin.hpp(94): error: member function declared with "override" does not override a base class member

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/CommonPlugin.hpp(95): error: member function declared with "override" does not override a base class member

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/CommonPlugin.hpp(96): error: member function declared with "override" does not override a base class member

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/CommonPlugin.hpp(97): error: member function declared with "override" does not override a base class member

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/CommonPlugin.hpp(100): error: member function declared with "override" does not override a base class member

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/CommonPlugin.hpp(101): error: member function declared with "override" does not override a base class member

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/CommonPlugin.hpp(102): error: member function declared with "override" does not override a base class member

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/CommonPlugin.hpp(106): error: member function declared with "override" does not override a base class member

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/CommonPlugin.hpp(110): error: member function declared with "override" does not override a base class member

/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/CommonPlugin.hpp(107): error: enum "nvinfer1::TensorFormat" has no member "kNCHW"

[ 17%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNTranspose16Bit8x8.S.o
[ 17%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNTranspose32Bit4x4.S.o
[ 17%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNUInt8ToInt16WithOffsetC4Common.S.o
[ 17%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNUInt8ToInt16WithOffsetC4Fast.S.o
[ 17%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNUnPackC4.S.o
[ 17%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNVectorTop1Float.S.o
[ 18%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNVectorTop1Int32.S.o
[ 18%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNWinogradMatrixProductLeft.S.o
[ 18%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNWinogradMatrixProductRight.S.o
[ 18%] Building CXX object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/CommonOptFunctionNeon.cpp.o
[ 18%] Building CXX object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/Arm82Binary.cpp.o
12 errors detected in the compilation of "/home/flsay/wpy/MNN/source/backend/tensorrt/execution/plugin/UnaryPlugin.cu".
CMake Error at TRT_CUDA_PLUGIN_generated_UnaryPlugin.cu.o.cmake:280 (message):
  Error generating file
  /home/flsay/wpy/MNN/build/source/backend/tensorrt/CMakeFiles/TRT_CUDA_PLUGIN.dir/execution/plugin/./TRT_CUDA_PLUGIN_generated_UnaryPlugin.cu.o


make[2]: *** [source/backend/tensorrt/CMakeFiles/TRT_CUDA_PLUGIN.dir/build.make:135: source/backend/tensorrt/CMakeFiles/TRT_CUDA_PLUGIN.dir/execution/plugin/TRT_CUDA_PLUGIN_generated_UnaryPlugin.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1170: source/backend/tensorrt/CMakeFiles/TRT_CUDA_PLUGIN.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 18%] Building CXX object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/Arm82Functions.cpp.o
make[2]: *** [source/backend/tensorrt/CMakeFiles/MNN_TRT.dir/build.make:63: source/backend/tensorrt/CMakeFiles/MNN_TRT.dir/backend/TRTBackend.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1198: source/backend/tensorrt/CMakeFiles/MNN_TRT.dir/all] Error 2
[ 19%] Building CXX object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/Arm82Interp.cpp.o
[ 19%] Built target MNNARM64
[ 19%] Building CXX object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/Arm82OpRegister.cpp.o
[ 19%] Building CXX object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/Arm82OptFunc.cpp.o
[ 19%] Building CXX object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/Arm82Relu.cpp.o
[ 19%] Building CXX object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/Arm82Unary.cpp.o
[ 20%] Building CXX object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/Arm82WinogradOptFunc.cpp.o
[ 20%] Building ASM object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/asm/arm64/Arm82MNNPackForMatMul_A.S.o
[ 20%] Building ASM object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/asm/arm64/MNNConvRunForLineDepthwiseFP16.S.o
[ 20%] Building ASM object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/asm/arm64/MNNConvWinoSourceTransformUnit6x6FP16.S.o
[ 20%] Building ASM object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/asm/arm64/MNNDepthwiseConvFastKernelFP16.S.o
[ 20%] Building ASM object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/asm/arm64/MNNExpFP16.S.o
[ 21%] Building ASM object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/asm/arm64/MNNGeluFP16.S.o
[ 21%] Building ASM object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/asm/arm64/MNNPackC8FP16.S.o
[ 21%] Building ASM object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/asm/arm64/MNNPackedMatMulFP16.S.o
[ 21%] Building ASM object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/asm/arm64/MNNPackedMatMulRemainFP16.S.o
[ 21%] Building ASM object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/asm/arm64/MNNQuantizeFP16_UNIT4.S.o
[ 22%] Building ASM object CMakeFiles/MNN_Arm82.dir/source/backend/arm82/asm/arm64/MNNUnpackC8FP16.S.o
[ 22%] Built target MNN_Arm82
make: *** [Makefile:130: all] Error 2

@captain0005
Copy link
Author

你们会在近期更新tensorrt的版本么及相关代码么

@jxt1234
Copy link
Collaborator

jxt1234 commented Nov 14, 2024

目前不会维护,建议试下用 mnn cuda

@jxt1234 jxt1234 added the bug Something isn't working label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants