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

Trq/gpu multicopy #73

Merged
merged 10 commits into from
Mar 1, 2024
Merged

Trq/gpu multicopy #73

merged 10 commits into from
Mar 1, 2024

Conversation

trquinn
Copy link
Member

@trquinn trquinn commented Jul 4, 2020

Make the local data transfer to GPU faster by using multiple threads to copy the data into the buffer.hh

@trquinn trquinn marked this pull request as draft July 4, 2020 05:14
@trquinn trquinn marked this pull request as ready for review February 1, 2024 21:11
DataManager.h Outdated Show resolved Hide resolved
DataManager.h Outdated Show resolved Hide resolved
DataManager::serializeRemoteChunk(): change name of parameter to avoid confusion with a local variable

DataManager: Delete unused localParticles attribute

Clean up/add documentation

Some whitespace cleanup
@trquinn
Copy link
Member Author

trquinn commented Feb 8, 2024

N.B. My last commit was only tested on my laptop. It needs to be tested on an actual GPU.

@trquinn trquinn requested a review from spencerw February 8, 2024 20:23
@spencerw
Copy link
Member

spencerw commented Feb 8, 2024

I'm realizing that all of the tests I've run so far have been with -DHAPI_TRACE enabled. Currently, this fails to build unless that flag is enabled. The CI doesn't catch this since it only does a non-cuda build.

On a related note, I'm finding that 'testenergy' fails if HAPI_TRACE is disabled. I tried out a few different commits, and this issue extends at least back to the beginning of September before we started the project. I've only tried this on Frontera, so far, and it appears as if it might be specific to the SMP build (non-SMP works OK).

Copy link
Member

@spencerw spencerw left a comment

Choose a reason for hiding this comment

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

Missing #ifdef HAPI_TRACE

DataManager.cpp Show resolved Hide resolved
Also deleted a superfluous CmiWallTimer() call.
@trquinn trquinn merged commit 2ff770b into master Mar 1, 2024
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.

None yet

2 participants