IndexerThreadPool: Only GPU pinning, no CPU pinning
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 11m8s
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 14m18s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 14m42s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 16m23s
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 17m43s
Build Packages / build:rpm (rocky8) (push) Successful in 17m59s
Build Packages / build:rpm (rocky9_sls9) (push) Successful in 18m47s
Build Packages / build:rpm (rocky9) (push) Successful in 18m48s
Build Packages / Generate python client (push) Successful in 1m31s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 9m39s
Build Packages / Create release (push) Has been skipped
Build Packages / Build documentation (push) Successful in 2m2s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 10m26s
Build Packages / XDS test (JFJoch plugin) (push) Successful in 8m9s
Build Packages / XDS test (durin plugin) (push) Successful in 9m53s
Build Packages / XDS test (neggia plugin) (push) Successful in 8m55s
Build Packages / DIALS test (push) Successful in 13m30s
Build Packages / Unit tests (push) Failing after 3h10m46s

This commit is contained in:
2026-04-15 15:48:19 +02:00
parent d696d1298a
commit b5eb24d4e8
@@ -69,14 +69,11 @@ std::future<IndexerResult> IndexerThreadPool::Run(const DiffractionExperiment &e
void IndexerThreadPool::Worker(int32_t threadIndex, const NUMAHWPolicy &numa_policy, const IndexingSettings &settings) {
try {
// IndexerThreadPool is bound to GPU, but not to CPU choice
#ifdef JFJOCH_USE_CUDA
auto gpu_count = get_gpu_count();
if (gpu_count > 0)
NUMAHWPolicy::SelectGPUAndItsNUMA(threadIndex % gpu_count);
else
numa_policy.Bind(threadIndex);
#else
numa_policy.Bind(threadIndex);
set_gpu(threadIndex % gpu_count);
#endif
} catch (...) {
// NUMA policy errors are not critical and should be ignored for the time being.