• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

STEllAR-GROUP / hpx / #877
83%

Build:
DEFAULT BRANCH: master
Ran 28 Jan 2023 02:50AM UTC
Jobs 1
Files 2501
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jan 2023 02:50AM UTC coverage: 86.595% (+0.2%) from 86.427%
#877

push

StellarBot
Merge #6057

6057: Create a dedicated thread pool to run LCI_progress. r=hkaiser a=JiakunYan

The `LCI_progress` function is not thread-safe and must be called frequently. Previously, we created a dedicated progress thread using pthread when initializing LCI. However, HPX doesn't know this progress thread and thus cannot bind threads to cores correctly.

This PR uses the new resource partitioner hook in the parcelport to create a thread pool "lci-progress-pool" (which only contains one core) to run LCI_progress.

Fixed:
- The thread pool will be allocated even if users are not using LCI parcelport.

Co-authored-by: Jiakun Yan <jiakunyan1998@gmail.com>

174895 of 201970 relevant lines covered (86.59%)

1858228.24 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.91
0.0% libs/core/synchronization/tests/unit/shared_mutex/shared_mutex1.cpp
1
92.26
-0.6% libs/core/synchronization/tests/unit/shared_mutex/shared_mutex2.cpp
2
46.0
-2.0% libs/core/resource_partitioner/src/partitioner.cpp
2
91.93
-1.24% libs/core/resource_partitioner/tests/unit/cross_pool_injection.cpp
2
61.11
-0.62% libs/core/schedulers/include/hpx/schedulers/local_queue_scheduler.hpp
2
81.25
-12.5% libs/core/schedulers/include/hpx/schedulers/static_priority_queue_scheduler.hpp
2
91.43
-5.71% libs/core/schedulers/include/hpx/schedulers/static_queue_scheduler.hpp
3
94.55
-0.36% libs/core/algorithms/tests/unit/container_algorithms/is_sorted_until_range.cpp
5
88.82
-3.29% libs/core/resiliency/tests/performance/replay/1d_stencil_replay.cpp
5
91.89
-2.7% libs/core/resiliency/tests/performance/replay/dataflow_replay.cpp
5
0.0
-100.0% libs/full/segmented_algorithms/tests/unit/partitioned_vector_transform_binary1.cpp
25
61.43
-35.71% libs/full/actions/tests/unit/thread_affinity.cpp
Jobs
ID Job ID Ran Files Coverage
1 #877.1 28 Jan 2023 02:50AM UTC 2501
86.59
Source Files on build #877
  • Tree
  • List 2501
  • Changed 1040
  • Source Changed 0
  • Coverage Changed 1040
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b9b8d5f1 on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc