Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Accelerate LAPACKE
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CMake
Accelerate LAPACKE
Commits
3fde0fc9
Unverified
Commit
3fde0fc9
authored
7 months ago
by
Tim Kaune
Browse files
Options
Downloads
Patches
Plain Diff
Add the new LAPACK v3.11.0 interface coming with MacOS 15 Sequoia
parent
66f23d38
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+6
-3
6 additions, 3 deletions
CMakeLists.txt
README.md
+10
-2
10 additions, 2 deletions
README.md
with
16 additions
and
5 deletions
CMakeLists.txt
+
6
−
3
View file @
3fde0fc9
...
...
@@ -29,7 +29,7 @@ set(CMAKE_MAXIMUM_SUPPORTED_VERSION 3.29)
include
(
"./cmake/HandlePolicies.cmake"
NO_POLICY_SCOPE
)
project
(
AccelerateLAPACKE VERSION 1.
0
.0 LANGUAGES C
)
project
(
AccelerateLAPACKE VERSION 1.
1
.0 LANGUAGES C
)
include
(
FetchContent
)
...
...
@@ -40,8 +40,11 @@ if (NOT IS_TOP_LEVEL)
endif
()
if
(
CMAKE_HOST_SYSTEM_NAME MATCHES
"Darwin"
)
# Mac OS X 15.0 Sequoia
if
(
CMAKE_HOST_SYSTEM_VERSION VERSION_GREATER_EQUAL 24.0
)
set
(
ACCELERATE_NEW_LAPACK_VERSION 3.11.0
)
# Mac OS X 13.3 Ventura
if
(
CMAKE_HOST_SYSTEM_VERSION VERSION_GREATER_EQUAL 22.4
)
else
if
(
CMAKE_HOST_SYSTEM_VERSION VERSION_GREATER_EQUAL 22.4
)
set
(
ACCELERATE_NEW_LAPACK_VERSION 3.9.1
)
else
()
message
(
FATAL_ERROR
"You need at least Mac OS X 13.3 Ventura for Accelerate with BLAS/LAPACK v3.9.1!"
)
...
...
This diff is collapsed.
Click to expand it.
README.md
+
10
−
2
View file @
3fde0fc9
...
...
@@ -25,16 +25,24 @@ SOFTWARE.
# Accelerate LAPACKE #
Since Mac
OS
X
13.3 Ventura, Apple's Accelerate framework comes with a new
Since MacOS 13.3 Ventura, Apple's Accelerate framework comes with a new
[
BLAS/LAPACK
interface
](
https://developer.apple.com/documentation/accelerate/blas
)
compatible
with
[
Reference LAPACK
v3.9.1
](
https://github.com/Reference-LAPACK/lapack/
t
re
e
/v3.9.1
)
. It also
v3.9.1
](
https://github.com/Reference-LAPACK/lapack/re
leases/tag
/v3.9.1
)
. It also
provides an ILP64 interface. On Apple Silicon M-processors, it utilises the
[
proprietary AMX co-processor
](
https://github.com/corsix/amx
)
, which makes it
especially interesting. Unfortunately, it comes without the LAPACKE C-interface
library.
**Update**
: With the release of MacOS 15.0 Sequoia, Apple updated the Accelerate
framework to be compatible with
[
Reference LAPACK
v3.11.0
](
https://github.com/Reference-LAPACK/lapack/releases/tag/v3.11.0
)
.
Unfortunately, there is no mention of it in the
[
MacOS 15.0 Sequoia Release
Notes
](
),
but the note in the
[
Accelerate BLAS
docs
](
https://developer.apple.com/documentation/accelerate/blas
)
has been
updated accordingly.
These new interfaces are hidden behind the preprocessor defines
`ACCELERATE_NEW_LAPACK`
and
`ACCELERATE_LAPACK_ILP64`
and they only work, if you
include the Accelerate C/C++ headers.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment