CUDA: unify GPU code under aare::cuda
Build on RHEL8 / build (push) Successful in 3m55s
Build on RHEL9 / build (push) Successful in 4m8s
Run tests using data on local RHEL8 / build (push) Successful in 4m55s

- aare::device -> aare::cuda::detail; drivers, RAII helpers,
  StreamContext* moved into aare::cuda(::detail)
- Algo contract: add compute_type, assert floating point
- LaunchParams::nSigma uses compute_type
- test: use FastPedestal in the manual route
This commit is contained in:
kferjaoui committed 2026-09-28 11:47:55 +02:00
1 parent 1503331100
commit 0c3c45e653
10 files changed
+73 -49

No files matched your search

+2 -2
View File
@@ -29,8 +29,8 @@ void define_ClusterFinderCUDA(py::module &m, const std::string &typestr) {
using ClusterType = Cluster<T, ClusterSizeX, ClusterSizeY, CoordType>;
// The driver is templated on the algorithm; a second algorithm is a second
// instantiation registered under its own suffix (see ClusterFinder.py).
using Algo = aare::cuda::FixedWindow<ClusterType, uint16_t>;
using CF = ClusterFinderCUDA<Algo, pd_type>;
using Algo = cuda::FixedWindow<ClusterType, uint16_t>;
using CF = cuda::ClusterFinderCUDA<Algo, pd_type>;
using ContigArr =
py::array_t<uint16_t, py::array::c_style | py::array::forcecast>;
+1 -1
View File
@@ -26,7 +26,7 @@ void define_ClusterFinderCUDAGraph(py::module &m, const std::string &typestr) {
auto class_name = fmt::format("ClusterFinderCUDAGraph_{}", typestr);
using ClusterType = Cluster<T, ClusterSizeX, ClusterSizeY, CoordType>;
using CF = ClusterFinderCUDAGraph<ClusterType, uint16_t, pd_type>;
using CF = cuda::ClusterFinderCUDAGraph<ClusterType, uint16_t, pd_type>;
using ContigArr =
py::array_t<uint16_t, py::array::c_style | py::array::forcecast>;