diff --git a/benchmarks/cpu/toy_detector_cpu.cpp b/benchmarks/cpu/toy_detector_cpu.cpp index 463d5b5646..b4a5965a62 100644 --- a/benchmarks/cpu/toy_detector_cpu.cpp +++ b/benchmarks/cpu/toy_detector_cpu.cpp @@ -43,8 +43,7 @@ BENCHMARK_F(ToyDetectorBenchmark, CPU)(benchmark::State& state) { // Type declarations using rk_stepper_type = detray::rk_stepper>; + typename detector_type::algebra_type>; using host_detector_type = traccc::default_detector::host; using host_navigator_type = detray::navigator; using host_fitter_type = diff --git a/benchmarks/cuda/toy_detector_cuda.cpp b/benchmarks/cuda/toy_detector_cuda.cpp index 15b8ef8d9e..92c1e25fe5 100644 --- a/benchmarks/cuda/toy_detector_cuda.cpp +++ b/benchmarks/cuda/toy_detector_cuda.cpp @@ -45,8 +45,7 @@ BENCHMARK_F(ToyDetectorBenchmark, CUDA)(benchmark::State& state) { // Type declarations using rk_stepper_type = detray::rk_stepper>; + typename detector_type::algebra_type>; using host_detector_type = traccc::default_detector::host; using device_detector_type = traccc::default_detector::device; using device_navigator_type = detray::navigator; diff --git a/device/cuda/src/finding/finding_algorithm.cu b/device/cuda/src/finding/finding_algorithm.cu index 213745fed5..915d09be1a 100644 --- a/device/cuda/src/finding/finding_algorithm.cu +++ b/device/cuda/src/finding/finding_algorithm.cu @@ -544,7 +544,13 @@ using default_detector_type = using default_stepper_type = detray::rk_stepper::view_t, traccc::default_algebra, detray::constrained_step<>>; +using benchmark_stepper_type = + detray::rk_stepper::view_t, + traccc::default_algebra>; using default_navigator_type = detray::navigator; + template class finding_algorithm; +template class finding_algorithm; } // namespace traccc::cuda diff --git a/device/cuda/src/fitting/fitting_algorithm.cu b/device/cuda/src/fitting/fitting_algorithm.cu index b52d052384..ce30524e0c 100644 --- a/device/cuda/src/fitting/fitting_algorithm.cu +++ b/device/cuda/src/fitting/fitting_algorithm.cu @@ -100,9 +100,16 @@ using default_detector_type = using default_stepper_type = detray::rk_stepper::view_t, default_algebra, detray::constrained_step<>>; +using benchmark_stepper_type = + detray::rk_stepper::view_t, + traccc::default_algebra>; using default_navigator_type = detray::navigator; using default_fitter_type = kalman_fitter; +using benchmark_fitter_type = + kalman_fitter; + template class fitting_algorithm; +template class fitting_algorithm; } // namespace traccc::cuda