Avoid CUDA PME unspecified launch failures 73/4673/1
authorJim Phillips <jim@ks.uiuc.edu>
Tue, 9 Oct 2018 19:58:07 +0000 (14:58 -0500)
committerJim Phillips <jim@ks.uiuc.edu>
Tue, 9 Oct 2018 19:58:07 +0000 (14:58 -0500)
commitc5509570582d4c55dcea7a06c1cbde4550be2ae9
tree0959fe8565e3707bb3a49444f386d0d8edb12aea
parent700a971476daf3b62a38830ee18b94ab5574e2b9
Avoid CUDA PME unspecified launch failures

Adding an cudaEventSynchronize() call seems to make random
unspecified launch failures in cuda_check_pme_forces go away.
Also increased detail of error message in case it comes back.

Change-Id: Iafa66934d2c8425e303937b319d629794b055aa3
src/ComputePme.C