-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
59a6e9b
commit 8321316
Showing
2 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From 0000000000000000000000000000000000000000 Mon Dec 21 00:00:00 2000 | ||
Date: Mon, 21 Dec 2000 00:00:00 -0600 | ||
Subject: Missing macros | ||
|
||
diff --git a/onnxruntime/core/mlas/lib/q4_dq.cpp b/onnxruntime/core/mlas/lib/q4_dq.cpp | ||
index 015d69de68..35af58fcf9 100644 | ||
--- a/onnxruntime/core/mlas/lib/q4_dq.cpp | ||
+++ b/onnxruntime/core/mlas/lib/q4_dq.cpp | ||
@@ -20,6 +20,13 @@ Abstract: | ||
|
||
#include "q4common.h" | ||
|
||
+#ifndef ORT_ENFORCE | ||
+#define ORT_ENFORCE(a, b) | ||
+#endif | ||
+#ifndef ORT_THROW | ||
+#define ORT_THROW(a) | ||
+#endif | ||
+ | ||
template<typename T> | ||
constexpr | ||
size_t |