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