Hi
Currently my company tech team are trying to implement Mlpack to an Android project. OpenBlas as an essential part that is required to implement into the project as well.
Right now we are facing one issue during the implemation.
andriod studio error log:
Armadillo is requiring "ssyrk_"
/Users/yi.jin/Desktop/untitled folder 10/ndkdemo/app/src/main/cpp/include/armadillo_bits/translate_blas.hpp:166: error: undefined reference to 'ssyrk_
Relevant .h files of OpenBlas are found at f77blas.h and cblas.h
f77blas.h
void BLASFUNC(ssyr2k)(char *, char *, blasint *, blasint *, float *, float *, blasint *,
float *, blasint *, float *, float *, blasint *);
cblas.h
void cblas_ssyr2k(OPENBLAS_CONST enum CBLAS_ORDER Order, OPENBLAS_CONST enum CBLAS_UPLO Uplo, OPENBLAS_CONST enum CBLAS_TRANSPOSE Trans,
OPENBLAS_CONST blasint N, OPENBLAS_CONST blasint K, OPENBLAS_CONST float alpha, OPENBLAS_CONST float *A, OPENBLAS_CONST blasint lda, OPENBLAS_CONST float *B, OPENBLAS_CONST blasint ldb, OPENBLAS_CONST float beta, float *C, OPENBLAS_CONST blasint ldc);
but I can't find any .cpp file that shows the content of the ssyr2 method.
The project Android binary is provided from Google Drive link as well.
build environment:
NDK: 21.1.6352462
SDK: min 23, target 30
gradle: 3.4.0
Please advise.
Thanks a lot.
Best
Yi Jin