Skip to content

Debug UniformGrid class capture in lambda#320

Merged
jacobmerson merged 2 commits into
SCOREC:developfrom
Sichao25:yus/debug
Jun 25, 2026
Merged

Debug UniformGrid class capture in lambda#320
jacobmerson merged 2 commits into
SCOREC:developfrom
Sichao25:yus/debug

Conversation

@Sichao25

Copy link
Copy Markdown
Contributor

In certain config (In my case, gcc/12.4.0, cuda/12.1.1, Kokkos/4.6.01), Kokkos parallel dispatch fails to capture UniformGrid members correctly, even when using KOKKOS_CLASS_LAMBDA. This has been fixed by using explicit copies. Additionaly, UniformGridSpline evaluator has been updated to use device coordinates.

@Sichao25 Sichao25 marked this pull request as ready for review June 18, 2026 16:01
@jacobmerson jacobmerson merged commit 3386366 into SCOREC:develop Jun 25, 2026
8 checks passed
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