Update ggml/src/ggml-cuda/ggml-cuda.cu

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
This commit is contained in:
hogeheer499-commits 2026-03-13 17:37:40 +01:00 committed by GitHub
parent 73357da45b
commit e0dace50d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -4576,7 +4576,7 @@ static void ggml_backend_cuda_device_get_memory(ggml_backend_dev_t dev, size_t *
bool is_uma = uma_env;
#else
bool is_uma = prop.integrated > 0 || uma_env;
#endif
#endif // defined(GGML_USE_HIP)
if (is_uma) {
// For UMA systems (like DGX Spark), use system memory info