Updated domain size benchmark in autotuning

This commit is contained in:
André R. Brodtkorb
2018-08-23 16:05:23 +02:00
parent 803ce8ab70
commit 5668e28f99
5 changed files with 303 additions and 17 deletions

View File

@@ -69,6 +69,8 @@ class BaseSimulator:
self.stream = cuda.Stream()
#Create data by uploading to device
free, total = cuda.mem_get_info()
self.logger.debug("GPU memory: %d / %d MB available", int(free/(1024*1024)), int(total/(1024*1024)))
self.data = Common.SWEDataArakawaA(self.stream, \
nx, ny, \
ghost_cells_x, ghost_cells_y, \