-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing the prints and providing an option that removes the dispatching for Accelerate.
- Loading branch information
1 parent
27caded
commit 2432a7a
Showing
12 changed files
with
386 additions
and
16,601 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +0,0 @@ | ||
#include <sys/cdefs.h> | ||
|
||
/* | ||
* The macros and additional headers here expose Accelerate's legacy | ||
* BLAS / LAPACK APIs with unique names. Each API will be suffixed | ||
* with '$LEGACY' for use in source code. Those will be hooked up | ||
* to the legacy binary symbols. | ||
* | ||
* Examples: | ||
* - dgemm | ||
* source code: dgemm$LEGACY(...) | ||
* binary symbol: _dgemm_ | ||
* - cblas_dgemm | ||
* source code: cblas_dgemm$LEGACY(...) | ||
* binary symbol: _cblas_dgemm | ||
*/ | ||
|
||
#define __TEMPLATE_FUNC(func) __CONCAT(func,$LEGACY) | ||
#define __TEMPLATE_ALIAS(sym) __asm("_" __STRING(sym)) | ||
|
||
#include "lapack/accelerate_legacy_blas.h" | ||
#include "lapack/accelerate_legacy_cblas.h" | ||
#include "lapack/accelerate_legacy_lapack.h" | ||
|
||
#undef __TEMPLATE_FUNC | ||
#undef __TEMPLATE_ALIAS | ||
Oops, something went wrong.