Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ extern "C" {
/* Assume C declarations for C++ */
#endif /* __cplusplus */

void BLASFUNC(xerbla)(char *, blasint *info, blasint);
OPENBLAS_EXPORT void BLASFUNC(xerbla)(char *, blasint *info, blasint);

OPENBLAS_EXPORT void extern openblas_set_num_threads_(int *);

Expand Down
2 changes: 2 additions & 0 deletions driver/others/xerbla.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,11 @@ void __xerbla(char *message, blasint *info, blasint length) {
return openblas_xerbla_dispatch(message, info, length);
}

OPENBLAS_EXPORT
void BLASFUNC(xerbla)(char *, blasint *, blasint)
__attribute__ ((weak, alias ("__xerbla")));
#else
OPENBLAS_EXPORT
void BLASFUNC(xerbla)(char *message, blasint *info, blasint length) {
return openblas_xerbla_dispatch(message, info, length);
}
Expand Down
Loading