Open avik-pal opened 2 months ago
SparseArrays can be moved to an extension, it was introduced in https://github.com/JuliaGPU/KernelAbstractions.jl/pull/269
StaticArrays is going to be much harder. We need a reliable implementation of a stack allocated array and StaticArrays is the closest thing we got and this is core functionality.
I will get the first part done then, since it is a sizeable part of the load time
For StaticArrays could we do the following: (once a breaking release is being tagged)
StaticArraysCore
for the MArray
type.StaticArrays
manually.
On 1.11 these are the 2 packages adding to the bulk of load times. From the code, I could see
StaticArrays
being used for CPU shared memory implementation. Not sure where SparseArrays are being used exactly. Is there a way we can move these 2 dependencies to extensions?I can create a PR, but I need some help in figuring out where these packages are being used :sweat_smile: (and if at all this change is welcome)