blender/intern/cycles/device/hip
Brecht Van Lommel 5c328388f3 Cycles: Add concurrent states growth and shrinking for all GPU backends
This helps avoid out of memory errors for complex scenes, and improves
performance for smaller scenes with more memory available for states.

Metal already had logic like this, now the logic is centralized and can
be used for all GPU backends.

The parameters have been somewhat tuned per device, based on earlier
work for oneAPI in #163437 and CUDA in #163532. For Metal the behavior
should remain basically the same.

For oneAPI, this enables free_memory queries on iGPUs, as driver have
been exposing this for some time.

Co-authored-by: Patrick Mours <pmours@nvidia.com>
Co-authored-by; Xavier Hallade <xavier.hallade@intel.com>

Pull Request: https://projects.blender.org/blender/blender/pulls/163930
2026-09-23 15:22:57 +02:00
..
device.cpp Cycles: Show devices with outdated drivers as disabled in preferences 2026-06-25 10:51:09 +02:00
device.h Cycles: Show devices with outdated drivers as disabled in preferences 2026-06-25 10:51:09 +02:00
device_impl.cpp Refactor: Cycles: Make kernel_features 64bit 2026-08-18 10:41:27 +02:00
device_impl.h Refactor: Cycles: Make kernel_features 64bit 2026-08-18 10:41:27 +02:00
graphics_interop.cpp
graphics_interop.h
kernel.cpp Refactor: Cycles: Move MNEE walk into separate kernel 2026-05-27 20:34:06 +02:00
kernel.h
queue.cpp Cycles: Add concurrent states growth and shrinking for all GPU backends 2026-09-23 15:22:57 +02:00
queue.h Cycles: Add concurrent states growth and shrinking for all GPU backends 2026-09-23 15:22:57 +02:00
util.cpp Cleanup: spelling in comments (make check_spelling_*) 2026-05-20 11:33:08 +10:00
util.h Refactor: Cycles: Move MNEE walk into separate kernel 2026-05-27 20:34:06 +02:00