Skip to content

fix: generate array view#3115

Merged
jpivarski merged 15 commits into
mainfrom
ianna/3105-typing-akarray-for-numbacudajit-signature
May 21, 2024
Merged

fix: generate array view#3115
jpivarski merged 15 commits into
mainfrom
ianna/3105-typing-akarray-for-numbacudajit-signature

Conversation

@ianna

@ianna ianna commented May 13, 2024

Copy link
Copy Markdown
Member

fixes #3105

@ianna ianna linked an issue May 13, 2024 that may be closed by this pull request

@ianna ianna left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@jpivarski - I think, this is fixes the issue. However, now I'm thinking what if the numba_type of the array does not match the numba type of the kernel?

Comment thread src/awkward/_connect/numba/arrayview_cuda.py Outdated

@jpivarski jpivarski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me! You can merge when ready.

Comment thread src/awkward/_connect/numba/arrayview_cuda.py Outdated

@ianna ianna left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@jpivarski - it's strange that the CPU tests on Mac are segfaulting. I'll check it locally.

@ianna

ianna commented May 21, 2024

Copy link
Copy Markdown
Member Author

@jpivarski - all the tests pass. Shall I merge it? Thanks.

@jpivarski

Copy link
Copy Markdown
Member

Yes! In fact, I can do it, since you've just signed-off on it.

@jpivarski
jpivarski merged commit a096f3d into main May 21, 2024
@jpivarski
jpivarski deleted the ianna/3105-typing-akarray-for-numbacudajit-signature branch May 21, 2024 04:06
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.

typing ak.Array for numba.cuda.jit signature

2 participants