From 54dc2fe2d32a92980b1e56ed7d35a10d2c47f685 Mon Sep 17 00:00:00 2001 From: Attila Krasznahorkay Date: Wed, 13 May 2026 10:56:15 +0200 Subject: [PATCH] Made traccc::candidate_measurement work correctly with CUDA. In some compiler combinations combining explicit __host__ and __device__ labels with "= default" doesn't work. --- .../traccc/fitting/kalman_filter/measurement_selector.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/include/traccc/fitting/kalman_filter/measurement_selector.hpp b/core/include/traccc/fitting/kalman_filter/measurement_selector.hpp index 3cdd676d6a..101de498db 100644 --- a/core/include/traccc/fitting/kalman_filter/measurement_selector.hpp +++ b/core/include/traccc/fitting/kalman_filter/measurement_selector.hpp @@ -28,11 +28,9 @@ struct candidate_measurement { float chi2{std::numeric_limits::max()}; /// Define comparisons - TRACCC_HOST_DEVICE constexpr bool operator<=>(const candidate_measurement& other) const = default; }; -/// @} /// Associate a measurement to a candidate track struct measurement_selector {