OpenCL CPU uses more ram?

   1835   3   1
User Avatar
Member
4189 posts
Joined: June 2012
Offline
Haven't verified this but is it possible that OpenCL CPU uses more ram than just than a non-openCL pyro? I've a 1000^3 voxel smoke sim where OpenCL on was using ~55GB Ram where as switching it off was ~20GB Ram. Am too busy to dig into currently but just throwing it out there.

Ubuntu 17.04, Ryzen 1700, H16.0.72x

Thanks!
Edited by anon_user_37409885 - Sept. 15, 2017 18:37:21
User Avatar
Staff
6219 posts
Joined: July 2005
Offline
OpenCL uses flat grids, while the native system uses tiled grids. This allows the native system to collapse constant tiles and use less memory. One of the big speed advantages OpenCL has on the CPU is due to the flat grids, however, so this is probably a trade off that will remain.
User Avatar
Member
4189 posts
Joined: June 2012
Offline
thanks! Very cool to know. It also may have been that OpenCL was creating a different type of simulation and thus using a lot more o the voxels.
User Avatar
Member
4189 posts
Joined: June 2012
Offline
jlait
ne of the big speed advantages OpenCL has on the CPU is due to the flat grids, however, so this is probably a trade off that will remain.

Do you think this affects the OpenCL CPU results of the AMD Threadripper? The test results are coming in much slower than non-openCL CPU and the Threadripper is made up of two tied together 1800Xs.
  • Quick Links