This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
nihui
/
ncnn
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
46
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
link pnnx with pthread, fix minmax issue on windows build
tags/20220420
nihui
4 years ago
parent
559e5b23f9
commit
0d83ad99f8
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
tools/pnnx/src/CMakeLists.txt
+1
-0
tools/pnnx/src/main.cpp
+ 1
- 1
tools/pnnx/src/CMakeLists.txt
View File
@@ -463,7 +463,7 @@ endif()
if(WIN32)
target_link_libraries(pnnx PRIVATE ${TORCH_LIBRARIES})
else()
target_link_libraries(pnnx PRIVATE ${TORCH_LIBRARIES} dl)
target_link_libraries(pnnx PRIVATE ${TORCH_LIBRARIES}
pthread
dl)
endif()
#set_target_properties(pnnx PROPERTIES COMPILE_FLAGS -fsanitize=address)
+ 1
- 0
tools/pnnx/src/main.cpp
View File
@@ -16,6 +16,7 @@
#if _WIN32
#include <windows.h>
#include <c10/util/win32-headers.h>
#else
#include <dlfcn.h>
#endif
Write
Preview
Loading…
Cancel
Save