You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -27,7 +27,7 @@ set(CPPUDDLE_WITH_MAX_NUMBER_GPUS "1" CACHE STRING "Number of GPUs that will be
27
27
# HPX-related options
28
28
option(CPPUDDLE_WITH_HPX"Enable basic HPX integration and examples"OFF)
29
29
option(CPPUDDLE_WITH_HPX_AWARE_ALLOCATORS"Enable HPX-aware allocators for even better HPX integration"ON)
30
-
set(CPPUDDLE_WITH_HPX_MUTEX OFFCACHEBOOL
30
+
set(CPPUDDLE_WITH_HPX_MUTEX ONCACHEBOOL
31
31
"Use HPX spinlock mutex instead of std::mutex")
32
32
set(CPPUDDLE_WITH_NUMBER_BUCKETS "128"CACHESTRING"Number of internal recycle buckets buffer type. Should ideally match the intended number of HPX workers or be 1 in non-HPX builds.")
33
33
# Test-related options
@@ -49,13 +49,6 @@ if (CPPUDDLE_WITH_HPX)
49
49
find_package(HPX1.8.0REQUIRED) # older versions might work but are untested with the current cppuddle
50
50
endif()
51
51
52
-
# HPX mutex requires HPX-Support
53
-
if(CPPUDDLE_WITH_HPX_MUTEX)
54
-
if(NOT CPPUDDLE_WITH_HPX)
55
-
message(FATAL_ERROR" CPPUDDLE_WITH_HPX_MUTEX requires a build with HPX (CPPUDDLE_WITH_HPX=ON)")
56
-
endif()
57
-
endif()
58
-
59
52
# HPX build are really better with HPX-aware allocators: Warn if disabled
0 commit comments