Skip to content

Commit b5fdb1d

Browse files
committed
Use multi-threading when we check edges
- add openmp support - use the thread-safe dense_bitset instead of boost::dynamic_bitset
1 parent dac01d6 commit b5fdb1d

File tree

4 files changed

+585
-60
lines changed

4 files changed

+585
-60
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ endif()
1616

1717
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Release" "Debug")
1818

19-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -g -std=c++11 -pthread")
19+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -g -std=c++11 -pthread -fopenmp")
2020
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_EXE_LINK_FLAGS_RELEASE} -Ofast -DNDEBUG")
2121

2222
add_subdirectory(threadpool11)

0 commit comments

Comments
 (0)