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

refactor: move StdLibs into extensions #508

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Conversation

avik-pal
Copy link
Contributor

julia> @time_imports using KernelAbstractions
     10.1 ms  UnsafeAtomics
      6.6 ms  Atomix
      0.7 ms  StaticArraysCore
    169.4 ms  StaticArrays
      0.4 ms  Adapt
      0.2 ms  AdaptStaticArraysExt
      1.9 ms  CEnum
      0.2 ms  LazyArtifacts
               ┌ 1.5 ms LLVMExtra_jll.__init__() 
    100.0 ms  LLVMExtra_jll 97.66% compilation time
               ┌ 0.2 ms LLVM.__init__() 
     30.7 ms  LLVM
      2.8 ms  UnsafeAtomicsLLVM
     12.1 ms  KernelAbstractions
      0.2 ms  StaticArrays  StaticArraysStatisticsExt

Moves both LinearAlgebra and SparseArrays into extensions. Saves around 250ms in load times (see #506)

@vchuravy vchuravy merged commit ae038d8 into JuliaGPU:main Aug 22, 2024
20 of 45 checks passed
@vchuravy
Copy link
Member

Ah shoot. Shouldn't have merged this. This breaks users prior to the introduction of package extensions.

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.

2 participants