UoB-HPC / BabelStream

STREAM, for lots of devices written in many programming models
Other
313 stars 109 forks source link

Time array initialisation and read back #161

Closed tom91136 closed 8 months ago

tom91136 commented 10 months ago

I may be beneficial to provide timing for init_arrays and read_arrays. This is useful for measuring migration performance of USM models.

In the extreme case, a page migration heuristic that pins data on the device and never migrates to the host will show normal bandwidth for the five kernels but the benchmark will take considerably longer to actually complete. Most of the time will be spent on copying between host and device (init_arrays and read_arrays).

tom91136 commented 8 months ago

Closed via a27abfe296c236eed209c745b383521b194d606e