blender/intern/cycles/device
Michael Jones 2dc51fccb8 Fix T101787, T102786. Cycles: Improved out-of-memory messaging on Metal
This patch adds a new `max_working_set_exceeded()` check on Metal so that we can display a "System is out of GPU memory" message to the user. Without this, we get obtuse "CommandBuffer failed" errors at render time due to exceeding the size limit of resident resources.

Likely fix for T101787 & T102786.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D16713
2022-12-07 13:56:21 +00:00
..
cpu Cycles: add Path Guiding on CPU through Intel OpenPGL 2022-09-27 15:56:32 +02:00
cuda Cleanup: use better matching integer types for graphics interop handle 2022-12-01 15:55:48 +01:00
dummy Cycles: use SPDX license headers 2022-02-11 17:47:34 +01:00
hip Cycles: improve many lights sampling using light tree 2022-12-05 16:09:03 +01:00
metal Fix T101787, T102786. Cycles: Improved out-of-memory messaging on Metal 2022-12-07 13:56:21 +00:00
multi Cycles: Add basic support for using OSL with OptiX 2022-11-09 15:30:21 +01:00
oneapi Cycles: Improve oneAPI backend support for non-Intel platforms 2022-11-25 17:46:59 +01:00
optix Cleanup: Move OptiX denoiser code from device into denoiser class 2022-11-15 15:50:01 +01:00
CMakeLists.txt Cleanup: Move OptiX denoiser code from device into denoiser class 2022-11-15 15:50:01 +01:00
denoise.cpp Cycles: use SPDX license headers 2022-02-11 17:47:34 +01:00
denoise.h Cleanup: Move OptiX denoiser code from device into denoiser class 2022-11-15 15:50:01 +01:00
device.cpp Cycles: improve many lights sampling using light tree 2022-12-05 16:09:03 +01:00
device.h Cycles: improve many lights sampling using light tree 2022-12-05 16:09:03 +01:00
graphics_interop.cpp Cycles: use SPDX license headers 2022-02-11 17:47:34 +01:00
graphics_interop.h Cycles: use SPDX license headers 2022-02-11 17:47:34 +01:00
kernel.cpp Cycles: Add basic support for using OSL with OptiX 2022-11-09 15:30:21 +01:00
kernel.h Cycles: Add basic support for using OSL with OptiX 2022-11-09 15:30:21 +01:00
memory.cpp Cycles: Add half precision float support for volumes with NanoVDB 2022-05-23 19:08:01 +02:00
memory.h Cleanup: renaming and consistency for kernel data 2022-06-20 12:30:48 +02:00
queue.cpp Cycles: Add optional per-kernel performance statistics 2022-09-27 22:15:00 +02:00
queue.h Cycles: Metal integrator state size tuning 2022-10-24 17:14:33 +01:00