Giorgos,
It appears that I forgot to inform you that I submitted a commit that
attempts to fix the warnings you reported. Please try the latest commit
on the 'master' branch (72f6ed0 or later).
If you have future concerns or questions, I encourage you to let us know
by opening an issue on GitHub [1].
Thanks for your feedback.
Field
[1]
https://github.com/flame/blis/issues
On 7/2/20 9:31 AM, Devin Matthews wrote:
> No problem, the same problem likely exists in "vanilla" BLIS. FWIW, the
> problem is because in C++ mode, "static inline" has a different meaning.
> This should be an easy fix in blis.h:
>
> #ifdef __cplusplus
> #define BLIS_INLINE inline
> #else
> #define BLIS_INLINE static inline
> #endif
>
> // use BLIS_INLINE instead of static inline
>
> Devin Matthews
>
> On 7/2/20 9:08 AM, Giorgos Margaritis wrote:
>> Seeing the BLIS version I use, I just realized that I was given the
>> AMD BLIS, so I should forward my question there.
>> Sorry for the interrupt. :/
>>
>>
>> On Thursday, July 2, 2020 at 1:32:30 PM UTC+3, Giorgos Margaritis wrote:
>>
>> Hi all,
>>
>> I have built BLIS 2.1 (unfortunately on private work network so I
>> cannot copy logs etc) using:
>>
>> |
>> ./configure --enable-threading=openmp auto
>> make -j `nproc`
>> |
>>
>> I then create a simple main.cpp that only includes blis.h.
>> When I compile main.cpp with:
>>
>> |
>> g++main.cpp -Wall-lm -fopenmp -lpthread lib/haswell/libblis-mt.a
>> |
>>
>> I get about 440 "defined but not used" warnings, for a
>> corresponding number of static functions defined in blis.h header.
>> Should these static functions indeed be embedded in blis.h? Am I
>> missing a flag or something during compilation?
>>
>> CentOS 7.6, g++ 4.8.5, Intel i7-6800K
>>
>>
>> Thanks!
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "blis-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to
blis-discuss...@googlegroups.com
>> <mailto:
blis-discuss...@googlegroups.com>.
>> <
https://groups.google.com/d/msgid/blis-discuss/7e0b0f65-b8af-45fd-a3b7-935e8b8c11e8o%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "blis-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
blis-discuss...@googlegroups.com
> <mailto:
blis-discuss...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/blis-discuss/a171efe6-f176-7616-23fe-5be9e45baa4c%40smu.edu
> <
https://groups.google.com/d/msgid/blis-discuss/a171efe6-f176-7616-23fe-5be9e45baa4c%40smu.edu?utm_medium=email&utm_source=footer>.