UoB-HPC / BabelStream

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

Refactor malloc allocation #201

Open gonzalobg opened 1 month ago

gonzalobg commented 1 month ago

Currently, some of the benchmarks allocate memory that's accessed from the kernels using:

How the memory is allocated does impact benchmark performance a bit.

I think we should extract these into their own file, to ensure all benchmarks may pick the exact same defaults.