Fix GPU X buffer ops with empty domain
commit70c4ca61adf458a2c9e8be0d5a35a982964af9f2
authorSzilárd Páll <pall.szilard@gmail.com>
Fri, 13 Sep 2019 01:28:44 +0000 (13 03:28 +0200)
committerSzilárd Páll <pall.szilard@gmail.com>
Fri, 13 Sep 2019 02:30:35 +0000 (13 04:30 +0200)
tree6987ab39d6217ce93f356d974949d348d04e1bf2
parent2340b587c217609764c899f3a24d6256d13654ca
Fix GPU X buffer ops with empty domain

The early return that ensured no kernel gets launched with empty domain
got dropped with recent refactoring. This change adds back the
conditional and fixes assertion errors triggered with empty domains.

Change-Id: I508fdc2179877080dec512695e96310b52698b81
src/gromacs/nbnxm/cuda/nbnxm_cuda.cu