Skip to content

Commit

Permalink
Fix HPL XRT baseline hostcode signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius Meyer committed Nov 23, 2023
1 parent f8b3ce0 commit 052ad9e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions LINPACK/src/host/execution_types/execution_xrt_pcie.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ namespace xrt_pcie {
@copydoc bm_execution::calculate()
*/
template<class TContext>
std::unique_ptr<linpack::LinpackExecutionTimings> inline calculate(
std::map<std::string, std::vector<double>> inline calculate(
const hpcc_base::ExecutionSettings<linpack::LinpackProgramSettings,
xrt::device, TContext, xrt::uuid> &config,
linpack::LinpackData<TContext> &data) {
Expand Down Expand Up @@ -459,13 +459,14 @@ std::unique_ptr<linpack::LinpackExecutionTimings> inline calculate(
Buffer_pivot.sync(XCL_BO_SYNC_BO_FROM_DEVICE);
}

std::unique_ptr<linpack::LinpackExecutionTimings> results(
new linpack::LinpackExecutionTimings{gefaExecutionTimes,
geslExecutionTimes});

MPI_Barrier(MPI_COMM_WORLD);
std::map<std::string, std::vector<double>> timings;

timings["gefa"] = gefaExecutionTimes;
timings["gesl"] = geslExecutionTimes;

MPI_Barrier(MPI_COMM_WORLD);

return results;
return timings;
}

} // namespace xrt_pcie
Expand Down

0 comments on commit 052ad9e

Please sign in to comment.