mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
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 |
||
|---|---|---|
| .. | ||
| device.cpp | ||
| device.h | ||
| device_impl.cpp | ||
| device_impl.h | ||
| graphics_interop.cpp | ||
| graphics_interop.h | ||
| kernel.cpp | ||
| kernel.h | ||
| queue.cpp | ||
| queue.h | ||
| util.cpp | ||
| util.h | ||