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

Add workaround for properties support #45

Merged
merged 17 commits into from
Dec 23, 2024
Merged

Add workaround for properties support #45

merged 17 commits into from
Dec 23, 2024

Conversation

omlins
Copy link
Owner

@omlins omlins commented Dec 11, 2024

No description provided.

@omlins omlins changed the title Add workaround to support properties Add workaround for properties support Dec 11, 2024
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 64.40678% with 21 lines in your changes missing coverage. Please review.

Project coverage is 75.00%. Comparing base (b5191c6) to head (3d0f0b1).
Report is 24 commits behind head on main.

Files with missing lines Patch % Lines
src/CellArray.jl 64.40% 21 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #45      +/-   ##
==========================================
+ Coverage   74.38%   75.00%   +0.61%     
==========================================
  Files           3        3              
  Lines         121      148      +27     
==========================================
+ Hits           90      111      +21     
- Misses         31       37       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@omlins omlins merged commit 3d7b979 into main Dec 23, 2024
5 checks passed
@omlins omlins deleted the properties branch December 23, 2024 21:00
CPUCellArray{T}(::UndefInitializer, dims::NTuple{N,Int}) where {T<:Cell,N} = CPUCellArray{T,B0}(undef, dims)
CPUCellArray{T}(::UndefInitializer, dims::Vararg{Int, N}) where {T<:Cell,N} = CPUCellArray{T}(undef, dims)

CPUCellArray(A::CellArray{T,N,B,T_array}) where {T,N,B,T_array} = CellArray{T,N,B}(Array(A.data), A.dims)

Choose a reason for hiding this comment

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

May be wrong here, but doesn't A.data need to be transposed if its a GPU array?

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