.. _program_listing_file__tmp_ws_src_proxsuite_include_proxsuite_proxqp_parallel_omp.hpp: Program Listing for File omp.hpp ================================ |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/proxsuite/include/proxsuite/proxqp/parallel/omp.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp // // Copyright (c) 2023 INRIA // #ifndef PROXSUITE_PROXQP_PARALLEL_OMP_HPP #define PROXSUITE_PROXQP_PARALLEL_OMP_HPP #include namespace proxsuite { inline void set_default_omp_options(const size_t num_threads = (size_t) omp_get_max_threads()) { omp_set_num_threads((int)num_threads); omp_set_dynamic(0); } } #endif // ifndef PROXSUITE_PROXQP_PARALLEL_OMP_HPP