TNN
TNN copied to clipboard
windows 32位编译benchmark_win 编译完之后报错。Error: not support mode type
1. 环境(environment)
- Build OS and Version:Windows
- RunTime OS Version: Windows
- RunTime DEVICE: /OPENCL
2. Github版本
- branch:master
- commit(optional):
3. 编译方式(compile method) 直接运行的benchmark_models.bat
4. 编译日志(build log)
将日志粘贴在这里
Paste log here or pastebin
5. 详细描述bug 情况 (Describe the bug)
6. 运行日志(runtime log)
将日志粘贴在这里
.\TNNTest.exe -wc 10 -ic 20 -mp .\mobilenet_v1.tnnproto -mt TNN -dt OPENCL
E/tnn: tnn::TNN::Init [File I:\huawei\code\TNN-master\source\tnn\core\tnn.cc][Line 29] Error: not support mode type: 1. If TNN is a static library, link it with option -Wl,--whole-archive tnn -Wl,--no-whole-archive on android or add -force_load on iOS
E/tnn: tnn::test::CheckResult [File I:\huawei\code\TNN-master\test\test.cc][Line 338] init tnn failed: code: 0x2000 msg: unsupported mode type, If TNN is a static library, link it with option -Wl,--whole-archive tnn -Wl,--no-whole-archive on android or add -force_load on iOS
7. 截图(Screenshots)