mirror of
https://github.com/amd/blis.git
synced 2026-05-02 21:41:13 +00:00
Declare/define static functions via BLIS_INLINE.
Details:
- Updated all static function definitions to use the cpp macro
BLIS_INLINE instead of the static keyword. This allows blis.h to
use a different keyword (inline) to define these functions when
compiling with C++, which might otherwise trigger "defined but
not used" warning messages. Thanks to Giorgos Margaritis for
reporting this issue and Devin Matthews for suggesting the fix.
- Updated the following files, which are used by configure's
hardware auto-detection facility, to unconditionally #define
BLIS_INLINE to the static keyword (since we know BLIS will be
compiled with C, not C++):
build/detect/config/config_detect.c
frame/base/bli_arch.c
frame/base/bli_cpuid.c
- CREDITS file update.
This commit is contained in:
committed by
dzambare
parent
b1144a856b
commit
3eef698711
@@ -196,7 +196,7 @@ void bli_thread_init_rntm_from_env( rntm_t* rntm );
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
static void bli_thread_range_jrir_rr
|
||||
BLIS_INLINE void bli_thread_range_jrir_rr
|
||||
(
|
||||
thrinfo_t* thread,
|
||||
dim_t n,
|
||||
@@ -213,7 +213,7 @@ static void bli_thread_range_jrir_rr
|
||||
*end = n;
|
||||
}
|
||||
|
||||
static void bli_thread_range_jrir_sl
|
||||
BLIS_INLINE void bli_thread_range_jrir_sl
|
||||
(
|
||||
thrinfo_t* thread,
|
||||
dim_t n,
|
||||
@@ -229,7 +229,7 @@ static void bli_thread_range_jrir_sl
|
||||
*inc = 1;
|
||||
}
|
||||
|
||||
static void bli_thread_range_jrir
|
||||
BLIS_INLINE void bli_thread_range_jrir
|
||||
(
|
||||
thrinfo_t* thread,
|
||||
dim_t n,
|
||||
@@ -251,7 +251,7 @@ static void bli_thread_range_jrir
|
||||
}
|
||||
|
||||
#if 0
|
||||
static void bli_thread_range_weighted_jrir
|
||||
BLIS_INLINE void bli_thread_range_weighted_jrir
|
||||
(
|
||||
thrinfo_t* thread,
|
||||
doff_t diagoff,
|
||||
|
||||
Reference in New Issue
Block a user