Skip to content

Commit

Permalink
Remove docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Mar 4, 2025
1 parent e1ac592 commit 7721be6
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions src/implementation/strided.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,10 @@ end
# Force strided implementation on AbstractArray instances with Strided backend
#-------------------------------------------------------------------------------------------

# we normalize the parent types here to avoid too many specializations
# this is allowed because we never return `parent(SV)`, so we can safely wrap anything
# that represents the same data
"""
wrap_stridedview(A::AbstractArray)
Wrap any compatible array into a `StridedView` for the implementation.
Additionally, we normalize the parent types to avoid having to have too many specializations.
This is allowed because we never return `parent(SV)`, so we can safely wrap anything
that represents the same data.
"""
# Wrap any compatible array into a `StridedView` for the implementation.
# Additionally, we normalize the parent types to avoid having to have too many specializations.
# This is allowed because we never return `parent(SV)`, so we can safely wrap anything
# that represents the same data.
wrap_stridedview(A::AbstractArray) = StridedView(A)
@static if isdefined(Core, :Memory)
# For Arrays: we simply use the memory directly
Expand Down

0 comments on commit 7721be6

Please sign in to comment.