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 support for Metal arrays with MtlCellArray #40

Merged
merged 9 commits into from
Oct 14, 2024
Merged

Conversation

GiackAloZ
Copy link
Contributor

This PR adds support for Metal arrays in CellArray.jl, introducing the type MtlCellArray similarly to other GPUArrays.jl compatible backends.

Copy link
Owner

@omlins omlins left a comment

Choose a reason for hiding this comment

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

@albert-de-montserrat could you integrate the changes you did in your PR that didnt fully work unfortunately in the tests concerning the float type?

test/test_CellArray.jl Outdated Show resolved Hide resolved
test/test_CellArray.jl Outdated Show resolved Hide resolved
@GiackAloZ
Copy link
Contributor Author

@omlins requested changes in tests have been implemented, requesting another review.

@GiackAloZ GiackAloZ requested a review from omlins October 14, 2024 08:27
Copy link
Owner

@omlins omlins left a comment

Choose a reason for hiding this comment

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

There are a few stale things from your first version

test/test_CellArray.jl Outdated Show resolved Hide resolved
test/test_CellArray.jl Outdated Show resolved Hide resolved
test/test_CellArray.jl Outdated Show resolved Hide resolved
@GiackAloZ
Copy link
Contributor Author

There are a few stale things from your first version

Nice catch! Should be fixed now.

@GiackAloZ GiackAloZ requested a review from omlins October 14, 2024 12:54
Copy link
Owner

@omlins omlins left a comment

Choose a reason for hiding this comment

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

LGTM

@omlins omlins merged commit a0d9272 into omlins:main Oct 14, 2024
3 checks passed
@omlins
Copy link
Owner

omlins commented Oct 14, 2024

Thanks @GiackAloZ and @albert-de-montserrat !

@omlins
Copy link
Owner

omlins commented Oct 15, 2024

The CI fails for Windows and MacOS:
JuliaGPU/Metal.jl#457
JuliaGPU/Metal.jl#458

Merged nevertheless into main.

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