CUDA: C++17 cleanup of ClusterFinderCUDA
Build on RHEL8 / build (push) Successful in 3m58s
Build on RHEL9 / build (push) Successful in 4m8s
Run tests using data on local RHEL8 / build (push) Failing after 5m13s

- std::array for per-slot state; std::exchange in BatchView::steal
- [[nodiscard]]/noexcept on the public API and release path
- cuda_check moved to aare::cuda::detail (was reserved __cuda_check)
- _v type traits; drop redundant std::move and `using namespace aare`
- Add pytest for BatchView slot release
This commit is contained in:
kferjaoui committed 2026-10-01 15:17:03 +02:00
1 parent 4d23b2b29c
commit 47d89446e2
6 files changed
+128 -48

No files matched your search

+1 -3
View File
@@ -14,8 +14,6 @@
namespace py = pybind11;
using pd_type = double;
using namespace aare;
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
@@ -170,7 +168,7 @@ sqrt(max(sum2/n - mean^2, 0)). Counterpart to `noise` for the device pedestal.)"
.def(
"steal_clusters",
[](CF &self, bool realloc_same_capacity) {
return std::move(self.steal_clusters(realloc_same_capacity));
return self.steal_clusters(realloc_same_capacity);
},
py::arg("realloc_same_capacity") = true)