[PR #3077] [MERGED] fix gpu_info_cuda.c compile warning #11055

Closed
opened 2026-04-12 23:19:50 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3077
Author: @mofanke
Created: 3/12/2024
Status: Merged
Merged: 3/12/2024
Merged by: @BruceMacD

Base: mainHead: fix-cuda-warning


📝 Commits (1)

  • a4725d7 fix gpu_info_cuda.c compile warning

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 gpu/gpu_info_cuda.c (+2 -2)

📄 Description

fix compile warning
gpu_info_cuda.c: In function ‘cuda_check_vram’: gpu_info_cuda.c:158:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘long long unsigned int’


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/3077 **Author:** [@mofanke](https://github.com/mofanke) **Created:** 3/12/2024 **Status:** ✅ Merged **Merged:** 3/12/2024 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `fix-cuda-warning` --- ### 📝 Commits (1) - [`a4725d7`](https://github.com/ollama/ollama/commit/a4725d7199a54d11e913c640f9026e4129bd3c58) fix gpu_info_cuda.c compile warning ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `gpu/gpu_info_cuda.c` (+2 -2) </details> ### 📄 Description fix compile warning `gpu_info_cuda.c: In function ‘cuda_check_vram’: gpu_info_cuda.c:158:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘long long unsigned int’` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-12 23:19:50 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#11055