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

Setup Accelerate and MKL for 32-bit, MKL getrf, and Metal.jl integration #361

Merged
merged 10 commits into from
Aug 10, 2023

Conversation

ChrisRackauckas
Copy link
Member

Kind of a lot in a single PR but this is what I ended up with after a flight

Copy link

@ai-maintainer ai-maintainer bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! 

This pull request is too large for automated review.

Reviewed with AI Maintainer

@codecov
Copy link

codecov bot commented Aug 9, 2023

Codecov Report

Merging #361 (c3a93d9) into main (9224384) will decrease coverage by 3.88%.
The diff coverage is 1.31%.

@@            Coverage Diff             @@
##             main     #361      +/-   ##
==========================================
- Coverage   73.83%   69.95%   -3.88%     
==========================================
  Files          19       20       +1     
  Lines        1353     1428      +75     
==========================================
  Hits          999      999              
- Misses        354      429      +75     
Files Changed Coverage Δ
ext/LinearSolveMKLExt.jl 38.09% <0.00%> (-54.22%) ⬇️
ext/LinearSolveMetalExt.jl 0.00% <0.00%> (ø)
src/LinearSolve.jl 97.29% <ø> (ø)
src/appleaccelerate.jl 5.06% <0.00%> (-2.21%) ⬇️
src/extension_algs.jl 70.83% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@christiangnrd
Copy link
Contributor

Tried to run the Metal benchmark and I'm getting this error:

ERROR: MethodError: no method matching do_factorization(::MetalLUFactorization, ::Matrix{Float32}, ::Vector{Float32}, ::Vector{Float32})

@ChrisRackauckas
Copy link
Member Author

You need to re-instantiate for it to bring in the extension from a PR branch.

benchmarks/cudalu.jl Outdated Show resolved Hide resolved
@ViralBShah
Copy link
Contributor

Why do we need MKL 32-bit?

Co-authored-by: Christian Guinard <[email protected]>
@ChrisRackauckas
Copy link
Member Author

GPU comparison, Neural ODE training, mixed precision algorithms, etc.

@ChrisRackauckas ChrisRackauckas merged commit 3881230 into main Aug 10, 2023
13 of 17 checks passed
@ChrisRackauckas ChrisRackauckas deleted the metal branch August 10, 2023 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants