From 6e020ecc015fae699e7bf280ddbd2da8d8109d01 Mon Sep 17 00:00:00 2001 From: Edward Smyth Date: Tue, 14 Nov 2023 10:52:35 -0500 Subject: [PATCH] Include bli_lang_defs.h in cblas.h Changes in commit 64a1f786d58 (via merge c6f33401253) included in ./frame/include/bli_type_defs.h a prototype that uses the C restrict keyword. When using C++ we need to provide a definition for this C language keyword. This is done in bli_lang_defs.h which was included in blis.h but not in cblas.h. AMD-Internal: [CPUPL-4188] Change-Id: I75d5f32599d18794331ff452e562eb42afb5ae93 --- frame/compat/cblas/src/cblas.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frame/compat/cblas/src/cblas.h b/frame/compat/cblas/src/cblas.h index fa957b9f8..1c3b490b4 100644 --- a/frame/compat/cblas/src/cblas.h +++ b/frame/compat/cblas/src/cblas.h @@ -36,6 +36,8 @@ // definition of f77_int. But in order to #include that header, we // also need to pull in the headers that precede it in blis.h. #include "bli_system.h" +#include "bli_lang_defs.h" + #include "bli_config.h" #include "bli_config_macro_defs.h" #include "bli_type_defs.h"