-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
编译cuda出错 #1969
Comments
看着是 release / debug 设置不一致,MNN 编译时设置 CMAKE_BUILD_TYPE=Release 试下? |
将build_lib.ps1中debug的编译注释掉,只保留在release下的编译,报错信息基本一样。 build_lib.ps1的更改如下:Debug/Dynamic/MT#log "Debug/Dynamic/MT" Debug/Dynamic/MD#log "Debug/Dynamic/MD" Debug/Static/MT#log "Debug/Static/MT" Debug/Static/MD#log "Debug/Static/MD" Release/Dynamic/MTlog "Release/Dynamic/MT" Release/Dynamic/MDlog "Release/Dynamic/MD" Release/Static/MTlog "Release/Static/MT" Release/Static/MDlog "Release/Static/MD" 编译log信息如下:PS D:\zhoumh3_project\MNN> .\package_scripts\win\build_lib.ps1 -path MNN-CUDA/lib/x64
Mode LastWriteTime Length Name d----- 2022/6/27 10:59 x64
Mode LastWriteTime Length Name d----- 2022/6/27 10:59 x64
Mode LastWriteTime Length Name d----- 2022/6/27 10:59 MD
Mode LastWriteTime Length Name d----- 2022/6/27 10:59 MD
Mode LastWriteTime Length Name d----- 2022/6/27 10:59 MD
Mode LastWriteTime Length Name d----- 2022/6/27 10:59 MD
Mode LastWriteTime Length Name d----- 2022/6/27 10:59 buildBuild MNN (CPU ) Release/Dynamic/MT-- The C compiler identification is MSVC 19.16.27048.0 Quoted variables like "MSVC" will no longer be dereferenced when the policy -- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1 (found suitable version "11.1", minimum required is "9.0")
|
此问题还未解决,期待您的回复 |
我们测试一下,目前没有windows + nvdia cuda 的环境 |
我在编译的时候也遇到了同样的问题,想问下如果我想在带有英伟达显卡的windows设备上部署MNN应该怎么编库呢? |
遇到同样问题,期待能解决~ |
编译遇到一样的问题,MNN2.2.0+win+cuda, 请问现在有解决方法了吗 |
Please update lastest mnn code, retry again. If having any problem, please let me know. |
使用 VS 2022 打开 CMake 生成的 MNN.sln,选择“生成解决方案”,然后出现相同问题:
|
MNN 2.5.0+MSVC 2019+CUDA 11.2(940MX) |
经过不严谨测试,选择 |
Marking as stale. No activity in 60 days. |
您好,我在CMakeLists.txt中将option(MNN_CUDA "Enable CUDA" ON) 来编译mnn cuda,我的cuda安装没有问题,但是在利用 .\package_scripts\win\build_lib.ps1 -path MNN-CUDA/lib/x64编译的时候,报了如下错误,无法编译成功。之前我编译过mnn cpu和mnn opencl都没有问题,可以成功编译和使用。这个编译mnn cuda的问题,麻烦帮我看一下原因,十分感谢。
平台(如果交叉编译请再附上交叉编译目标平台):
Win10
Github版本:
1.2.10
编译日志:
PS D:\zhoumh3_project\MNN> .\package_scripts\win\build_lib.ps1 -path MNN-CUDA/lib/x64
Mode LastWriteTime Length Name
d----- 2022/6/24 16:52 x64
Mode LastWriteTime Length Name
d----- 2022/6/24 16:52 x64
*** cleaning up ***
*** generating fbs under default ***
*** done ***
Mode LastWriteTime Length Name
d----- 2022/6/24 16:52 MD
d----- 2022/6/24 16:52 MT
Mode LastWriteTime Length Name
d----- 2022/6/24 16:52 MD
d----- 2022/6/24 16:52 MT
Mode LastWriteTime Length Name
d----- 2022/6/24 16:52 MD
d----- 2022/6/24 16:52 MT
Mode LastWriteTime Length Name
d----- 2022/6/24 16:52 MD
d----- 2022/6/24 16:52 MT
Mode LastWriteTime Length Name
d----- 2022/6/24 16:52 build
Build MNN (CPU ) Debug/Dynamic/MT
-- The C compiler identification is MSVC 19.16.27048.0
-- The CXX compiler identification is MSVC 19.16.27048.0
-- The ASM compiler identification is MSVC
-- Found assembler: D:/zhoumh3_tools/VS2017/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/zhoumh3_tools/VS2017/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe - 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: D:/zhoumh3_tools/VS2017/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/Users/bupt_/AppData/Local/Programs/Python/Python38/python.exe (found version "3.8.4")
-- Use Threadpool, forbid openmp
-- >>>>>>>>>>>>>
-- MNN BUILD INFO:
-- System: Windows
-- Processor: AMD64
-- Metal: OFF
-- OpenCL: OFF
-- OpenGL: OFF
-- Vulkan: OFF
-- ARM82: OFF
-- oneDNN: OFF
-- TensorRT: OFF
-- CoreML: OFF
-- CUDA: ON
-- OpenMP: OFF
-- BF16:
-- ThreadPool: ON
-- Hidden: FALSE
-- Build Path: D:/zhoumh3_project/MNN/build
-- WIN_USE_ASM:
-- AMD64: Open SSE
-- MNN_AVX512:ON
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
CMake Warning (dev) at D:/zhoumh3_tools/CMake/share/cmake-3.23/Modules/FindCUDA.cmake:690 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "MSVC" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
source/backend/cuda/CMakeLists.txt:2 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1 (found suitable version "11.1", minimum required is "9.0")
-- Enabling CUDA support (version: 11.1, archs: )
-- message -D_FORCE_INLINES -Wno-deprecated-gpu-targets -w -O0 -Xcompiler /FS;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75 !!!!!!!!!!!
-- Configuring done
-- Generating done
-- Build files have been written to: D:/zhoumh3_project/MNN/build
[63/344] Building CXX object CMakeFiles\MNNTransform.dir\source\geometry\GeometryTopK.cpp.obj
D:\zhoumh3_project\MNN\source\geometry\GeometryTopK.cpp(19): warning C4477: “printf”: 格式字符串“%lu”需要类型“unsigned long”的参数,但可变参数 1 拥 有了类型“unsigned __int64”
D:\zhoumh3_project\MNN\source\geometry\GeometryTopK.cpp(19): note: 请考虑在格式字符串中使用“%zu”
D:\zhoumh3_project\MNN\source\geometry\GeometryTopK.cpp(19): warning C4477: “printf”: 格式字符串“%lu”需要类型“unsigned long”的参数,但可变参数 2 拥 有了类型“unsigned __int64”
D:\zhoumh3_project\MNN\source\geometry\GeometryTopK.cpp(19): note: 请考虑在格式字符串中使用“%zu”
[256/344] Building NVCC (Device) object source/backend/cud...ution/MNN_CUDA_generated_DeconvSingleInputExecution.cu.obj
DeconvSingleInputExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
DeconvSingleInputExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
DeconvSingleInputExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
DeconvSingleInputExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
DeconvSingleInputExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
DeconvSingleInputExecution.cu
[257/344] Building NVCC (Device) object source/backend/cud....dir/execution/MNN_CUDA_generated_GatherV2Execution.cu.obj
GatherV2Execution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
GatherV2Execution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
GatherV2Execution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
GatherV2Execution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
GatherV2Execution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
GatherV2Execution.cu
[258/344] Building NVCC (Device) object source/backend/cud...DA.dir/execution/MNN_CUDA_generated_ArgMaxExecution.cu.obj
ArgMaxExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ArgMaxExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ArgMaxExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ArgMaxExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ArgMaxExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ArgMaxExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
[259/344] Building NVCC (Device) object source/backend/cud...DA.dir/execution/MNN_CUDA_generated_MatMulExecution.cu.obj
MatMulExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
MatMulExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
MatMulExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
MatMulExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
MatMulExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
MatMulExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
[260/344] Building NVCC (Device) object source/backend/cud...DA.dir/execution/MNN_CUDA_generated_InterpExecution.cu.obj
InterpExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
InterpExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
InterpExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
InterpExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
InterpExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
InterpExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
[261/344] Building NVCC (Device) object source/backend/cud...execution/MNN_CUDA_generated_ConvDepthWiseExecution.cu.obj
ConvDepthWiseExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ConvDepthWiseExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ConvDepthWiseExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ConvDepthWiseExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ConvDepthWiseExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ConvDepthWiseExecution.cu
[262/344] Building NVCC (Device) object source/backend/cud...N_CUDA.dir/execution/MNN_CUDA_generated_ImageColumn.cu.obj
ImageColumn.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ImageColumn.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ImageColumn.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ImageColumn.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ImageColumn.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ImageColumn.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ImageColumn.cu
[263/344] Building NVCC (Device) object source/backend/cud...DA.dir/execution/MNN_CUDA_generated_BinaryExecution.cu.obj
BinaryExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
BinaryExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
BinaryExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
BinaryExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
BinaryExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
BinaryExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
[264/344] Building NVCC (Device) object source/backend/cud...ecution/MNN_CUDA_generated_ConvSingleInputExecution.cu.obj
ConvSingleInputExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ConvSingleInputExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ConvSingleInputExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ConvSingleInputExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ConvSingleInputExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ConvSingleInputExecution.cu
cl: 鍛戒护琛?[264/344] Building NVCC (Device) object source/backend/cud...UDA.dir/execution/MNN_CUDA_generated_TensorCor[265/344] Building NVCC (Device) object source/backend/cud...dir/execution/MNN_CUDA_generated_LayerNormExecution.cu.obj
LayerNormExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
LayerNormExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
LayerNormExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
LayerNormExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
LayerNormExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
LayerNormExecution.cu
[266/344] Building NVCC (Device) object source/backend/cud...UDA.dir/execution/MNN_CUDA_generated_TensorCoreGemm.cu.obj
TensorCoreGemm.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
TensorCoreGemm.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
TensorCoreGemm.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
TensorCoreGemm.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
TensorCoreGemm.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
TensorCoreGemm.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
[267/344] Building NVCC (Device) object source/backend/cud...r/execution/MNN_CUDA_generated_TensorCoreGemmPacked.cu.obj
TensorCoreGemmPacked.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
TensorCoreGemmPacked.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
TensorCoreGemmPacked.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
TensorCoreGemmPacked.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
TensorCoreGemmPacked.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
TensorCoreGemmPacked.cu
[268/344] Building NVCC (Device) object source/backend/cud...UDA.dir/execution/MNN_CUDA_generated_PReLUExecution.cu.obj
PReLUExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
PReLUExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
PReLUExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
PReLUExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
PReLUExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
PReLUExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
[269/344] Building NVCC (Device) object source/backend/cud...CUDA.dir/execution/MNN_CUDA_generated_PoolExecution.cu.obj
PoolExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
PoolExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
PoolExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
PoolExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
PoolExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
PoolExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
[270/344] Building NVCC (Device) object source/backend/cud...dir/execution/MNN_CUDA_generated_ReductionExecution.cu.obj
ReductionExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ReductionExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ReductionExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ReductionExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ReductionExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ReductionExecution.cu
[271/344] Building NVCC (Device) object source/backend/cud...UDA.dir/execution/MNN_CUDA_generated_ScaleExecution.cu.obj
ScaleExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ScaleExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ScaleExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ScaleExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ScaleExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ScaleExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
[272/344] Building NVCC (Device) object source/backend/cud...DA.dir/execution/MNN_CUDA_generated_SelectExecution.cu.obj
SelectExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
SelectExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
SelectExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
SelectExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
SelectExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
SelectExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
[273/344] Building NVCC (Device) object source/backend/cud...dir/execution/MNN_CUDA_generated_ScatterNdExecution.cu.obj
ScatterNdExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ScatterNdExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ScatterNdExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ScatterNdExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ScatterNdExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
ScatterNdExecution.cu
[275/344] Building NVCC (Device) object source/backend/cud...A.dir/execution/MNN_CUDA_generated_SoftmaxExecution.cu.obj
SoftmaxExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
SoftmaxExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
SoftmaxExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
SoftmaxExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
SoftmaxExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
SoftmaxExecution.cu
[288/344] Building NVCC (Device) object source/backend/cud...es/MNN_CUDA.dir/execution/MNN_CUDA_generated_Raster.cu.obj
Raster.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
Raster.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
Raster.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
Raster.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
Raster.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
Raster.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
Raster.cu
Raster.cu
cl: 鍛戒护琛?warning D9025 :姝e?[288/344] Building CXX object tools\train\CMakeFiles\MNNTrain.dir\source\grad\OpGrad.cp[320/344] Building CXX object tools\train\CMakeFiles\MNNTrain.dir\source\transformer\Transformer.cpp.obj
d:\zhoumh3_project\mnn\tools\train\source\transformer\transformer.cpp(80) : warning C4700: 使用了未初始化的局部变量“c”[335/344] Building NVCC (Device) object source/backend/cud...MNN_CUDA.dir/execution/MNN_CUDA_generated_Transpose.cu.obj
Transpose.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
Transpose.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
Transpose.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
Transpose.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
Transpose.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
Transpose.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
Transpose.cu
Transpose.cu
[336/344] Building NVCC (Device) object source/backend/cud...UDA.dir/execution/MNN_CUDA_generated_UnaryExecution.cu.obj
UnaryExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
UnaryExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
UnaryExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
UnaryExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
UnaryExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
UnaryExecution.cu
cl: 鍛戒护琛?warning D9025 :姝e湪閲嶅啓鈥?W3鈥?鐢ㄢ€?w鈥?
[344/344] Linking CXX shared library MNN.dll
FAILED: MNN.dll MNN.lib
cmd.exe /C "cd . && D:\zhoumh3_tools\CMake\bin\cmake.exe -E vs_link_dll --intdir=CMakeFiles\MNN.dir --rc=C:\PROGRA
2\WI3CF21\10\bin\1001771.0\x64\rc.exe --mt=C:\PROGRA2\WI3CF21\10\bin\1001771.0\x64\mt.exe --manifests -- D:\zhoumh3_tools\VS2017\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\MNN.rsp /out:MNN.dll /implib:MNN.lib /pdb:MNN.pdb /dll /version:0.0 /machine:x64 /debug /INCREMENTAL /IGNORE:4049,4217 /WHOLEARCHIVE:D:/zhoumh3_project/MNN/build/source/backend/cuda/MNN_CUDA.lib && cd ."LINK Pass 1: command "D:\zhoumh3_tools\VS2017\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\MNN.rsp /out:MNN.dll /implib:MNN.lib /pdb:MNN.pdb /dll /version:0.0 /machine:x64 /debug /INCREMENTAL /IGNORE:4049,4217 /WHOLEARCHIVE:D:/zhoumh3_project/MNN/build/source/backend/cuda/MNN_CUDA.lib /MANIFEST /MANIFESTFILE:CMakeFiles\MNN.dir/intermediate.manifest CMakeFiles\MNN.dir/manifest.res" failed (exit code 1319) with the following output:
MNN_CUDA.lib(MNN_CUDA_generated_UnaryExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_UnaryExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_Transpose.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_Transpose.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_TensorCoreGemmPacked.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_TensorCoreGemmPacked.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_TensorCoreGemm.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_TensorCoreGemm.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_SoftmaxExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_SoftmaxExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_SelectExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_SelectExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ScatterNdExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ScatterNdExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ScaleExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ScaleExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ReductionExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ReductionExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_Raster.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_Raster.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_PoolExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_PoolExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_PReLUExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_PReLUExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_MatMulExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_MatMulExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_LayerNormExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_LayerNormExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_InterpExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_InterpExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ImageColumn.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ImageColumn.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_GatherV2Execution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_GatherV2Execution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_DeconvSingleInputExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_DeconvSingleInputExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ConvSingleInputExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ConvSingleInputExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ConvDepthWiseExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ConvDepthWiseExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_BinaryExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_BinaryExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ArgMaxExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ArgMaxExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
正在创建库 MNN.lib 和对象 MNN.exp
LINK : warning LNK4098: 默认库“LIBCMT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
MNN.dll : fatal error LNK1319: 检测到 44 个不匹配项
ninja: build stopped: subcommand failed.
[0/1] Re-running CMake...-- Use Threadpool, forbid openmp
-- >>>>>>>>>>>>>
-- MNN BUILD INFO:
-- System: Windows
-- Processor: AMD64
-- Metal: OFF
-- OpenCL: OFF
-- OpenGL: OFF
-- Vulkan: OFF
-- ARM82: OFF
-- oneDNN: OFF
-- TensorRT: OFF
-- CoreML: OFF
-- CUDA: ON
-- OpenMP: OFF
-- BF16: OFF
-- ThreadPool: ON
-- Hidden: FALSE
-- Build Path: D:/zhoumh3_project/MNN/build
-- WIN_USE_ASM:
-- AMD64: Open SSE
-- MNN_AVX512:ON
CMake Warning (dev) at D:/zhoumh3_tools/CMake/share/cmake-3.23/Modules/FindCUDA.cmake:690 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "MSVC" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
source/backend/cuda/CMakeLists.txt:2 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Enabling CUDA support (version: 11.1, archs: )
-- message -D_FORCE_INLINES -Wno-deprecated-gpu-targets -w -O0 -Xcompiler /FS;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75 !!!!!!!!!!!
-- Configuring done
-- Generating done
-- Build files have been written to: D:/zhoumh3_project/MNN/build
[1/1] Linking CXX shared library MNN.dll
FAILED: MNN.dll MNN.lib
cmd.exe /C "cd . && D:\zhoumh3_tools\CMake\bin\cmake.exe -E vs_link_dll --intdir=CMakeFiles\MNN.dir --rc=C:\PROGRA
2\WI3CF21\10\bin\1001771.0\x64\rc.exe --mt=C:\PROGRA2\WI3CF21\10\bin\1001771.0\x64\mt.exe --manifests -- D:\zhoumh3_tools\VS2017\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\MNN.rsp /out:MNN.dll /implib:MNN.lib /pdb:MNN.pdb /dll /version:0.0 /machine:x64 /debug /INCREMENTAL /IGNORE:4049,4217 /WHOLEARCHIVE:D:/zhoumh3_project/MNN/build/source/backend/cuda/MNN_CUDA.lib && cd ."LINK Pass 1: command "D:\zhoumh3_tools\VS2017\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\MNN.rsp /out:MNN.dll /implib:MNN.lib /pdb:MNN.pdb /dll /version:0.0 /machine:x64 /debug /INCREMENTAL /IGNORE:4049,4217 /WHOLEARCHIVE:D:/zhoumh3_project/MNN/build/source/backend/cuda/MNN_CUDA.lib /MANIFEST /MANIFESTFILE:CMakeFiles\MNN.dir/intermediate.manifest CMakeFiles\MNN.dir/manifest.res" failed (exit code 1319) with the following output:
MNN_CUDA.lib(MNN_CUDA_generated_UnaryExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_UnaryExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_Transpose.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_Transpose.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_TensorCoreGemmPacked.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_TensorCoreGemmPacked.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_TensorCoreGemm.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_TensorCoreGemm.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_SoftmaxExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_SoftmaxExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_SelectExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_SelectExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ScatterNdExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ScatterNdExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ScaleExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ScaleExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ReductionExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ReductionExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_Raster.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_Raster.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_PoolExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_PoolExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_PReLUExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_PReLUExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_MatMulExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_MatMulExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_LayerNormExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_LayerNormExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_InterpExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_InterpExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ImageColumn.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ImageColumn.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_GatherV2Execution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_GatherV2Execution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_DeconvSingleInputExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_DeconvSingleInputExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ConvSingleInputExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ConvSingleInputExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ConvDepthWiseExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ConvDepthWiseExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_BinaryExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_BinaryExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ArgMaxExecution.cu.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(Backend.cpp.obj 中)
MNN_CUDA.lib(MNN_CUDA_generated_ArgMaxExecution.cu.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MT_StaticRelease”不匹配值“MTd_StaticDebug”(Backend.cpp.obj 中)
正在创建库 MNN.lib 和对象 MNN.exp
LINK : warning LNK4098: 默认库“LIBCMT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
MNN.dll : fatal error LNK1319: 检测到 44 个不匹配项
ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered: