lyndonli c898104228 wsl/hsakmt: Introduce WSL_CHECK_AVAIL_SYSRAM environment variable
By default, this variable is 0. Set it to 1 to compare available
system memory with the requested amount before allocation. It helps
identify system hangs caused by excessive memory allocation.

Signed-off-by: lyndonli <Lyndon.Li@amd.com>
Reviewed-by: Flora Cui <flora.cui@amd.com>
Part-of: <http://10.67.69.192/wsl/libhsakmt/-/merge_requests/32>
2025-11-05 18:53:35 +08:00
2025-11-05 18:53:15 +08:00
2025-11-05 18:53:15 +08:00
2025-11-05 18:53:35 +08:00
2025-11-05 18:53:35 +08:00
2025-11-05 18:53:15 +08:00
2025-11-05 18:53:15 +08:00
2025-11-05 18:53:15 +08:00
2025-11-05 18:53:15 +08:00
2025-11-05 18:53:35 +08:00
2025-11-05 18:53:35 +08:00
S
Description
No description provided
282 MiB
Languages
C++ 67.5%
C 20.6%
Python 6.6%
CMake 3.4%
Shell 0.6%
Other 1.1%