|
TraceMaker
C++ API of the engine
|
Functions | |
| std::size_t | device_count () |
| One stable, registry-ID-ordered snapshot shared by discovery and field dispatch. | |
| id< MTLDevice > | device_at_index (int index) |
| std::size_t | working_set_headroom (id< MTLDevice > device) |
| Process working-set budget, not free VRAM: currentAllocatedSize excludes other processes. | |
| std::mutex & | allocation_mutex () |
| Serialize admission and allocation so callers cannot admit against the same headroom. | |
| std::mutex & tmk::gpu::metal::allocation_mutex | ( | ) |
Serialize admission and allocation so callers cannot admit against the same headroom.
| id< MTLDevice > tmk::gpu::metal::device_at_index | ( | int | index | ) |
| std::size_t tmk::gpu::metal::device_count | ( | ) |
One stable, registry-ID-ordered snapshot shared by discovery and field dispatch.
| std::size_t tmk::gpu::metal::working_set_headroom | ( | id< MTLDevice > | device | ) |
Process working-set budget, not free VRAM: currentAllocatedSize excludes other processes.