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

Support @view for DestructuredArgs in SymbolicUtils.Code for CuArray Compatibility #698

Open
chooron opened this issue Feb 3, 2025 · 0 comments

Comments

@chooron
Copy link

chooron commented Feb 3, 2025

Hello, I would like to use the functions generated by SymbolicUtils.Code for CuArray computations, but due to a limitation in CUDA.jl, scalar index operations are not allowed. However, @view can be used. In the functions generated by SymbolicUtils.Code, the DestructuredArgs type is used to accept function arguments and assign values. During this assignment process, the data is directly extracted using indexing rather than with @view, which makes it incompatible with CuArray computations. Therefore, I would like to add an option to extract the values of DestructuredArgs using @view in order to make it work with CuArray.

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

No branches or pull requests

1 participant