Open CL Settings

   62713   43   9
User Avatar
Member
4 posts
Joined: Aug. 2014
Offline
HOUDINI_OCL_MEMORY_POOL_SIZE

Houdini uses a memory pool for allocating device memory through OpenCL for improved performance and to decrease fragmentation. This variable is the percentage of total device memory to allocate for the pool. For example, the default setting of 0.125 will allocate 1/8 of device memory for the memory pool. Note that if the specified OpenCL device is 32-bit, the total device memory is clamped to 4GB before being multiplied by this percentage.
User Avatar
Member
50 posts
Joined: Jan. 2018
Offline
Thanks Nan, this really helped me. I was trying to erode a heightfield with res higher than 2048 but would always crash out due to the OpenCL memory allocation. After changing the pool size from 0.125 to 0.5, I'm rendering out 8192 erosion maps
Edited by wesw - June 14, 2018 20:04:20
Wes
User Avatar
Member
2529 posts
Joined: June 2008
Offline
Make sure your houdini.env is not pointing to the CPU for OpenCL usage.

You can switch your OpenCL processing to the CPU, if you run out of vRAM. But remember to comment it out, and relaunch Houdini, if you know your next simulation will fit within your GPU.
HOUDINI_OCL_DEVICETYPE=CPU
Edited by Enivob - April 30, 2020 13:45:16
Using Houdini Indie 20.0
Ubuntu 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
1 posts
Joined: Oct. 2018
Offline
RTX 3090 Ti (only 12GB can be used out of 24((
Ryzen 9 3990X 16 core

700^3:
GPU 82 fpm
CPU 1.75 fpm

Disapointed in RTX a little bit, even with 700^3 resolution and all the memory on board you will not recieve a good quality smoke
  • Quick Links