Enable GPU Peer Access in GPU Utilities
authorAlan Gray <alang@nvidia.com>
Wed, 4 Sep 2019 12:41:21 +0000 (05:41 -0700)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 23 Oct 2019 06:47:15 +0000 (08:47 +0200)
commit643e75dac184951c31035261a488f0eef14a9b36
treebf19cc5bc71aa41b4927a8f586508a6c8db0e36c
parente64f1bea41f21e87dbcc2b5f82cdd177d22789f9
Enable GPU Peer Access in GPU Utilities

When using the new GPU communication features, enabling peer access
between pairs of GPUs (where supported) will allow peer-to-peer
communications. In this patch the CUDA code to enable peer access is
introduced into central GPU utilities and called from do_md.

Implements #3087

Change-Id: If668366b76d49f7b624eedb501f8af19135c4386
src/gromacs/gpu_utils/gpu_utils.cu
src/gromacs/gpu_utils/gpu_utils.h
src/gromacs/mdrun/runner.cpp