[PR #234] [MERGED] Better error handling, code consistency, compile-time safety #305

Closed
opened 2026-10-26 21:16:04 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/deepseek-ai/DeepGEMM/pull/234
Author: @ajwise9
Created: 11/28/2025
Status: ✅ Merged
Merged: 12/5/2025
Merged by: @LyricZhao

Base: main ← Head: main


📝 Commits (1)

  • 78e97ca Better error handling, code consistency, compile-time safety

📊 Changes

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

View changed files

📝 setup.py (+1 -1)

📄 Description

Add nodiscard to early_return for compile-time safety

Added the [[nodiscard]] attribute to the [early_return] function in [gemm.hpp] to prevent potential logic bugs as I ran into a couple, where the return value might be accidentally ignored.


🔄 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/deepseek-ai/DeepGEMM/pull/234 **Author:** [@ajwise9](https://github.com/ajwise9) **Created:** 11/28/2025 **Status:** ✅ Merged **Merged:** 12/5/2025 **Merged by:** [@LyricZhao](https://github.com/LyricZhao) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`78e97ca`](https://github.com/deepseek-ai/DeepGEMM/commit/78e97caffe99a51cff5a9a660dde8682fa8c7fb7) Better error handling, code consistency, compile-time safety ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `setup.py` (+1 -1) </details> ### 📄 Description # Add [[nodiscard]] to early_return for compile-time safety ## Added the `[[nodiscard]]` attribute to the [early_return] function in [gemm.hpp] to prevent potential logic bugs as I ran into a couple, where the return value might be accidentally ignored. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-26 21:16:04 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepGEMM#305
No description provided.