don't use polling with new driver
authorSzilard Pall <pszilard@cbr.su.se>
Fri, 11 Jan 2013 06:11:55 +0000 (07:11 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 17 Jan 2013 00:32:23 +0000 (01:32 +0100)
commit84597ae7b9790f509ddaab5bc9e644fb581ba2dc
treec520180e4ca593d1af96130b1c20b0b0223839a9
parent088230a4a65a6c6f484a427cc2d52c4e5f33cfa2
don't use polling with new driver

With the 304.xx (API v5.0) drivers the cudaStreamSynchronize overhead
has been substantially reduced, so with these there is no need to switch
to polling. Additionally, with GPUs oversubscribed the polling has been
shown to be unstable, so this case is now detected and switch to polling
is not done.

Also corrected some warning/note printing layout.

Change-Id: I32a7ecda42de31f825a6341c81f04ca0b97c0d4a
include/types/hw_info.h
src/gmxlib/gmx_detect_hardware.c
src/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.cu