UoB-HPC/BabelStream

Update verification check to save memory

tomdeakin opened this issue · 1 comments

The OpenMP CPU version allocates twice the memory it needs restricting the maximum problem size.

For offload models, this is OK as the data needs to exists on the device during the run and on the host during verification.

This could be solved by asking the implementations to pass a pointer to host data back to the driver routine for checking, rather than copying into a vector allocated by the driver.
This would allow implementations to do save memory where possible.