From 8734c2d5d6d76bd0a6ffcc963e28544af50107ac Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Thu, 27 Mar 2025 15:46:48 +0100 Subject: [PATCH] Fix matrix-free Kokkos performance test --- tests/performance/timing_matrix_free_kokkos.cc | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tests/performance/timing_matrix_free_kokkos.cc b/tests/performance/timing_matrix_free_kokkos.cc index 079c9cee12..743d67cb02 100644 --- a/tests/performance/timing_matrix_free_kokkos.cc +++ b/tests/performance/timing_matrix_free_kokkos.cc @@ -131,16 +131,12 @@ class LaplaceOperatorLocal { public: DEAL_II_HOST_DEVICE void - operator()(const unsigned int cell, - const typename Portable::MatrixFree::Data *gpu_data, - Portable::SharedData *shared_data, - const Number *src, - Number *dst) const + operator()(const typename Portable::MatrixFree::Data *gpu_data, + const Portable::DeviceVector &src, + Portable::DeviceVector &dst) const { - (void)cell; // TODO? - Portable::FEEvaluation fe_eval( - /*cell,*/ gpu_data, shared_data); + gpu_data); fe_eval.read_dof_values(src); fe_eval.evaluate(EvaluationFlags::gradients); fe_eval.apply_for_each_quad_point( -- 2.39.5