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

use AppleAccelerate as default on Mac #354

Closed
vpuri3 opened this issue Aug 7, 2023 · 1 comment
Closed

use AppleAccelerate as default on Mac #354

vpuri3 opened this issue Aug 7, 2023 · 1 comment

Comments

@vpuri3
Copy link
Member

vpuri3 commented Aug 7, 2023

w/o AppleAcceleate

julia> using Metal, BenchmarkTools, LinearAlgebra

julia> N = 512; A = rand(Float32, N, N); B = rand(Float32, N, N); C = rand(Float32, N, N); @btime mul!($C, $A, $B);
  904.208 μs (0 allocations: 0 bytes)

with AppleAcceleate

julia> using Metal, BenchmarkTools, LinearAlgebra, AppleAccelerate

julia> N = 512; A = rand(Float32, N, N); B = rand(Float32, N, N); C = rand(Float32, N, N); @btime mul!($C, $A, $B);
  189.125 μs (0 allocations: 0 bytes)

discussion: https://julialang.slack.com/archives/C689Y34LE/p1691412094284679
cc: @ViralBShah @oscardssmith

@ViralBShah
Copy link
Contributor

#355

@vpuri3 vpuri3 closed this as completed Aug 8, 2023
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

No branches or pull requests

2 participants