shacklettbp / madrona

MIT License
254 stars 23 forks source link

Add Environment Variable for Users to Configure the Device Heap Size Limit #13

Closed WarrenXiaGG closed 10 months ago

WarrenXiaGG commented 10 months ago

On systems with not enough GPU memory, the current settings will cause a CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES. This adds environment variable MADRONA_MWGPU_DEVICE_HEAP_SIZE so users can set the heap size.