Skip to content

Commit

Permalink
Revert functionsToSkip() to functions in openblas_nolapack.
Browse files Browse the repository at this point in the history
  • Loading branch information
blueberry committed Jan 25, 2025
1 parent b5b52aa commit 86cadbd
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,11 @@ static void mapCommon(InfoMap infoMap) {
}

@Override public void map(InfoMap infoMap) {

mapCommon(infoMap);
for (String f : functionsToSkip()) {
infoMap.put(new Info(f, "LAPACK_" + f, "LAPACK_" + f + "_base", "LAPACKE_" + f, "LAPACKE_" + f + "_work").skip());
}
}

public String[] functionsToSkip() {
String[] functions = {
// not available in Accelerate

"cblas_caxpby", "cblas_daxpby", "cblas_saxpby", "cblas_zaxpby",
"cblas_caxpyc", "cblas_zaxpyc",
"cblas_sgemmt", "cblas_dgemmt", "cblas_cgemmt", "cblas_zgemmt",
Expand Down Expand Up @@ -173,7 +168,10 @@ public String[] functionsToSkip() {
"cgbrfsx", "cporfsx", "dgerfsx", "sgbrfsx", "ssyrfsx", "zherfsx", "cgerfsx", "csyrfsx", "dporfsx", "sgerfsx", "zgbrfsx", "zporfsx",
"cherfsx", "dgbrfsx", "dsyrfsx", "sporfsx", "zgerfsx", "zsyrfsx", "cgbsvxx", "cposvxx", "dgesvxx", "sgbsvxx", "ssysvxx", "zhesvxx",
"cgesvxx", "csysvxx", "dposvxx", "sgesvxx", "zgbsvxx", "zposvxx", "chesvxx", "dgbsvxx", "dsysvxx", "sposvxx", "zgesvxx", "zsysvxx"};
return functions;

for (String f : functions) {
infoMap.put(new Info(f, "LAPACK_" + f, "LAPACK_" + f + "_base", "LAPACKE_" + f, "LAPACKE_" + f + "_work").skip());
}
}

static int maxThreads = -1;
Expand Down

0 comments on commit 86cadbd

Please sign in to comment.