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

Scalar indexing on GPU arrays in elements initialization #118

Open
huiyuxie opened this issue Jan 18, 2025 · 0 comments
Open

Scalar indexing on GPU arrays in elements initialization #118

huiyuxie opened this issue Jan 18, 2025 · 0 comments
Assignees
Labels
scalar indexing GPU array scalar indexing

Comments

@huiyuxie
Copy link
Member

This issue was found in #117, where the scalar indexing on GPUs happens in the function init_elements when we try to cache data on GPUs.

This issue can be resolved by create a struct for LobattoLegendreBasisGPU to gain finer control of data types within the struct. (i.e., In this way, we can keep the nodes on CPUs, instead of forcing it to be on GPUs like other arrays.)

@huiyuxie huiyuxie added the scalar indexing GPU array scalar indexing label Jan 18, 2025
@huiyuxie huiyuxie self-assigned this Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scalar indexing GPU array scalar indexing
Projects
None yet
Development

No branches or pull requests

1 participant