Skip to content

Commit 03013cf

Browse files
fix: restore SGEMMVerifier::shouldFlagAsIncorrect static method
The refactored verify.cuh removed the static shouldFlagAsIncorrect method from SGEMMVerifier, breaking test_sgemm.cu which calls SGEMMVerifier::shouldFlagAsIncorrect(result). Restore it as a deprecated compatibility method. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent 879e822 commit 03013cf

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/utils/verify.cuh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,13 @@ class SGEMMVerifier {
270270
*/
271271
cublasHandle_t getHandle() { return handle_; }
272272

273+
/**
274+
* Legacy compatibility: check if verification result indicates failure.
275+
*
276+
* @deprecated Use result.passed or result.shouldFlagAsIncorrect() directly.
277+
*/
278+
static bool shouldFlagAsIncorrect(const VerifyResult &result) { return !result.passed; }
279+
273280
private:
274281
cublasHandle_t handle_;
275282
};

0 commit comments

Comments
 (0)