diff options
| author | Romain PINSOLLE <romain.pins@gmail.com> | 2026-11-24 16:11:47 +0100 |
|---|---|---|
| committer | Romain PINSOLLE <romain.pins@gmail.com> | 2026-11-24 16:11:47 +0100 |
| commit | 49e6392c9e6ee45cfce8ef7b690aaa7fc223ce0d (patch) | |
| tree | 86b40f1c994bad4189b6d31621833d240ddf16df /runtime/src/vulkan_aftermath.cpp | |
| parent | a28927849adb4e40dfdec8c32fb6758dcd205a37 (diff) | |
arena_size: parse LEONIDA_ARENA_MB as signed so negatives hit the floor (ARENA-NEGATIVE-MB)
strtoull("-5") wraps to 2^64-5, so decide_arena_size clamped it to the
4095 MiB maximum. strtoll clamps "-5" and "-99999999999999999999" to the
16 MiB floor, as the header comment documents.
Adds checks for "-5", the huge negative and the huge positive to
arena_size_test. Other inputs keep their results.
Diffstat (limited to 'runtime/src/vulkan_aftermath.cpp')
0 files changed, 0 insertions, 0 deletions