Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FFLAS_FFPACK] Fixed return types for cblas_dsyrk and cblas_ssyrk #9713

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
laurentbartholdi marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
diff -ur fflas-ffpack-2.5.0.orig/fflas-ffpack/config-blas.h fflas-ffpack-2.5.0/fflas-ffpack/config-blas.h
diff -ru fflas-ffpack-2.5.0.orig/fflas-ffpack/config-blas.h fflas-ffpack-2.5.0/fflas-ffpack/config-blas.h
--- fflas-ffpack-2.5.0.orig/fflas-ffpack/config-blas.h 2020-06-10 08:00:45.000000000 +0000
+++ fflas-ffpack-2.5.0/fflas-ffpack/config-blas.h 2024-10-29 20:32:26.046983457 +0000
@@ -293,18 +295,18 @@
+++ fflas-ffpack-2.5.0/fflas-ffpack/config-blas.h 2024-10-30 13:16:37.002589168 +0000
@@ -288,23 +290,23 @@
sgemm_ ( EXT_BLAS_TRANSPOSE(TransA), EXT_BLAS_TRANSPOSE(TransB), &M, &N, &K, &alpha, A, &lda, B, &ldb, &beta, C, &ldc);
}

- static inline cblas_ssyrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo,
+ static inline void cblas_ssyrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo,
const enum CBLAS_TRANSPOSE Trans, const int N, const int K,
const float alpha, const float *A, const int lda,
const float beta, float *C, const int ldc){
if (Order == CblasRowMajor)
Expand All @@ -11,7 +17,8 @@ diff -ur fflas-ffpack-2.5.0.orig/fflas-ffpack/config-blas.h fflas-ffpack-2.5.0/f
- ssryk_ (EXT_BLAS_UPLO (Uplo), EXT_BLAS_TRANSPOSE(Trans), N, K, alpha, A, lda, beta, C, ldc);
+ ssyrk_ (EXT_BLAS_UPLO (Uplo), EXT_BLAS_TRANSPOSE(Trans), N, K, alpha, A, lda, beta, C, ldc);
}
void cblas_dsyrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo,
- void cblas_dsyrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo,
+ static inline void cblas_dsyrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo,
const enum CBLAS_TRANSPOSE Trans, const int N, const int K,
const double alpha, const double *A, const int lda,
const double beta, double *C, const int ldc){
Expand Down