File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,34 +33,4 @@ using boost::atomic_ref;
3333 */
3434[[nodiscard]] std::string get_hpx_version ();
3535
36- /* *
37- * @brief Start the runtime of the HPX backend.
38- */
39- void start_hpx_runtime ();
40-
41- /* *
42- * @brief Stop the runtime of the HPX backend.
43- */
44- void stop_hpx_runtime ();
45-
46- /* *
47- * @brief Scope Guard that leverages RAII to start and correctly teardown the HPX runtime even in case of exceptions.
48- */
49- struct scope_guard {
50- /* *
51- * @brief Scope Guard constructor that starts the runtime of the HPX backend.
52- */
53- scope_guard () {
54- start_hpx_runtime ();
55- }
56-
57- /* *
58- * @brief Scope Guard destructor that stops the runtime of the HPX backend.
59- */
60- ~scope_guard () {
61- stop_hpx_runtime ();
62- }
63- };
64- } // namespace plssvm::hpx::detail
65-
6636#endif // PLSSVM_BACKENDS_HPX_DETAIL_UTILITY_HPP_
Original file line number Diff line number Diff line change 1818#include " plssvm/detail/utility.hpp" // plssvm::detail::contains
1919
2020#if defined(PLSSVM_HAS_HPX_BACKEND)
21- #include " hpx/runtime.hpp" // ::hpx::{is_running, is_stopped}
22-
21+ #include < hpx/runtime.hpp> // ::hpx::{is_running, is_stopped}
2322 #include < hpx/execution.hpp> // ::hpx::post
2423 #include < hpx/hpx_start.hpp> // ::hpx::{start, stop, finalize}
2524#endif
You can’t perform that action at this time.
0 commit comments