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

Pr/fix cuda warnings #274

Merged
merged 7 commits into from
Aug 30, 2023
Merged

Pr/fix cuda warnings #274

merged 7 commits into from
Aug 30, 2023

Conversation

bd4
Copy link
Contributor

@bd4 bd4 commented Aug 7, 2023

No description provided.

@bd4 bd4 requested a review from germasch August 7, 2023 18:07
@bd4 bd4 mentioned this pull request Aug 9, 2023
@bd4
Copy link
Contributor Author

bd4 commented Aug 10, 2023

This potentially breaks PSC: https://github.com/psc-code/psc/blob/main/src/include/psc_fields_cuda.h#L189

I am not sure how this is working in PSC though - the array version of adapt does a std::copy, which I do not expect to work. I think this could easily be replaced by positional argument version, which I believe is device safe.

@bd4 bd4 mentioned this pull request Aug 10, 2023
Copy link
Contributor

@germasch germasch left a comment

Choose a reason for hiding this comment

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

I guess if it breaks PSC, I'll deal with it...

@bd4 bd4 merged commit f5f86af into wdmapp:main Aug 30, 2023
18 checks passed
@bd4 bd4 deleted the pr/fix-cuda-warnings branch August 30, 2023 14:15
@bd4
Copy link
Contributor Author

bd4 commented Aug 30, 2023

I guess if it breaks PSC, I'll deal with it...

The PR I submitted against PSC should fix it, just changes which adapt call it uses to the device safe one.

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