[PR #15305] [MERGED] ggml: fix ROCm build for cublasGemmBatchedEx reserve wrapper #25648

Closed
opened 2026-04-19 18:19:55 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/15305
Author: @jessegross
Created: 4/3/2026
Status: Merged
Merged: 4/3/2026
Merged by: @jessegross

Base: mainHead: jessegross/gemma_reserve


📝 Commits (1)

  • 5a767c3 ggml: fix ROCm build for cublasGemmBatchedEx reserve wrapper

📊 Changes

3 files changed (+22 additions, -5 deletions)

View changed files

📝 llama/patches/0020-ggml-No-alloc-mode.patch (+17 -3)
📝 ml/backend/ggml/ggml/src/ggml-cuda/common.cuh (+4 -2)
📝 ml/backend/ggml/ggml/src/ggml-cuda/vendors/hip.h (+1 -0)

📄 Description

Add missing cublasGemmAlgo_t to hipblasGemmAlgo_t type mapping and cast away const qualifiers that hipblasGemmBatchedEx doesn't accept.


🔄 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/15305 **Author:** [@jessegross](https://github.com/jessegross) **Created:** 4/3/2026 **Status:** ✅ Merged **Merged:** 4/3/2026 **Merged by:** [@jessegross](https://github.com/jessegross) **Base:** `main` ← **Head:** `jessegross/gemma_reserve` --- ### 📝 Commits (1) - [`5a767c3`](https://github.com/ollama/ollama/commit/5a767c3588c6e94be24b7ff8d1fc4ae889892384) ggml: fix ROCm build for cublasGemmBatchedEx reserve wrapper ### 📊 Changes **3 files changed** (+22 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `llama/patches/0020-ggml-No-alloc-mode.patch` (+17 -3) 📝 `ml/backend/ggml/ggml/src/ggml-cuda/common.cuh` (+4 -2) 📝 `ml/backend/ggml/ggml/src/ggml-cuda/vendors/hip.h` (+1 -0) </details> ### 📄 Description Add missing cublasGemmAlgo_t to hipblasGemmAlgo_t type mapping and cast away const qualifiers that hipblasGemmBatchedEx doesn't accept. --- <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-19 18:19:55 -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#25648