lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
246 stars 17 forks source link

25311988: Feature request: Metal API to determine total GPU memory. #7824

Open openradar-mirror opened 8 years ago

openradar-mirror commented 8 years ago

Description

In Metal, there is currently no API to determine total GPU memory for an MTLDevice, we have to revert to OpenGL API for that. This is cumbersome, and can be problematic if we cannot assert that the Metal renderer corresponds to the GL renderer being inspected.

Tuning algorithms & size of textures depending on VRAM amount is very useful as you can imagine, especially considering the larger variability of GPUs on Mac.

Please consider adding specific API to retrieve total (and possibly available, if that makes sense) VRAM amount.

Product Version: 10.11.4 Created: 2016-03-23T10:48:13.063690 Originated: 2016-03-23T11:48:00 Open Radar Link: http://www.openradar.me/25311988

openradar-mirror commented 8 years ago

Modified: 2016-03-23T10:48:13.063860