We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fafd12 commit 25de680Copy full SHA for 25de680
src/gpu/intel/jit/gemm/include/internal/utils.hpp
@@ -93,7 +93,7 @@ class hw_unsupported_exception : public std::runtime_error {
93
hw_unsupported_exception() : std::runtime_error("Unsupported in hardware") {}
94
};
95
96
-#if __cpp_lib_source_location >= 201907L
+#if defined(__cpp_lib_source_location) && __cpp_lib_source_location >= 201907L
97
[[noreturn]] static inline void stub(
98
std::source_location where = std::source_location::current()) {
99
throw stub_exception(where.file_name(), where.line());
0 commit comments