From 052ad9e1d4a5e9659480c729a2ddf309133745fd Mon Sep 17 00:00:00 2001 From: Marius Meyer Date: Thu, 23 Nov 2023 11:41:19 +0100 Subject: [PATCH] Fix HPL XRT baseline hostcode signature --- .../host/execution_types/execution_xrt_pcie.hpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/LINPACK/src/host/execution_types/execution_xrt_pcie.hpp b/LINPACK/src/host/execution_types/execution_xrt_pcie.hpp index 77885103..a4de60ad 100644 --- a/LINPACK/src/host/execution_types/execution_xrt_pcie.hpp +++ b/LINPACK/src/host/execution_types/execution_xrt_pcie.hpp @@ -48,7 +48,7 @@ namespace xrt_pcie { @copydoc bm_execution::calculate() */ template -std::unique_ptr inline calculate( +std::map> inline calculate( const hpcc_base::ExecutionSettings &config, linpack::LinpackData &data) { @@ -459,13 +459,14 @@ std::unique_ptr inline calculate( Buffer_pivot.sync(XCL_BO_SYNC_BO_FROM_DEVICE); } - std::unique_ptr results( - new linpack::LinpackExecutionTimings{gefaExecutionTimes, - geslExecutionTimes}); - - MPI_Barrier(MPI_COMM_WORLD); + std::map> timings; + + timings["gefa"] = gefaExecutionTimes; + timings["gesl"] = geslExecutionTimes; + + MPI_Barrier(MPI_COMM_WORLD); - return results; + return timings; } } // namespace xrt_pcie