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

Danielquickadds #109

Merged
merged 4 commits into from
Feb 10, 2025
Merged

Danielquickadds #109

merged 4 commits into from
Feb 10, 2025

Conversation

djdunning
Copy link
Collaborator

Added a DualRaggedRightKokkos type and locks on relevant (basic) Dual types to prevent function pointer copies.

@Adrian-Diaz
Copy link
Collaborator

If the lock simply leads to update doing nothing, won't the person calling that on a locked type just get a segfault later anyway if they're operating as usual attempting to use that data?

@djdunning
Copy link
Collaborator Author

that's a good point. maybe it should also force the access of one of the device pointer always?

@djdunning djdunning merged commit 4bb06e6 into main Feb 10, 2025
2 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