MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / TearDown

Method TearDown

tests/test_vram_resize.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 }
41
42 void TearDown() override {
43 forceMemoryCleanup();
44 auto [used, total] = getGPUMemoryMB();
45 LOG_INFO("Final VRAM: {} MB (delta from baseline: {} MB)",
46 used, static_cast<int>(used) - static_cast<int>(baseline_vram_mb_));
47 }
48
49 size_t baseline_vram_mb_ = 0;
50};

Callers

nothing calls this directly

Calls 2

forceMemoryCleanupFunction · 0.85
getGPUMemoryMBFunction · 0.85

Tested by

no test coverage detected