Skip to content

espresso with CUDA unexpected behaviour #4292

Answered by jngrad
stekajack asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

I don't know for sure, but this is probably a relic of how the CUDA interface had to be initialized at the very beginning (during import espressomd), so that GPU algorithms like Stokesian, MMM1D, P3M and electrokinetics could access the device properties and device arrays on-demand, i.e. without having to initialize anything on the device other than the particle data. The GPU code a changed somewhat since 4.1 Perhaps the code is now in a state where GPU process initialization can be deferred until the C++ object of a GPU algorithm is initialized.

I could see two obstacles to such a refactoring: 1) CUDA state initialization can only happen on the head node, but the MPI logic cannot be …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@stekajack
Comment options

@jngrad
Comment options

Answer selected by stekajack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants