[PR #11107] CUDA: set gpu_name from props in cudart Implementation (align with nvcuda) #75733

Open
opened 2026-05-05 08:09:17 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/11107
Author: @yeahdongcn
Created: 6/18/2025
Status: 🔄 Open

Base: mainHead: xd/nv_fix


📝 Commits (1)

  • d1c4980 CUDA: set gpu_name from props in cudart Implementation (align with nvcuda)

📊 Changes

4 files changed (+8 additions, -7 deletions)

View changed files

📝 discover/gpu_info_cudart.c (+2 -0)
📝 discover/gpu_info_cudart.h (+1 -1)
📝 discover/gpu_info_nvcuda.c (+4 -5)
📝 runner/README.md (+1 -1)

📄 Description

This PR updates the CUDA (cudart) implementation to set gpu_name using properties retrieved from the device, aligning the behavior with the nvcuda implementation.


🔄 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/11107 **Author:** [@yeahdongcn](https://github.com/yeahdongcn) **Created:** 6/18/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `xd/nv_fix` --- ### 📝 Commits (1) - [`d1c4980`](https://github.com/ollama/ollama/commit/d1c4980787bd2b173648f83038e951a0c46f2715) CUDA: set gpu_name from props in cudart Implementation (align with nvcuda) ### 📊 Changes **4 files changed** (+8 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `discover/gpu_info_cudart.c` (+2 -0) 📝 `discover/gpu_info_cudart.h` (+1 -1) 📝 `discover/gpu_info_nvcuda.c` (+4 -5) 📝 `runner/README.md` (+1 -1) </details> ### 📄 Description This PR updates the CUDA (`cudart`) implementation to set `gpu_name` using properties retrieved from the device, aligning the behavior with the `nvcuda` implementation. --- <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-05-05 08:09:17 -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#75733